Add Scripts and Styles to Specific Admin Pages Only
One very common mistake that is made by WordPress developers is failing to limit the environments in which their scripts are loaded, particularly in the admin section.
Get Page ID by Page Name
This is a wonderful little function was written by Web-Templates.nu, and allows you to find the ID of a page by using its name.
Continue Reading
Set Max Title Length on WordPress Posts
Similar to my earlier snippet that let us set a minimum word count for the post body, this bit of code will allow us to set a maximum word count to the post title.
Continue Reading
Check if Current Page is in Tree
This is a really useful little snippet I found in the WordPress Codex. It allows us to check whether a page is within a specified tree, e.g. whether a page is a certain ID or if it is a subpage of that ID.
Continue Reading
Minimum Word Count for WordPress Posts
If you wish to set a minimum word count for your posts (this can be useful for a variety of things, including maintaining a clean layout), simply add the following snippet to your functions.php file and set the number to whatever you wish.
Continue Reading
Stellar WordPress Portfolio Control with Custom Post / Meta Types
Wordpress 3.0 has introduced a lot of very powerful new features into the theme developer’s toolbox. The most exciting of these is probably the addition of custom post / meta types.
Continue Reading
WordPress CMS Tips and Tricks – Part 3
As in the first two posts of this series, WordPress CMS Tips and WordPress CMS Tips – Part 2, I will be covering a variety of tips and tricks for transforming a regular WordPress installation into a full-blown content management system.
Continue Reading
WordPress CMS Tips – Part 2
This is a continuation of my previous post, WordPress CMS Tips, that is geared towards developers and non-developers alike wishing to utilize WordPress as a Content Management System.
This post will be focusing on useful plugins. Continue Reading









