Is there anyway I can use in wp_list_pages in conjuction with an image based navigation menu? (The actual li text is hidden, and replaced with an image)
For the moment, my hand generated nav.php menu looks something like the below. But this means I can’t have current_page_item included for the current page, as you can when using wp_list_pages.
So… is there any way to modify wp_list_pages so that it includes my classes (n-home,n-products, etc) and highlights the current page?
Or is there an easier way to do this?
<li class="n-home"><a href="/home/" title="Home">Home</a></li>
<li class="n-products"><a href="/products/" title="Products">Products</a></li>
- The topic ‘wp_list_pages & custom classes for navigation menu’ is closed to new replies.