##################################### #an ordinary theme - WordPress theme# ##################################### Theme Name: an ordinary theme Theme URI: http://www.blog.ordinary.ch/?page_id=269 Version: 1.9 Description: A simple one-column theme with two corresponding random pictures in the header and a suckertree navigation thereunder. Partly widget ready. Please read the readme.txt file Author: Fabian Schmid Author URI: http://www.blog.ordinary.ch/ Tags: one-column, fixed-width, white, black, light IMPORTANT NOTICE **************** To correctly display the category dropdown, you have to change the WordPress core file wp-includes/classes.php. In the classes.php find the following function: function start_el(&$output, $category, $depth, $args) Inside that function find $link .= $cat_name . ''; And change it to $link .= $cat_name; This removes the closing to the tag and will allow the post count to be part of the link. But of course the links aren’t closed so we have to add that closing tag to the following bit of code found in the same function: Find this if ( isset($show_count) && $show_count ) $link .= ' (' . intval($category->count) . ')'; and add the at the end - as you can see here if ( isset($show_count) && $show_count ) $link .= ' (' . intval($category->count) . ')'; This instruction is from http://www.erroronline1.com/2008/08/17/cat-show_count-in-href/ An alternative option is to take a pass on the category count. If you want to do this, open the sidebar.php file which is in the theme directory. Find the following wp_list_cats('optioncount=1'); and replace it with this one wp_list_cats('optioncount=0'); The category dropdown is now displayed correctly as well, however without the number of posts in each category in brackets. Some information **************** * For changing the number of header pictures, go to the randombanner.php file in the theme directory and edit the second digit in line 3 * For removing or adding a navigation item go to sidebar.php and remove or add it at the bottom of the file Change log ********** * Version 1.9 () Fixed some tiny imperfections * Version 1.5 (24.01.2009) Added min-height for #contentwrap Added important notice to readme Altered header.php for 404 error page reasons * Version 1.4 (23.01.2009) Altered comments.php for style reasons * Version 1.3 (19.01.2009) Altered footer for copyright reasons Removed non-existent images Adjusted theme tags * Version 1.2 (15.01.2009) Altered style.css for style reasons * Version 1.1 (10.01.2009) Altered style.css for style reasons * Version 1.0 (12.12.2008) Initial version Thank you for using my theme! For questions or feedback, complaint or love letters use blog (at) ordinary.ch