Adding a link to my footer (2 posts)

  1. savmoy
    Posted 6 years ago #

    I need to add a link to the footer of my theme for Privacy Policy.
    I looked at footer.php, but I could not see how I could modify it to add my link. I also looked at the footer widgets, but it seems like they don't allow any links. How can I add my Privacy Policy link to the footer? Can you help me please?

  2. Antanarive
    Posted 6 years ago #

    Using my own child theme for Thematic Framework theme, I simply used the following function to override the default footer generation:

    function my_footer($thm_footertext) {
    	$thm_footertext = 'Powered by
            <a href="http://www.wordpress.org">WordPress</a>.
            Built with
            <a href="http://www.themeshaper.com/thematic">
            Thematic Theme framework</a> and my own child theme:
            <a href="http://www.antanarive.com/blog/prodigal-son/">
            Prodigal Son</a>.';
            return $thm_footertext;
    add_filter('thematic_footertext', 'my_footer');

Topic Closed

This topic has been closed to new replies.

About this Topic