Sponsor
Blogroll
Meta
Category Archives: Wordpress
Removing first image from the_content
I recently had a client want to put the_title below the first image. Without making it to complicated by adding custom fields or anything like that. I thought that I could grab the first image from the content with catch_that_image … Continue reading
Add Custom Field to Register Form
this is gonna be a quick one, cause I need to finish website. But I got this working today. This is for function.php file or in a plugin will work. This will add two forms to the register page in … Continue reading
Posted in Wordpress
24 Comments
Why Include a Logout Button?
So I am making a site where users can create an account on this site. It is not an important site where multiple users are going to be using the site, where there is a need for a logout button. … Continue reading
Check If Logged in WordPress
I put this file just below the header.php in my themes for sites that require the user to be logged in to do anything <?php if (is_user_logged_in()){ echo “Welcome, registered user!”; } else { echo “Welcome, visitor!”; }; ?>
Posted in Wordpress
Leave a comment
Page Last Edited By….
I wanted to show when a post was last edited and who it was last edited by. If there s a function for this, I don’t know, but I found this on the wordpress forums and it works great. <?php … Continue reading
Posted in PHP, Wordpress
Leave a comment
Putting the_content into PHP
With this code you have the ability to remove images or remove the text and only show the images, or a flash embed code, with preg replace or however you want to. <?php $content = get_the_content() ?> Below will remove … Continue reading
Posted in PHP, Wordpress
Leave a comment
When Upgrading WordPress Always Backup
This happened to me today, And thank the gods I randomly had a backup of the custom theme folder. I had updated some function calls to make it load a bit faster, and I lost those when I decided to … Continue reading
Custom Page Templates Not Showing Up In WordPress
I litterally created a new template for an internal project today and it wasn’t showing up on the template drop down menu. It was freaking me out, I spent a good five minutes trouble shooting it by: Making a new … Continue reading
Posted in Wordpress
Tagged custom, custom pages, custom templates, how to, templates, Wordpress
Leave a comment
Custom Templates
Creating custom templates for pages is what makes wordpress extremely valuable. That is wordpress’s hidden secret that makes it so important for a blogging and CMS platform. I use wordpress custom templates in every wordpress site that I make. To … Continue reading
Idea; Use WordPress as RSVP System
So I had a friend who was looking for a simple to use RSVP system. I spent half today looking into ways to use custom fields as a way to track names and emails. Thats a good way if you … Continue reading →