Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Hide Secondary Menu

Home / Forums / Virtue Theme / Hide Secondary Menu

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
December 2, 2017 at 11:58 am

I’m building a membership (Wishlist Member) site with my theme. And I want to create a secondary menu just for my members (Dashboard home, Webinar, Forum, etc). But I don’t want the menu to be displayed on my home page or any of my sales pages.

Is there a way to just hide that secondary menu on certain pages?

I found an old post on here where you can put the secondary menu only on certain pages:

#nav-second {
display:none;
}
.page-id-577 #nav-second {
display:block;
}

Where page/post 577 is where the secondary menu would be displayed.

But anytime I add a blog post or a new page I will have to change the code (which will be several times a week). So is there a way to do this the other way?

Thanks in advance!
Kris 🙂

  • The forum ‘Virtue Theme’ is closed to new topics and replies.