WordPress.org

Ready to get started?Download WordPress

Forums

Link Not Working In Copyblogger Theme (6 posts)

  1. arty
    Member
    Posted 6 years ago #

    Hey,

    I have the copyblogger theme installed on some of my blogs and for some reason the archives link at the top is not working.

    When I click on it I get a 404 error page...
    http://www.homeremedyto.com

    I don't know what could be causing this to happen but I need to fix it soon.

    How can I either fix it or remove the link altogether?

    BTW, I'm very non-technical but I will give anything a try.

    Thanks

  2. Jeremy Clark
    Moderator
    Posted 6 years ago #

    Look in your header.php the link is probably hardcoded in there.

  3. arty
    Member
    Posted 6 years ago #

    Hi Jeremy,

    I've looked in the header file, can't see anything about it.

    Is there another way to either fix it or remove it?

    Thanks

  4. Jeremy Clark
    Moderator
    Posted 6 years ago #

    that theme has a seperate file for the nav menu. Look in the nav-menu.php file for the link.

  5. arty
    Member
    Posted 6 years ago #

    Hi Jeremy,

    Ok, I've found the nav_menu.php file, this is what is inside it...

    <li><a <?php if (is_home()) echo('class="current" '); ?>href="<?php bloginfo('url'); ?>">home</a></li>
    <li><a <?php if (is_page('archives')) echo('class="current" '); ?>href="<?php bloginfo('url'); ?>/archives/">archives</a></li>
    <li><a <?php if (is_page('about')) echo('class="current" '); ?>href="<?php bloginfo('url'); ?>/about/">about</a></li>

    Now, I assume that I actually have an archives page somewhere, doesn't every wordpress blog automatically have an archive?

    How can I edit the code above to link to the archives page (if I have one)?

  6. Anonymous
    Unregistered
    Posted 6 years ago #

    Anyone know how to fix this problem with the links in Copyblogger. I have the same problem and would like to fix it.

    Thank you,

    Amy Gould
    http://www.singerspot.com

Topic Closed

This topic has been closed to new replies.

About this Topic