WordPress.org

Ready to get started?Download WordPress

Forums

TwentyEleven child theme function changes to insert copyright in footer (2 posts)

  1. pjhk
    Member
    Posted 1 year ago #

    Hello,

    I set up a child theme incorporating TwentyEleven but now can't seem to make any new changes. I want to create a footer with my copyright details so I made my own php file within my child theme and copied in the footer code from TwentyEleven, adapted with my copyright details, but it doesn't work.

    I managed to use the following code in style.css to remove the standard 'Recent Posts' and 'Proudly powered by WordPress':

    .page-template-showcase-php section.recent-posts {
    display: none;
    }

    #site-generator {
    display:none;
    }

    I don't think this is interfering with the child theme but thought it might be useful background.

    Is there anyone who could help me with step-by-step instructions and code to properly use the php function in the child theme so that I can incorporate copyright details into the footer?

    Many thanks,

    Preeti

  2. pjhk
    Member
    Posted 1 year ago #

    In trying to solve this myself I deleted my child theme to start from scratch once agaon but see that I can't get rid of the TwentyEleven changes I'd started.

    So now the 'Search', 'Recent Posts' and 'Powered by WordPress' sections that I'd removed have returned. Just passing this on for info, for whoever can help me!

Topic Closed

This topic has been closed to new replies.

About this Topic