[Resolved] How to make a button (which contains a link) open in a new window

Home Forums Support [Resolved] How to make a button (which contains a link) open in a new window

Home Forums Support How to make a button (which contains a link) open in a new window

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #967546
    Joel

    Hi, new to all this so sorry if this seems really obvious.

    I’ve added plenty of clickable links to my website and have them open in new windows, but now I want to use buttons to make things look a bit nicer. The problem is, whenever people click on the button, they are taken the other site and leave my site. Is there any way to make the button open the link in a new window, or does the button only work with internal navigation?

    Thanks,

    Joel

    #967939
    Leo
    Staff
    Customer Support
    #969615
    Joel

    Thank you, that is useful for being able to do what I want to do, but also means that I need to carefully edit every link that I use for a button.

    I’m using the Wordsmith theme at the moment and the buttons don’t give an option to open in a separate browser. Is there any way I can change the options on the buttons to make them do that?

    Thanks πŸ™‚

    #969651
    Leo
    Staff
    Customer Support

    Are you using Gutenberg editor?

    If so the links have the option to open in a new tab:
    https://www.screencast.com/t/Fud33LWMihDr

    #969711
    Joel

    I’m not, no. I’m using your theme but don’t have a page builder.

    #970216
    Leo
    Staff
    Customer Support

    Gutenberg isn’t a page builder. It’s the newest default editor from WordPress:
    https://wordpress.org/gutenberg/

    GP (or any themes) don’t actually handle the editor as that’s all handled by WordPress itself.

    #970627
    Joel

    Yes, I’m using Gutenberg.

    #970650
    Leo
    Staff
    Customer Support

    Then you should see this when you insert a link:
    https://www.screencast.com/t/Fud33LWMihDr

    #970753
    Joel

    When I paste a link normally, I get that, but for the button that comes with the installed theme, there is no option to open in a new window.

    I have the enter arrow on the right, the chain symbol on the left, and then text box above for the actual button, but there is no option to open in another window.

    This is for the ‘button’ option in Gutenberg, not the ‘paragraph’ option.

    Hope that all makes sense.

    #971188
    David
    Staff
    Customer Support

    Hi there,

    the gutenberg developers have added this to version 6.2 which should have been released yesterday – so i would expect it will be released sometime this week. You will need to install the Gutenberg editor:

    https://en-gb.wordpress.org/plugins/gutenberg/

    And when the 6.2 update becomes available this option will be there.

    #971741
    Joel

    I’ll wait and see if it changes after the update. Thanks πŸ™‚

    #972065
    David
    Staff
    Customer Support

    The Plugin was updated today – the option for Link Settings is now in the Settings sidebar when selecting a button block.

    #973491
    Joel

    Hi, it’s all fine now. Thanks

    #973493
    David
    Staff
    Customer Support

    Glad to hear that.

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.