WordPress.org

Ready to get started?Download WordPress

Forums

Shortcodes Ultimate
Hyperlinks to spoilers and tabs (12 posts)

  1. itaushanov
    Member
    Posted 6 months ago #

    Is there any way to hyperlink to spoilers and tabs?

    For example how can I hyperlink, to spolier 1, tab1 and so on?

    http://wordpress.org/plugins/shortcodes-ultimate/

  2. Vladimir Anokhin
    Member
    Plugin Author

    Posted 6 months ago #

    I plan to add this functionality, but not in closest versions.

  3. nuufu
    Member
    Posted 6 months ago #

    Is there any way we can modify the plugin ourselves to get the result? Like, add IDs or anchor tags to the tabs somewhere in the functions? Or maybe have child pages content displayed on tabs on the parrent page somehow? I've been searching for a solution for days now. I believe that for many other people it's also important to be able to include the tabs, spoilers etc. in the overall navigation. But I couldn't find any hints on how to accomplish this... Could you please provide any information?

  4. Vladimir Anokhin
    Member
    Plugin Author

    Posted 6 months ago #

    This feature will be released with 4.3.2

  5. itaushanov
    Member
    Posted 6 months ago #

    Thanks in advance, that would be really useful functionality.

  6. Vladimir Anokhin
    Member
    Plugin Author

    Posted 6 months ago #

    Did you already tested it? =)

  7. itaushanov
    Member
    Posted 6 months ago #

    Thanks for the new update.

    I am testing anchor functionality but can't get them to work.
    Have this:

    [tabs]
    [tab title="Linux" anchor="Linux"]this is Linux content[/tab]
    [tab title="Windows" anchor="Windows"]this is Windows content[/tab]
    [/tabs]

    Opening http://localhost/wordpress/test-page#windows changes to http://localhost/wordpress/test-page/#windows but the Linux tab is the one opened.
    Am I missing something?

    P.S. Crossposting :)

  8. Vladimir Anokhin
    Member
    Plugin Author

    Posted 6 months ago #

    Anchors is case-sensitive. Try to use links like - http://localhost/wordpress/test-page/#Windows

    This limitation is used for more readable links =)

  9. itaushanov
    Member
    Posted 6 months ago #

    That did it, thanks a lot.

  10. Vladimir Anokhin
    Member
    Plugin Author

    Posted 6 months ago #

    Great. I like this feature too and plan to use it on my own website =)

  11. nuufu
    Member
    Posted 6 months ago #

    thanks so much, Vladimir! It works well and is just what I needed! :)

  12. pixelaid
    Member
    Posted 3 months ago #

    Does this feature open a spoiler, or just link to the anchor on the page? I have:

    http://myurl.com/about-us/#about (on another page on the same site) linking to:

    [su_spoiler title="About" style="fancy" icon="caret" anchor="about"]

    It goes to the page, but does not open the spoiler. Or maybe it's not supposed to do that? Thanks.

Reply

You must log in to post.

About this Plugin

About this Topic