Add Filter to colophon
-
I want to add one line of text – “Follow Us” above the social icons in the colophon.
I can do it by editing class-footer-footer_main.php to
sprintf('<span class="tc-footer-social-links-wrapper" %1$s><div class="social-text">Follow Us</div>%2$s</span>'
But, I am struggling to write the proper filter for my child theme functions.php. Something like:
add_filter( 'tc_colophon_left_block', 'add_social_text' ); function add_social_text() { return 'the block with the Follow us text above the icons'; }
Thanks….again!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add Filter to colophon’ is closed to new replies.