How can I display a menu on certain pages only?

Posted by Prem Tiwari | Updated on

That’s a nice option, but I agree with sri, right now it really depends on your theme. You can do a work-around through is_page(). You need to write something like this on your page.php theme file:

If you want to show the sidebar on other pages as well, you can use logic or like this:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers