Help for Dynamic_Menu_Highlighting in Almodovar-Template
-
Hello,
I’m using the Almodovar-Template. In this template the page-menu is dynamicly made by the ‘wp_list_pages’ function in the ‘header.php’.
The menu is ok but I want the current page be highlighted in the menu.
In the css-stylesheet I included the following section://#navlist a:link#current, #navlist a:visited#current{
// color: #000;
// background-color: #BCE1E4;
// text-decoration: none;
// }But there is nothing highlighted.
I already found an article in the codex at http://codex.wordpress.org/Dynamic_Menu_Highlighting about this but it seems not the same to me because my menu is made dynamicly by the ‘wp_list_pages’ function.Anyone knows how to do this?
This is the code in my header.php:
// <div id=”navcontainer”>
// <ul id=”navlist”>
// <?php wp_list_pages(‘exclude=8&sort_column=menu_order&title_li= ‘); ?>
//
// </div>Thanks in advance,
grassu
The topic ‘Help for Dynamic_Menu_Highlighting in Almodovar-Template’ is closed to new replies.