Title: Adding link
Last modified: January 22, 2017

---

# Adding link

 *  [sarahsavs1](https://wordpress.org/support/users/sarahsavs1/)
 * (@sarahsavs1)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/adding-link-2/)
 * Is there a way to add a link to my policies page at the bottom of homepage where
   it says Powered by WordPress?

Viewing 1 replies (of 1 total)

 *  [Chad Chadbourne](https://wordpress.org/support/users/shireling/)
 * (@shireling)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/adding-link-2/#post-8693126)
 * There is! You’ll want to start by [setting up a child theme](https://codex.wordpress.org/Child_Themes).
   That way, the modifications you’re making won’t be lost in a future theme update.
 * Once your child theme is ready, place a copy of the parent theme’s `footer.php`
   file into your child theme folder. This is the file you’ll edit. This next part
   will require some comfort with HTML – you’re going to add your link into the 
   code wherever you’d like it to be. It should go inside the `site-info` block:
 *     ```
       		<div class="site-info">
       			<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'button' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'button' ), 'WordPress' ); ?></a>
       			<span class="sep"> &middot; </span>
       			<?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'button' ), 'Button', '<a href="http://wordpress.com/themes/" rel="designer">Automattic</a>' ); ?>
       		</div><!-- .site-info -->
       ```
   
 * For example, if I wanted a link before the text that is already shown there, 
   I’d add it like this:
 *     ```
       		<div class="site-info">
       			<a href="http://example.com">This is my link</a>
       			<span class="sep"> &middot; </span>
       			<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'button' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'button' ), 'WordPress' ); ?></a>
       			<span class="sep"> &middot; </span>
       			<?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'button' ), 'Button', '<a href="http://wordpress.com/themes/" rel="designer">Automattic</a>' ); ?>
       		</div><!-- .site-info -->
       ```
   
 * You’ll notice I also added a `<span>` in there after my link. That’s what makes
   the nice dot to separate the different sections 🙂

Viewing 1 replies (of 1 total)

The topic ‘Adding link’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/button/1.0.4/screenshot.png)
 * Button
 * [Support Threads](https://wordpress.org/support/theme/button/)
 * [Active Topics](https://wordpress.org/support/theme/button/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/button/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/button/reviews/)

## Tags

 * [link](https://wordpress.org/support/topic-tag/link/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chad Chadbourne](https://wordpress.org/support/users/shireling/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/adding-link-2/#post-8693126)
 * Status: not resolved