Recent Entries for March

By Date

March 2010
2 Entries
February 2010
4 Entries
January 2010
4 Entries
December 2009
2 Entries
November 2009
2 Entries
October 2009
2 Entries
September 2009
2 Entries
August 2009
2 Entries
July 2009
1 Entry
June 2009
4 Entries
May 2009
4 Entries
April 2009
1 Entry
March 2009
1 Entry
February 2009
2 Entries
January 2009
3 Entries
December 2008
2 Entries
November 2008
2 Entries
October 2008
3 Entries

Building The Bookcase

Last month I happened upon a website that had a book section which reminded me of when I first launched my site. However during University my casual reading had to take a backseat and in one of my questionable decisions I decided to remove my booklist in favour of other services such as Readernaut.

For a few days after I visited the aforementioned site I could think about nothing else than bringing my bookshelf back to life and I have decided that it’s time to relaunch the bookshelf with all of the books I have found useful in learning web design and design in general.

Why have I brought it back?

It’s all well and good utilising other services such as Readernaut and Shelfari but I like to be able to have more control. Another reason I decided to bring it back is due to the amount of traffic that it used to generate, and the fact that I have now been able to get back into my reading since leaving Uni.

The bookshelfs appearance

Due to the sheer number of books that are on the page I’ve decided to incorporate a navigational filter that will only display books tagged under the category that you have clicked on the navigation. The sections in the navigation are; design, development, layout, motivational and typography.

Any questions?

If you need to ask any questions about the literature listed on my bookshelf then feel free to send me an email and I’ll be more than happy to get back to you. All I ask in return is that if you do decide to purchase the book, after asking for an opinion or whatever, you do so by clicking on the image of the book as they have all been linked up to my Amazon affiliate.

Go and have a look, I promise you won’t be disappointed.

Delete Wordpress Post Revisions

Wordpress has a function called post revisions that will save a copy of a post or page every time you press the save draft button, this was introduced to help restore previous versions of posts/pages incase the user makes a mistake. As you can imagine, this can be very handy, one that I am sure we have all used before.

If you haven’t heard of this feature before then scroll down either a page or post, in the back-end, so long as you haven’t reordered any of the elements using the drag and drop feature, then post revisions should be five boxes below the content area.

I know I’m guilty of pressing the save button every couple of minutes due to the various computer crashes I’ve had throughout my life, so I know that I will have a lot of revisions for pages and posts. However, one thing that you may not know about this feature is the huge amount of information/duplicate content that it will add to your database. So how do you get rid of all these revisions?

There are several different ways you can tackle this:

Turn off post revisions

If you do not need this feature you can turn it off by adding the following code to your wp-config.php file define(‘WP_POST_REVISIONS’, false); however I wouldn’t really recommend this as it’s always good practice to have back-ups of your work.

Deleting older revisions

If your a dab hand within the confides of phpMyAdmin then you could execute this query DELETE FROM wp_posts WHERE post_type = “revision”;. This will delete all instances of revision from your database but please take a copy of your database before you go about doing something like this.

Use a plugin

One final option would be to install the Wordpress revision control plugin which gives users more control over the revisions. The plugin allows the user to set a global setting for pages and posts where you can enable, disable and limit the number of revisions which are saved for each page and post.