How to make button open in a new tab?

freezeice04

Power Member
Joined
Jul 5, 2010
Messages
694
Reaction score
299
Hi, I use wordpress and I'd like to have it so whenever users click on a button, it opens it in a new window. Adding target="_blank" doesn't seem to work for some reason. Here's the code:

[button color="red" url="www.website.com" size="medium"]Insert Text Here[/button]


Thanks
 
I'm not sure what you mean, can you give me the final code of what it should look like?
 
<a href="www.yoursite.com" target="_blank"><img src="picbutton.jpg"></a>
 
You can't use target in BB code, this will probably require editing of the actual translation of the bb codes
 
You can set this on any image by writing this code. when you will set this code on any image then if user will click on that particular image he will be redirected to new window and the webpage will open which webpage url you have set in that code.


<a href="www.website.com" target="_blank"><img src="image.jpg"></a>
 
...

EDIT: Now I see you revived old thread. I don't think OP is bothering with this anymore. :)
 
Back
Top