Forums

Which add_filter can i use to hide and display custom footer text? (1 post)

  1. DDT
    Member
    Posted 12 months ago #

    Hi,

    I am trying to hide add display custom text in a theme but i don't want to edit the theme's footer. For this i like to use add_filter

    add_filter( 'WHICH TAG CAN I USE?', 'my_footer_text' );
    function my_footer_text( $default_text ) {
    	$ret = '<style type="text/css">
             .copyright { visibility: hidden; }</style>';
    	    $ret .= '<span id="footer-thankyou">Say Thankyou<span> | Powered by <a href="http://www.wordpress.org">WordPress</a>';
    		return $ret;
    }

Reply

You must log in to post.

About this Topic

Tags