Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gagan Deep Singh

    (@gagan0123)

    We’re using description field to store the shortcode for Shortcode in Menus plugin, here’s a screencast about to get it displayed:

    Thread Starter Bill

    (@expionage)

    Hi Gagan,

    Wow, great support! Thanks for your help, that was pretty straight-forward. Have a wonderful weekend.

    Hi.
    First, I’m relieved that development on this plugin is apparently continuing, and so is support. My first attempts to use it were unsuccessful, and then I paid more attention to dathe date of the latest update and the version of WordPress supported. But according to other threads (which for some reason I had a hard time finding initially), Shortcodes in Menus works with WP 4.9.5.

    I’m using WP 4.9.6 which may be part of my issue. This thread clarified some things, but I’m still unable to get it to work as I think it should.

    I may be wrong, but my understanding was that the way to use Shortcodes in Menus is to create the Shortcode in the Menu page and then add it to the menu. The WP Customizer adds confusion for me (I probably only started using it with WP 4.9.6), but right now it seems you can’t make all the changes in the Customizer so the Menu page is still needed – fine by me as it seems less cumbersome that way.

    However, when I use the Shortcode elements in the menu they don’t work for me. I can create them and add to the menu. But the menu label isn’t visible except by hovering – which shows the shortcode – e.g. [mp_bloglink], and the clicking makes no difference. I’ve tried editing once the item has been added to the menu, but nothing makes any difference.

    The workaround that I’m using was editing the ‘class-shortcode_in_menus.php’ file. I copied the code that generates ‘gs_test_shortcode’ and modified the new code to do what I wanted all along – which is to generate menu items that are different depending on which server they are running on (for development purposes). This is manageable with the few shortcodes I need on public and private servers, but I don’t think this is what you intended.

    Perhaps the problem I’m having relates to changes from WP 4.9.5 to 4.9.6, or perhaps I’ve just missed something about how to use the plugin.

    Thanks
    Mike

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shortcode edit area?’ is closed to new replies.