ddunker
Forum Replies Created
-
Pardon, be sure you don’t get double
?>marks at the end of the inserted code. This means, either remove lines 35 to 62, or don’t paste the?>from the end of my code fragment above.Forum: Fixing WordPress
In reply to: Blix header problem in 2.1See Topic 101812 for a simple solution by using WP 2.x functions instead of bx_functions (which may have been necessary for WP 1.5). This works fine with WP 2.0 and 2.1.
Okay, now this is a working solution for Blix theme in WordPress 2.1, based on jakeanders’ snipplet.
1.
In header.php, replace lines 35 to 61 (as given by jakeanders, beginning with<li<?php if (is_home())and ending with the three}) by following code:
<li<?php if (is_home()) echo " class=\"current_page_item\""; ?>><a href="<?php bloginfo('url')?>"><?php _e('Home'); ?></a></li>
<?php wp_list_pages("title_li=&depth=-1&sort_column=menu_order");?>2.
In spring_flavour.css replace line 81
#navigation .selected,
by
#navigation .current_page_item,This is very much what Jakeanders said, but preserves a permanent home link. Also, I removed a typo in Jakeanders’ code. Note that I followed Jakeanders in including translation for the home link. If your language file has a translation for “Home”, this will be translated. If you want it exactly as in Blix 0.9.1, i.e. without translation, replace
<?php _e('Home'); ?>by the word Home or whatever you want for your home link.Blix is one of the few featured themes from http://wordpress.org/extend/themes/ , so it is no wonder that several people expect it would be fully compatible with WP 2.1, or at least they would get some help to continue using it.
It must be stated that even though it is called a WordPress Featured Theme, it is not fully compatible whith WP 2.1, because some of its special functions in BX_functions.php are not working under 2.1.
Jakeanders’ code snipplet above is no working solution for that issue. Maybe it could become one…