Using page_item and current_page_item to link to index.php
-
I’m looking to use the parameter page_item for a “home” button. At the moment, I use the following:
<li class="page_item"> <a>/" title="Blog">Blog</a> <?php wp_list_pages('title_li=&depth=1');?><
When i click one of the “page buttons” generated from wp_list_pages, it changes the color from black to white, as supposed to. However, the “blog” button which i generate from
<?php echo get_settings('home'); ?>/" title="Blog">Blog
Will not work for me.
Any ideas how to resolve this?
- The topic ‘Using page_item and current_page_item to link to index.php’ is closed to new replies.