Support » Plugin: Sticky Side Buttons » Open some button in New Tab

  • Resolved saliks

    (@saliks)


    Hi,

    Very nice and easy plugin to add sticky Buttons,

    I have only little problem, How can I add some buttons links to open in new tab and some on same tab

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Maeve Lander

    (@enigmaweb)

    Answered in another thread. https://wordpress.org/support/topic/open-in-new-page-3/

    Thanks 🙂

    Hi Maeve Lander,

    I applied that code but how can I edit code for only some links to open in new tab

    My website link (http://www.lifecarelogistic.com/about-us/company-profile/)

    I want Download and Linkedin button to open in new tab and other two in same tab

    Thanks

    Plugin Author Maeve Lander

    (@enigmaweb)

    Sorry Saliks, that’s not possible. If you examine the code you can see it generates all the buttons based on that one section of code logic. So either you have ALL the buttons open in new tab, or ALL not.

    Incidentally…

    • Use a .zip file extension for a downloadable file. All browsers know to download a .zip and it does not require any open in new tab special instruction or special download instructions.
    • It’s best practice not to force open in new tab unless there’s a really really good reason. Leave power with the user. No-one likes their computer doing things without them telling it to. Your user knows to right click > open in new tab, or ctrl+click if they wanted it to open in a new tab.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Open some button in New Tab’ is closed to new replies.