Site logo

Archived topic

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

13 replies · Started by Joel on July 25, 2019

Viewing posts 1–14 of 14

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

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 :)

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

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.

Yes, I'm using Gutenberg.

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.

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.

I'll wait and see if it changes after the update. Thanks :)

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

Hi, it's all fine now. Thanks

Glad to hear that.

This archived topic is closed to new replies.