• I used this link https://wordpress.org/support/topic/child-theme-footer to add my credits to my footer in the child theme. All I did was copy and paste the code.

    acub
    Member
    Posted 2 years ago #

    In your functions.php (which should be empty), add this code in between the php markup delimiters:

    add_filter(‘tc_credits_display’, ‘my_custom_credits’);
    function my_custom_credits(){
    echo ‘<div class=”span4 credits”>
    <p> · © ‘.esc_attr( date( ‘Y’ ) ).’ ‘.esc_attr(get_bloginfo()).’ · Designed by Themes & Co ·</p></div>’;
    }

    Of course, you’ll need to replace the part between the last two middots with your own stuff.

    I saved the file in my chold themes.

    I went to look at my website and it is blank! I pressed the back key and the editor page came up so I erased what was there. Isaved the document and looked at my website and again its blank Infact I pressed the “posts” link and that is blank too.

    Please can you tell me how I can correct what has gone wrong… in future I will look for the plugins rather than coe something I dont understand|!

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Need help with footer’ is closed to new replies.