• Resolved loriehartt

    (@loriehartt)


    For some reason the Back to Home option on my navigation bar is linking to a directory on my server, rather than the home page of my blog as it should. I need to know which file, and how, to edit to fix that. Thank you in advance for your assistance.

    Lorie Hartt

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Lorie,

    If the “back to home” link you refer to is located in your sidebar, search your theme folder for a sidebar.php file and look for that link within the code.

    It should resemble this and if it doesn’t perhaps try it out and see if it helps:

    <a href="<?php echo get_settings('home'); ?>/">Back to Homepage</a>

    Also add a title attribute if you want to make it legal xhtml such as:

    <a href="<?php echo get_settings('home'); ?>/" title="Return to Homepage">Back to Homepage</a>

    If you don’t have a sidebar.php or if maybe it is part of your header, try looking in your theme’s header.php file as well. Some people place the top nav links in the header file.

    Best wishes.

    Thread Starter loriehartt

    (@loriehartt)

    Hi MAK,

    Many thanks, that was what I needed.

    Sadly enough I’ve been having so many difficulties today I think I was looking for a more complicated answer. :S

    Ah well. Such is life when you’re dreaming code. ??

    You’re welcome Lorie and I hope your day eases up for you.

    PS: Don’t forget to change this to RESOLVED at the top so the WordPress police don’t get ya ??

    /ciao

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to I edit the navigation tool?’ is closed to new replies.