WordPress CMS modifications
Making WordPress the ultimate CMS!

Archive for April 2010

Most people want some sort of copyright statement at the bottom of their WordPress site and this usually includes the year. It makes sense to create this dynamically in PHP, rather than have to update it each year – let PHP do the work for you!

This is something I had to do the other day, and I pretty much put it on every WordPress theme I design in footer.php

Simply insert this PHP code where you want the copyright notice to appear – in the example it is simply styled with paragraph CSS tags, but you could use anything you want, for instance a CSS class.

<p>Content is copyright &amp;copy; 2008-<?php echo date('Y'); ?> YOUR NAME HERE</p>

· ·

I released version 2 of my WordPress plugin WP-CMS Post Control in March 2010, which was a complete re-write of the original functionality to bring it upto WordPress 2.9 compatibility. You should note that Post Control v2.x is designed to work with WordPress 2.9 and above ONLY, if you are using an older version of WordPress, there is no better time to upgrade!

Since then I have gone through a few point revisions catching bugs and adding the last few parts of the previous versions functionality, which is now complete.

You can always download the latest stable version from http://wordpress.org/extend/plugins/wp-cms-post-control/




WordPress 3.0 in beta

Just a quickie – if you are a WordPress developer you shouldn’t miss out downloading the beta of WordPress 3.0 (if you haven’t been playing with the nightly releases!). It’s a great way to get up-to-speed with the new functionality like custom post types and the new template code ready for when WordPress 3.0 RC1 gets released sometime end of May 2010 (I think).

Remember – this is the beta – I would strongly advise you don’t use this on a live production site (of any importance!) as it is really just for developers and bug hunters! You should only be using beta releases on local or testing servers.