Tagged: x
-
AuthorPosts
-
November 22, 2016 at 9:53 am #1266939
dbvParticipantHi,
I’m using different menus depending on if the user is logged in or not.
function my_wp_nav_menu_args( $args = '' ) { if( is_user_logged_in() ) { $args['menu'] = 'logged-in'; } else { $args['menu'] = 'logged-out'; } return $args; } add_filter( 'wp_nav_menu_args', 'my_wp_nav_menu_args' );My problem is that the homepage (with an one page design) need to be able to display both the logged in menu and the one page menu with anchors links for the sections. The logged out menu contains anchor links (about, contact etc.) + LOG IN + REGISTER. The logged in menu only contains HOME and the member pages.
Is it possible to have an third, specific “logged in and visiting the home page”-menu which could still include the anchors links AND member pages?!
LOGGED OUT ON HOMEPAGE – ONE PAGE MENU W. ANCHORS + LOGIN/REGISTER
LOGGED IN ON HOMEPAGE – ONE PAGE MENU W. ANCHORS + MEMBER PAGES
LOGGED IN ON MEMBER PAGES – HOME + MEMBER PAGESNovember 22, 2016 at 11:02 am #1267041
RupokMemberHey there,
Thanks for writing in! Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.
Thank you for your understanding.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1266939 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
