• Hi!
    Is it possible to use SU in the wordpress menu? I want to use the lightbox shortcode to open a lightbox when clicking a link in the menu. I tried it withe the html option, but it didn’t work.
    Any ideas?

Viewing 1 replies (of 1 total)
  • To accomplish this you’ll need to edit the menu via PHP, not HTML. Try inserting <?php echo do_shortcode(‘[your_shortcode_name]’); ?> into your “Header” file and it should work.

    Just a warning; before you edit your Header I’d look into making a Child Theme for your site so when you have to update the plugins or theme you don’t have to re-edit the code. This also helps keep your site secure.

    Here is a guide to Child Themes: https://premium.wpmudev.org/blog/how-to-create-wordpress-child-theme/

Viewing 1 replies (of 1 total)
  • The topic ‘Use SU in menu?’ is closed to new replies.