Simple Side Tab
[resolved] Open in a new tab? (4 posts)

  1. ericandmollie
    Posted 2 years ago #


    Thank you for a great plug in. When I click the tab, I would like the destination URL to show up in a new browser tab or page. How can I do that?



  2. srumery
    Plugin Author

    Posted 2 years ago #

    You're welcome. I am happy you find it useful. With the current release, there is no support for opening the link in a new tab. I am working on the next version and will add this to the feature request list. This doesn't guarantee it will make the next release but I will have a look at it. This could be a nice addition to the plugin while still keeping it simple.

    For now, you could edit line 106 in simple_side_tab.php and add target="_blank" to the tag. If so, it would look like this:

    echo '<a href="' . $rum_sst_tab_url . '" target="_blank"><div id="rum_sst_tab" class="rum_sst_contents rum_sst_left">' . $rum_sst_text_for_tab . '</div></a>';

    I hope this is helpful.


  3. ericandmollie
    Posted 2 years ago #

    That worked perfectly, thank you so much! Your response was fast and your solution was explained well. Thanks again!

  4. srumery
    Plugin Author

    Posted 2 years ago #

    This functionality is now build into the product (as of v1.0.0). There is a checkbox on the settings page that will allow you to open it in a new window.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Side Tab
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.