Adding a non-Page item to a header
-
I’m tweaking the Andreas09 theme for my web site — https://www.heatherandchopper.com — and have been very happy with the results. One thing has stumped me though. I am integrating Gallery into my WP site and want to add a Gallery link to my header. I’ve currently got this code in my header.php file:
<div id=”navigation”>
-
<li class=”selected”>>Home
<?php wp_list_pages(‘sort_column=menu_order&depth=1&title_li=’); ?></div>
So, what I want to do is add another item called “Gallery” to that with the same formatting as the Page items. I can add it as a line item to the existing list but I don’t get the same formatting. So, I’m assuming this is a CSS issue, which is totally new to me. Any advice?
Thanks!
Heather
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Adding a non-Page item to a header’ is closed to new replies.