hi, how i can insert a button shortcode in a header.php file? exists a template php tag to do it? thanks!
hi, how i can insert a button shortcode in a header.php file? exists a template php tag to do it? thanks!
ok, i found in another post:
use this to add template tag
<?php
$my_button = '[gn_button link="http://www.xxx.com/" color="#cc0000" size="3" style="1" dark="0" square="1"] Button text! [/gn_button]';
echo do_shortcode( $my_button );
?>You must log in to post.