WordPress.org

Forums

Squelch Tabs and Accordions Shortcodes
[resolved] Tab in the Admin Menu (8 posts)

  1. andrezasv
    Member
    Posted 1 year ago #

    Hi,

    I'm opening the admin menu bar items in a lightbox, and I noted that this plugin does not work. The tab does not appear. When I use this same tab in the content of my site, it works perfectly. The problem is in the admin menu bar.

    How to use this plugin in the admin menu bar?

    Please, help.

    https://wordpress.org/plugins/squelch-tabs-and-accordions-shortcodes/

  2. Matt Lowe
    Member
    Plugin Author

    Posted 1 year ago #

    Hi

    I'm not entirely sure what you're asking. You want to use the plugin in the admin interface?

  3. andrezasv
    Member
    Posted 1 year ago #

    For instance, when you click on "Visit Site" the admin bar appear in the top, right? So i'm using a plugin (http://adminmenueditor.com/toolbar-editor/) to insert new menu item in the top admin bar.

    I inserted a menu item that opens in a lightbox. Within this lighbox I'm sing your plugin.

  4. Matt Lowe
    Member
    Plugin Author

    Posted 1 year ago #

    OK. Obviously I can't really test as that's a premium plugin, so can you get me a screenshot of what you see when you open the lightbox?

    At a guess I'd say that the plugin you're using is loading the lightbox via AJAX from the admin interface; But this plugin has never been set up to run in the admin interface. A screenshot would be the first step in confirming this theory.

  5. andrezasv
    Member
    Posted 1 year ago #

    Hi,

    Here is the print when I open the menu item in a lightbox. The tab appears, but when I click on any tab it opens in a lightbox.

    http://wordpress9.hospedagemdesites.ws/eventos01/wp-content/uploads/sites/13/2014/05/tab-1.png

    Here is the print after I click on a tab:

    http://wordpress9.hospedagemdesites.ws/eventos01/wp-content/uploads/sites/13/2014/05/tab-clicked.png

  6. Matt Lowe
    Member
    Plugin Author

    Posted 1 year ago #

    Ahh I see.

    The issue there is the lightbox library: It's trying to interpret the link of the tabs as a link to a lightbox pane.

    Not much I can do about that I'm afraid. You could ask the author of the admin menu editor if there's anything they can do but since they'll undoubtedly be using a third party library for the lightbox I doubt they'll be able to offer much help either.

  7. andrezasv
    Member
    Posted 1 year ago #

    I talked to the plugin author, but he told me to tell to the author of the tab plugin.

    Is there any way to change the link of the tabs? Maybe by using a css class.

  8. Matt Lowe
    Member
    Plugin Author

    Posted 1 year ago #

    Not without completely rewriting the plugin to not use jQuery UI, which is really not an option. Nothing in the plugin is marking the link as a lightbox, so either the lightbox library is over-zealous in finding links to "lightbox-ize", or the admin menu editor plugin is.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Squelch Tabs and Accordions Shortcodes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.