WordPress.org

Ready to get started?Download WordPress

Forums

how to add social buttons to "powered by wordpress" footer (6 posts)

  1. ungewinster
    Member
    Posted 1 year ago #

    I am using a child theme of twentyeleven for my website ungewinster.de and would like to add some buttons for social media like twitter and facebook.
    The problem is that i would like them to be in the black footer area displaying the "powered by wordpress" link (don't want to remove the link, just put the icons into the right corner of it).
    At first i tried adding an extra footer, but that didnt look good.
    Now I was hoping that someone could come up with some code to display a picture (the button) that functions as a link and could tell me where to put it in order for it to be displayed in that area.
    Any ideas for this would be greatly appreciated! ^_^

  2. wprock
    Member
    Posted 1 year ago #

    create a child theme first and then move the footer.php file from parent theme to child theme and edit that file.

  3. wprock
    Member
    Posted 1 year ago #

  4. ungewinster
    Member
    Posted 1 year ago #

    Hey, thanks for your answer :)
    I am already using a child theme. I agree that I need to edit the footer.php, the problem is that I don't exactly know how in order to solve my problem...

  5. wprock
    Member
    Posted 1 year ago #

    ok...copy the code from footer.php file and upload in pastebin.com. Next share the link. We will try to give you a direction.

  6. wprock
    Member
    Posted 1 year ago #

    You will work in this block

    <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>

    Remove this part

    <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>

    And place your social icons there

Topic Closed

This topic has been closed to new replies.

About this Topic