The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Arconix Shortcodes
[resolved] [Plugin: Arconix Shortcode Collection] to link to tab / slide does not work (6 posts)

  1. s.petroni
    Posted 4 years ago #

    first of all I wanted to thank you for this fantastic plugin. I find it really useful.

    I use it on the site http://deepcon.it/ and wanted to use the new features links to the tabs. The pages that have problems are http://deepcon.it/program/ and its English translation http://deepcon.it/en/program/

    In the pages code I put the shortcut [tabs id="number"] and passing the mouse over the tabs I see links that appear correct like http://deepcon.it/program/#tab-4, but sadly, putting them in the browser's address bar does not work, it is always the first tab opened.

    I tried using Firefox, Internet Explorer and Chrome but the result is the same. So I do not think is a question of browser.

    How can I fix it?

    Thank you for the support.


  2. John Gardner
    Plugin Author

    Posted 4 years ago #

    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="http://deepcon.it/en/program/#tab-3">. That's why the links aren't working on your site -- the http://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.

  3. s.petroni
    Posted 4 years ago #

    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.

  4. s.petroni
    Posted 4 years ago #

    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.

  5. John Gardner
    Plugin Author

    Posted 4 years ago #

    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: http://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?

  6. s.petroni
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Arconix Shortcodes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic