Page exclusion from menu – Please help
-
I’m still fairly new to customizing wp sites, and I haven’t come across this problem before. I have a static page specified as the home page, but the menu displays the page both as the Home page and as its page title, so it’s a duplicate.
In an attempt to fix, using the exclude line from the codex, I changed this line in the header.php:
<?php wp_list_pages(‘title_li=&depth=1’); ?
to:
<?php wp_list_pages(‘ exclude=2, title_li=&depth=1’); ?
It works to exclude the page but now my menu looks funky, and it says “Pages” at the top now.
The theme is Elegant Grunge, and the link to the page is https://jimmartinphoto.com/wordpress/ if you want to see what it’s doing now.
Any suggestions would be appreciated. I’m definitely not a php expert.
Thanks,
Julie
- The topic ‘Page exclusion from menu – Please help’ is closed to new replies.