Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi wwpress101. You could use Theme Options > Footer > Footer Copyright. The default placement is on the left side above the theme credits. You can style and position it using css. To make the text a link you use the anchor tag:

    <a href="https://www.msn.com">this is my link text</a>
    Thread Starter wwpress101

    (@wwordpress101)

    Sorry I am new to all of this. I do not understand how to use anchor tags. Where and how do I place it. All I have been using is css

    Hi wwpress101. copy and paste:

    <a href="https://www.url.com">Your Link Here</a>

    in Theme Options > Footer > Footer Copyright. That should do the trick.

    Thread Starter wwpress101

    (@wwordpress101)

    The whole code shows up. Here is the site. Bare in mind it is a practice site so I can learn stuff like this so looks kind of crazy…

    https://s239445040.onlinehome.us/

    When you look at it in the Footer Copyright option does it look like this?

    <a href="https://www.msn.com">https://www.facebook.com/</a>

    The problem might also be related to the issue discussed in this post.

    Thread Starter wwpress101

    (@wwordpress101)

    The Footer Copyright does look like that. I read the post… I am using a child theme. It says to “You could copy footer.php to a child theme and remove the esc_attr() function which should allow the html to be displayed” I do not know how to get to the footer.php and where it would be put in the child theme. Sorry

    No apologies needed. Footer.php is a file in the /wp-content/themes/hueman directory. You would copy that file, using either FTP or, if your host offers it, cPanel File Manager, from there to your child theme folder. Then you would open the child theme file in the WP Editor and make the change shown in the post I linked. When WP builds the site it will then use the footer.php in your child theme instead of the parent theme, and your changes will be applied.

    Thread Starter wwpress101

    (@wwordpress101)

    I FPT the footer.php to my computer > opened it in word pad > copied <p><?php echo ot_get_option( ‘copyright’ ); ?></p> in replacing what was there > FTP back to the folder that has the child theme (child-menu.php) > in wp I put
    https://www.facebook.com/ in the footer copy right. Still on the site it shows the code just like I have in copy right??
    What am I doing wrong?

    FTP back to the folder that has the child theme (child-menu.php)

    I’m not sure what that means. What is child-menu.php? Your child theme should be in a folder at the same level as your main theme; something like this:
    /wp-content/themes/hueman
    /wp-content/themes/hueman-child-master

    Your child theme must have at least one file; style.css. It may contain other files like functions.php and other theme files that you’ve modified. If you want to start over with a clean child theme you can download one from within the Theme Options by clicking the Help tab in the upper right corner.

    If you have your child theme set up correctly, the first thing I would recommend is using Notepad++ or Editpad to change the footer.php file. Using Wordpad may add extra formatting characters that cause problems with the php.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Adding links to the footer’ is closed to new replies.