Posted 28 September 2012 - 12:53 AM
I want to display a menu on all pages except those based on a certain template. Here's what I'm trying, but it's still showing the menu.
Thanks for helping out,
Posted 28 September 2012 - 08:18 AM
I think the best course of action would be to ask this question on the Wordpress support forums. This is more of a Wordpress related issue than a PageLines one.
Posted 28 September 2012 - 12:33 PM
if ( is_page_template('pagelines/page.epsilon.php')
Posted 28 September 2012 - 09:05 PM
As you know, we've provided quite a bit of support on this via LIVE, however, it is essentially a customization issue and I'm going to refer you to our Pros section. One of them might be able to help you with this, but it's so complex that neither the forum or LIVE are the proper places to get the right answers.
Posted 30 September 2012 - 05:42 PM
if ( ! is_page(array(356,681,58,533)) )
wp_nav_menu( array('menu' => 'Main Menu' , menu_class => 'sf-menu'));
Someone else may find this useful more generically with the hooks to apply add actions to only certain pages.