Friday, 9 September 2011

Photos-For-You.com update (22 of 1373 or so..)

It was a bit rubbish that on the home page, all categories were shown e.g. you would get Albert Clock, Albert Clock Black & White Film, Albert Clock - Sepia listed one after the other.

So how to show only the posts from the 'Colour Photos' category as default?

Solution found at

http://wordpress.org/support/topic/how-to-show-only-one-category-on-front-page

Of course, as default in Wordpress Admin, there seems to be no way of actually seeing what the category number is, so this required yet another plugin :-

http://www.schloebe.de/wordpress/reveal-ids-for-wp-admin-25-plugin/

Just so I could see which category number I needed to specify in the code.

Once I found that out it was just a very simple modification of /wp-content/themes/twentyeleven/index.php

Thanks to all who contributed information and the plugin above!

Time taken - approx 30 minutes.

0 comments:

Post a Comment