• Hi

    I would love to put a Link to a Website on my Footer. Tried to make a child theme but the child is not looking like the Original after installing.

    I downloaded a twenty sixteen CHild theme and uploaded it to my Theme Directory. But it seems not to work.

    So is there a way to simply drop a Link to a Website into the Footer ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’ve noticed that when you add and activate a child theme, you have to RE-customize it. This is why I add a child theme BEFORE any customizing. I use the One-Click Child Theme plugin (it hasn’t been updated in over 2 years, but it continues to work flawlessly…it’s the ONLY child theme plugin I use).

    To add a link to the footer, you’ll have to edit the footer.php

    If you edit it on the main theme (and NOT a child theme) when the theme gets updated you’ll lose all of the theme file edits. Edit a child theme’s theme files keeps your edits intact even after the main theme is updated.

    Thread Starter juniorsantiago

    (@juniorsantiago)

    Hey thanks for the Reply

    Well yes afterwards it makes sense to make it from start on. but i didn’t knew that this issue would pup up later.

    I will take the Time then to customize che Child theme same as the other and make the rest then.

    Can you tell me where i have to put the link into the footer.php?

    Thanks again

    Download the footer.php.
    Open footer.php in a text editor, like Notepad or Notepad ++
    Scroll to the bottom and look for these two line…

    <span class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span>
    				<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentysixteen' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentysixteen' ), 'WordPress' ); ?></a>

    What you can do is simply overwrite them like this:
    Copyright&copy 2016. All Rights Reserved. <a href="http://my_website.com">My Website</a>
    and what you’ll get is: Copyright© 2016. All Rights Reserved. My Website

    Once you’re satisfied with the results, save and re-upload it to the child theme.

    You can even expand on that and add as many links as you’d like by simply adding more link codes like so…
    <a href="http://my_website.com">My Website</a> | <a href="http://another_website.com">Another Website</a> | <a href="http://and_yet_another_website.com">And Yet Another Website</a>

    What you’ll end up with is this: My Website | Another Website | And Yet Another Website

    • This reply was modified 7 years, 4 months ago by nahtee.
    • This reply was modified 7 years, 4 months ago by nahtee.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Link in Footer’ is closed to new replies.