Replace tagline with buttons

⚠️ Code snippets might not be compatible with the latest version of your theme. Always use a child theme to customize your theme, and test your code on a staging website before migrating to production.

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="" target="_blank">Demo</a>';


Leave a comment

Your email address will not be published. Required fields are marked *

8 thoughts on “Replace tagline with buttons”