Theme Name: an ordinary theme Theme URI: http://www.blog.ordinary.ch/?page_id=269 Description: A simple theme with two corresponding random pictures in the header and a suckertree navigation thereunder. Optionally one or two columns. Two color schemes available. Widget ready. Please read the readme.txt file. Author: Fabian Schmid Author URI: http://www.blog.ordinary.ch/ Version: 2.7.2 Tags: black, white, light, one-column, two-columns, fixed-width, custom-header, custom-background, translation-ready, microformats, rtl-language-support, editor-style License: GNU GENERAL PUBLIC LICENSE License URI: Thank you for using my theme! For questions or feedback, complaint or love letters use blog (at) ordinary.ch Installation ************ Unzip the theme directory and upload it to wp-content/themes/ in your WordPress directory. Choose the theme in the administration terminal of WordPress. Customize the theme to your wishes. That's it! Change log ********** * Version 2.7.2 (20.12.2010) Revised code structure Fixed header image error * Version 2.7.1 (20.12.2010) Revised code structure Adjusted code to WP theme requirements Code cosmetics * Version 2.7 (15.12.2010) Added setting to change the header images path Added setting to display the number of posts for archives Code cosmetics * Version 2.6 (22.12.2009) Code cosmetics * Version 2.5 (02.07.2009) Removed duplicate comment form in single view Ordered attributes in Stylesheet alphabetically Removed alt attribute for links in footer due to xhtml validity * Version 2.4 (28.06.2009) Added WP styles for wrapping text around images (http://codex.wordpress.org/Wrapping_Text_Around_Images) Fixed display errors in two columns view concerning the comments template * Version 2.3 (24.04.2009) Fixed search engine problems Fixed navigation problems in IE<7 Reduced margins and paddings for ul and ol in entries Stylesheet cosmetics * Version 2.2 (08.04.2009) Corrected category bug in sidebar Corrected some typing errors Added theme name and version to the footer * Version 2.1 (07.04.2009) Added a couple of settings to the admin panel Improved the html and css structure Reorganized the file structure * Version 2.0 (16.03.2009) Improved the html structure * Version 1.9 (13.03.2009) Fixed some tiny imperfections * Version 1.8 (12.02.2009) Increased the font size in entries Altered the font family in entries Added some additional font family stlyes if default font isn't available Lit the 'add comment' button * Version 1.7 (05.02.2009) Removed the border for image links Altered index.php, single.php and search.php for code cosmetics * Version 1.6 (29.01.2009) Removed the post counting for each category in brackets due to necessary changes in wp core files Added an instruction for readding the post counting for categories in brackets Lit the alternating comments background color * Version 1.5 (24.01.2009) Added min-height for overall div #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 Necessary changes in WP core files for displaying the number of posts for categories ************************************************************************************ If in admin panel you set the setting 'Display the number of posts in brackets for each category' to 'Yes' you have to do the following steps: - Find the WordPress core file wp-includes/classes.php and open it with an editor - Find the following line in the file: $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 as a matter of that the links aren’t closed now. That's why we have to add the closing tag to somewhere else. - Find this part of code: if ( isset($show_count) && $show_count ) - And in the line just below it add the at the end - as you can see here $link .= ' (' . intval($category->count) . ')'; That's it! Remember to do this every time you update your WordPress core! ************************************************************************************ Necessary changes in WP core files for displaying the number of posts for archives ********************************************************************************** If in admin panel you set the setting 'Display the number of posts in brackets for archives' to 'Yes' you have to do the following steps: - Find the WordPress core file wp-includes/general-template.php and open it with an editor - Search the following line of code. It occurs twice. $after = ' ('.$arcresult->posts.')' . $afterafter; - Now change it (in both occurrences) to: $text .= ' ('.$arcresult->posts.')' . $afterafter; That's it! Remember to do this every time you update your WordPress core! ********************************************************************************** Thanks to... * the whole WordPress team for the great job they do * the script dhtml, javascript and css library http://www.dynamicdrive.com/ for the suckertree menu on which this theme's menu is based on * Jeremy Clark for the WordPress Theme Options Framework, released here: http://clark-technet.com/2008/09/wordpress-theme-options-framework