WordPress.org

Support

Support » How-To and Troubleshooting » Editing Footer

Editing Footer

  • I know this question has been answered 1000 times but I cant seem to apply the answers to my site. I want to change the link and text of the “Proudly Powered by WordPress.”

    blog.haltwo.com is the address

    I installed the advanced code editor and one-click child theme plugins. Currently have child theme so when I open editor it is empty. Thanks!

    [No bumping. If it’s that urgent, consider hiring someone.]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Find the .php file where the current text is shown – probably footer.php. Copy that file into your child theme folder and edit it.

    Thanks for your reply. For some reason when I do as suggested it has NO affect. I am not a code master by ant means and I know I left a lot of garbage from the parent, but I just cant get anything to actually change the footer.

    @import url("../twentyeleven/style.css");
    
    <div id="site-generator">
    				<?php do_action( 'twentyeleven_credits' ); ?>
    				<a href="<?php echo esc_url( __( 'http://haltwo.com/', 'twentyeleven' ) ); ?>" title="<?php esc_attr_e( 'haltwo.com', 'twentyeleven' ); ?>"><?php printf( __( 'Powered by Propaganda Panda © 2012 haltwo.com | All Rights Reserved' ); ?></a>
    			</div>

    I am using the “edit” function under “appearance” in the dashboard

    WPyogi

    @wpyogi

    Forum Moderator

    You need to copy the entire parent footer.php file into the child theme — but do not put the @import line at the top — that only goes in the style.css file.

    Review this if need be:

    http://codex.wordpress.org/Child_Themes

    WPyogi

    @wpyogi

    Forum Moderator

    Just looked at your site — you can’t put php code in the CSS file. Remove that and read the link above about how to do the footer.php file.

    ahhhh. very helpful. So what should I code If all I want is “mytext” linked to mysite.com without any unnecessary code

    WPyogi

    @wpyogi

    Forum Moderator

    Not sure what you mean – are you still talking about changing the text in the footer?

    yes. when I copy the footer from the parent, there seems to be a lot of extracurricular code. I just simply want my text linked to my page in the footer.

    namely the powered by %s part. how do I best change that to the text I want?

    <?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?></a>

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Editing Footer’ is closed to new replies.
Skip to toolbar