Support » Plugin: Shortcode in Menus » Accidentally Deleted Plugin

  • Resolved chriszoukis

    (@chriszoukis)


    I accidentally deleted the plugin, but the menus are still on the backend and the code is still on the respective pages. When I reinstall and activate the plugin, I still don’t see the menus appearing, just the code.

    For example, at https://www.prisonerresource.com/prison-survival-guide/ I see the following code at the top of the page:

    [shortmenu menu=”Prison Survival Guide” enhance=”true” submenu_color=”#000000″ submenu_anchor_color=”#e0e0e0″ submenu_anchor_hover_color=”#ffffff” submenu_transparency=”0.8″ arrow=”false” is_responsive=”true” ]

    What do I need to do to make this render the appropriate menu?

    The page I need help with: [log in to see the link]

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

    (@gagan0123)

    @chriszoukis

    Can you try saving the menu again when the plugin is active?

    WordPress filters the content of menu items and this plugin changes that behaviour a bit, so if you saved menus after deactivating the plugin, you might need to add those menu items again.

    Let me me know if that worked or not, I’ll be happy to help you out finding solution.

    I just resaved the menu. The code is still visible on the page and the menus are still in the backend, but the menus are not appearing on the page in question where the code is.

    Do I need to do something in the menus portion of WordPress to make them active again? I see the shortcode box now, but don’t know if I need to put something in there.

    Mr. Singh,

    Are you available for private consultation and troubleshooting?

    Plugin Author Gagan Deep Singh

    (@gagan0123)

    @chriszoukis

    We do not accept any hire offers on this support forum, though you can try https://jobs.wordpress.net/ for any paid support/consulting.

    About the issue, I tested it out on my local install. When we save the menu when the plugin is not active, WordPress simply filters out the shortcode, and upon re-activating the plugin, it does not comes back because shortcode is not there in the database anymore.

    So after re-activating the plugin, you’ll need to manually add those menu items again and they’ll work just fine.

    In the code you shared, inverted commas are off, could be because of support forums, so here’s how it should be
    https://gist.github.com/gagan0123/9578281e6889321699919bb86ffca6fc

    Make sure the plugin is active(I know you should have already, but still) and you add those menu items again manually and then save the menu. If it still does not work, it means some other plugin which was handling the shortcode, isn’t active. This plugin does not provide any shortcodes(apart from one thats for testing).

    Plugin Author Gagan Deep Singh

    (@gagan0123)

    @chriszoukis

    Were you able to get it working?

    I’d like this plugin to be working for everyone 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Accidentally Deleted Plugin’ is closed to new replies.