• How can I change the footer in this theme?

    I’m using Twenty Eleven theme and would like to remove the footer: Proudly powered by WordPress.

    Most responses talk about using a child theme … but I don’t have one installed.

    I have installed JetPack and see the “Edit CSS” tool, but not certain how to use it.

    Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Create a child theme:
    1. Using an FTP client (I recommend using FileZilla) create a directory under wp-content/themes/ and name it anything you like (e.g. LeonSterlingTheme)

    1. Create a text file named style.css with the following content (between the ==== lines, but not including them):

    ===========================================

    /*
    Theme Name: Leon Sterling's Theme
    Description: Twenty Eleven Child Theme
    Author: Leon Sterling
    Template: twentyeleven 
    
    @import url("../twentyeleven/style.css");
    
    // Theme customization starts below here

    ===========================================

    1. Put (using FTP client) the above style.css file into the themes directory you created.

    1. Download the wp-content/themes/twentyeleven/footer.php file and delete the following text from that file with a text editor (e.g. Notepad or TextEdit) and save it.

    ===========================================

    <div id="site-generator">
    <?php do_action( 'twentyeleven_credits' ); ?>
    <a href="<?php echo esc_url( _( 'http://wordpress.org/', 'twentyeleven' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>"><?php printf( _( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?></a>
    </div>

    ===========================================

    Upload the newly edited footer.php file to your theme’s folder.

    1. From your WP Dashboard’s Appearance->Themes page, activate your child theme.

    This will create a new child theme that you can use for any other modifications you would want to make to the Twenty Eleven theme.

    For more details, see: http://codex.wordpress.org/Child_Themes

    Thread Starter LCSterling

    (@lcsterling)

    Thanks John. Glad you found me here, too.

    Please clarify: are you recommending I put back the “div” bit I took out?

    L.

    Hi,

    I made a child theme, deleted the div, and refreshed. But nothing happened. I also tried this: put back the code and changed the div (deleted php, added only HTML) but again: nothing happened after refreshing the page. I used F5 and tried also Ctrl+F5.

    After reading this post, I tried to find the place for activating the child theme, but I can’t find it.

    Can you help me please?

    Thanks.

    LCSterling – sorry for the delay.

    If you took the “div” out of the file in your original theme’s footer.php file, it doesn’t matter.

    When you activated your new child theme (which is a folder in the /wp-content/themes/ folder and has two files in it – style.css and footer.php) WordPress will use your footer.php file rather than the footer.php file in the parent theme.

    HVH,

    Do you have a caching plugin activated? If so ,this would prevent the new information from being sent.

    Let’s check the obvious. Don’t laugh or judge. 😉 I’ve made all of these mistakes before.
    1. the child theme has been activated.
    2. in the child theme you have two files (at least) including “style.css” and “footer.php”
    3. the content in footer.php is what you want.
    4. the files have uploaded to the server you are testing

    Thread Starter LCSterling

    (@lcsterling)

    Hi John,

    Thanks for following up – I got help creating and activating a child theme and accomplished what I needed.

    best,
    Leon

    If you’re using Jetpack as mentioned, it has a custom CSS box. Similar is found in some themes like Mantra.

    If thats the case, all you need to do is add the line:

    #site-generator {display: none;}

    You can alternately change it to another colour, font, size or whatever with standard CSS settings in the brackets.

    Similarly, if you look at the page code, you’ll find the CSS id tags for other footer elements. Use:
    #tag {display: none;}

    I hide them as there was no way to align the several plugins that were adding random labels there.

    Thread Starter LCSterling

    (@lcsterling)

    Thank you, David.

    LS

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to remove "Proudly powered by WordPress?"’ is closed to new replies.