Hi Peter,
Sure, using the shortcode you can insert it only on pages you need. You can easily adapt the examples on the below page:
https://responsive.menu/faq/how-do-i-show-different-menus-on-different-pages/
All the best
Thread Starter
pheijn
(@pheijn)
Thanks for your swift reply. I now use the shortcode on all my pages – except the login page – however the menu is not visible for a single post, multiple post (category for example) or search results. How can I solve this?
Regards,
Peter
Hi there,
I can’t answer that question I’m afraid as I don’t know your setup.
Are you placing the shortcode in your header.php file in which case it should be picked up by all your pages or are you adding it in individual template files, in which case you need to ensure it is on all of them.
Your web developer would be the best person to speak to as they will know the architecture of your site better than I ever could.
All the best
Thread Starter
pheijn
(@pheijn)
Thanks for your reply. I have added a code snippet to my header.php file and tried to exclude one page:
<?php if(!is_page(2099)) { ?>
<?php echo do_shortcode(‘[responsive_menu_pro]’); ?>
<?php } ?>
The code snippet works; the hamburger button shows up on all pages except the login page however when I click on the button nothing happens.
Any clues?
Cheers,
Peter
Thread Starter
pheijn
(@pheijn)
Hi,
Solved the issue. I had added the shortcode also to the individual pages. Now the shortcode is only in the header.php and it works!
Cheers,
Peter
Hey there,
Great news and thanks for letting me know!
All the best