• I’m trying to do a landing page, all I have done is that i duplicated the website’s home page and modified it to fit the purpose. However, I can not figure out how to delete the navigation bar from that page, i have spent a whole day researching, a lot of people suggested changing something in the code.

    i’m really new to coding and wordpress, i can’t find the piece of code that i need to change when i followed a instruction to go to my Dashboard – Themes – Add new theme (just found a random theme), then i went to Appearance – Editor, copied everything from the previous theme and pasted it onto the new one that i found, changed the name of the them to (no navigation), but when i searched “nav”, i cannot find anywhere that i can add the code to, plus i don’t really understand the code that i found so I’m really confused. Is there anyway i can do that?

Viewing 1 replies (of 1 total)
  • Your custom page template likely has a ‘get_header ()’ line near the top, and that line would need to call a custom header file with the NavBar removed. To do that, make a copy of header.php and name that copy header-nonav.php, then remove its NavBar code and make the above call in you custom page template look like this: ‘get_header (‘nonav’)’.

Viewing 1 replies (of 1 total)
  • The topic ‘How can I remove the navigation bar from certain pages?’ is closed to new replies.