Support Center
Visit Demo
License manager
Buy @ envato
toggle menu
Categories
Discussions
Activity
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Activity
Sign In
·
Register
×
Home
›
Theme support
›
Shortcodes
Button Shortcode Target problem... ?
Dragontools
July 2019
in
Shortcodes
Hello I'm trying to use " _Self " In Button Shortcode but it's alway open in new window...
How to use it ?
Thanks
Comments
Pablo
July 2019
Hi,
Button shortcode has the _self attribute by the default.
You don't have to provide it.
Thanks
Dragontools
July 2019
I use this code but it open in nex page ?
[button title="Button" link="
http://www.google.com
" target="_blank" align="" icon="" icon_position="" color="#ee3e81" font_color="#ffffff" size="2" full_width="" class="" download="" rel="" onclick=""]
Dragontools
July 2019
It does not work by default.
For this to work you must delete this part: target="_blank".
[button title="Button" link="
http://www.google.com
" align="" icon="" icon_position="" color="#ee3e81" font_color="#ffffff" size="2" full_width="" class="" download="" rel="" onclick=""]
Pablo
July 2019
Yes, you have to delete the target="_blank"
If you have provided the target in shortcode, then you already provided the custom target, it's not default value.
But, I'm glad that you solved it out.
Thanks
Sign In
or
Register
to comment.
Comments