so her’s how to add a shortcode button to a wordpress page:
use this in the page:
[hpbutton link=”put url here”]Put link words heree[/hpbutton]
and put this in the function file:
// ADD BuTTON SHORTCODE TO WORDPRESS
function hpbuttonf($atts, $content = null) {
extract(shortcode_atts(array(‘link’ => ‘#’), $atts));
return ‘
‘;
}
add_shortcode(‘hpbutton’, ‘hpbuttonf’);
and style in style sheet:
.row-2left-buttons {float:left;display: inline;background:none; color:#465093; text-transform:uppercase;margin:10px 15px 0px 0px; font-size:.9em ;font-weight:bold;}
.row-2left .row-2left-buttons a,.row-2left .row-2left-buttons a:Visited,.row-2left .row-2left-buttons a:Active {display:block;color:#465093;text-decoration:none;padding:0px 0px 5px 0px;border-bottom:1px solid #e9f3f9;}
.row-2left .row-2left-buttons a:hover {color:#713783;}
