Replace tagline with buttons

If you want the tagline to be replaced with a button similar to the demo site, all you have to do this place this code in your child theme’s functions.php and change to suit your needs.

add_filter('tc_tagline_text', 'replace_tag_with_button');
function replace_tag_with_button($content){
/* Change link inside href="" to suit your needs */
return '<a class="demo btn btn-mini btn-info"  href="http://demo.presscustomizr.com" target="_blank">Demo</a>';
		  	
}

 

8 thoughts on “Replace tagline with buttons”

Comments are closed.