Posted 15 March 2013 - 04:11 AM
I'm using wp-members for my site with Pagelines Lite and want to know how to hide menu items so that they only display for logged in members?
Posted 15 March 2013 - 04:44 AM
Hi there, that's something that the wp members plugin will do for you. Looking at their support docs it seems like you can do this in the edit page screen by selecting true/false into a custom field. Please see the wp members faq at http://rocketgeek.co...ers-guide/faqs/ there's a section on blocking content/pages about 4 entries down.
Posted 15 March 2013 - 11:53 AM
I've got the content and posts protected thank... it's the menus only. They are suggesting two menus, one for visitors and one for members
the code they suggest to edit/replace in the header.php file specifically is:
<?php wp_nav_menu( array( 'container_class' =>; 'menu-header', 'theme_location' => 'primary' ) ); ?>
which doesn't even exist in the pagelines header.php
So I'm stuck. I was wondering if there was an easier way to do it?
Edited by mysmallbizu, 15 March 2013 - 12:03 PM.
Posted 15 March 2013 - 01:56 PM
That seems to work correctly. Thanks I didn't see that plugin