Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author John Gardner

    (@jgardner03)

    Thank you for using my plugin and for the kind words. When I was investigating your website, I found something very odd with regards to the anchor links. Perhaps you can help me understand.

    When using the tab ‘number’ configuration, my code will only return <a href="#tab-$tabid">. All that means is that in practice it will return <a href="#tab-1">, <a href="#tab-2"> etc…, and yet when I look at your code, it’s showing <a href="https://deepcon.it/en/program/#tab-3">. That’s why the links aren’t working on your site — the https://deepcon.it/en/program/ is breaking the use of html anchor links. That isn’t a problem specific to my plugin, it would still be an issue even if my plugin was disabled.

    There must be some plugin that’s modifying the content of hyperlinks. Figuring out which 1 is the fun part. It requires you disable all plugins except for mine and then turn them on 1 at a time until you find the one that gives you a problem. Once we know which plugin is causing an issue, we can go from there.

    Thread Starter s.petroni

    (@spetroni)

    Hello, thanks for the answer. From what you tell me I have a suspicion on a plugin.
    I do not want to name names until I test.

    Let you know as soon as possible.

    Thread Starter s.petroni

    (@spetroni)

    Hi John, we have a winner!

    The name is Google Analytics for WordPress by Joost de Valk. And it’s the last I would have suspected. If I disable the plugin tabs are working properly.

    This was the good news.

    I discovered another problem, but it is not a problem of your plugin. I think.

    If I try to change the tab with WordPress menu instead of clicking on the tab itself, the address in the browser’s address bar changes, but the selected tab does not open. I think this is a JavaScript problem not activated by the link in the menu and so I fear there is little to be done.

    I think for me at this point, the fastest and easiest solution would be to divide the various tabs in separate pages. ??

    A suggestion for a feature to be added could be to place a link in a tab as desired.

    For example:

    [tab title="Title tab 1"]Content Tab[/tab]
    [tab title="Title tab 2" url="url"][/tab]
    [tab title="Title tab 3" url="url"][/tab]

    So that clicking on a tab will open a new page.

    Plugin Author John Gardner

    (@jgardner03)

    Interesting. I looked around that plugin and don’t see a way to turn off the full domain in the link so I submitted a bug report to Yoast’s website: https://yoast.com/bugs/google-analytics/tickets/javascript-anchor-links-broken/

    As to the second part of your question.

    If I try to change the tab with WordPress menu instead of clicking on the tab itself,

    What do you mean “WordPress menu”? What is that referring to?

    Thread Starter s.petroni

    (@spetroni)

    I’m sorry if I not expressed myself clearly.

    I mean the menu at the top of the page (Home News Program Guests …)

    I put in the “Program” menu a sub-menu with the names of the days of the convention. Each link points to the corresponding tab, but using the menu items the change of the tab does not work.

    Actually I don’t think it’s a problem of your plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Arconix Shortcode Collection] to link to tab / slide does not work’ is closed to new replies.