Coding a WordPress theme the other day I realized it would be nice if blank pages had filler content until somebody posted content to the page. This helps to visualize the site and pages better. So if the_content is empty, add filler content..when it is not empty replace the filler content with the real content.
WordPress 3.3 “named ‘Sonny’ in honor of the great jazz saxophonist Sonny Stitt” has just been released. The most noticeable i ...
Here's how to quickly link to the root directory of your WordPress theme with PHP.
If you're using WordPress as a CMS it's a great idea to remove items from the left menu in the admin to clean things up for your client.
Has you iframe been stripped out of WordPress? The TinyMCE editor in WordPress loves to remove iframes. One simple solution for this problem is to use shortcodes to embed the iframe. Here's how.
Don't worry if you run into the following error while installing WordPress on a server: HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory.. , the fix is simple enough.
If you're using WordPress thumbnail images in your theme it's a good idea to set a default, or "backup" option since you don't have or don't want to use a thumbnail on a specific post. Here's how.
If you're working in WordPress you will most likely come across a need to target one specific page with CSS. Since every page in WordPress has a unique ID it's a great idea to dynamically add the page ID to the body tag as a class. This way ...
By default a WordPress excerpt is 55 words long. There may be case where you desire a different length for your excerpt. This is easy enough to change, I'll show you how.
Ever wonder how to replace that cheesy 'Howdy' text that shows up in the WordPress admin? It's actually rather easy to replace, and is one of the main things I do on every WordPress install now.
Ever have the need to post the content from one page onto another page in WordPress? Here's a quick piece of code you can use in your WordPress template to pull the content by page-id and post it onto another page.
A stock install of WordPress gives you some things that your client won't need for their site, and will only confuse them. One of these things is the "Links" Menu in the Admin. If you're creating a simple site with WordPress as a CMS your c ...
Here is a quick piece of code to pull the title from one specific page in a WordPress website and write it on another page.