• Ryan.collins19

    (@ryancollins19)


    Hello everyone! Thank you in advance for taking the time to help me with this issue – I really appreciate it to say the least.

    I am trying to fix a broken link and am quite stuck. It seems like the past webmaster may have coded a custom menu into the header.php of scanning123.com

    If you click on the “Blog” tab at the top right of the homepage, you will notice that it does not link to the blog. I need to fix this so it does link to the blog, which can be found at http://www.scanning123.com/category/blog/

    So far I have found the following in the header.php file – problem is that I have no idea how to change it so the “blog” tab links to the actual blog.

    <ul>
          <li><a href="<?php bloginfo('siteurl'); ?>/blog" class="blogtab">Blog</a></li>
          <li><a href="<?php bloginfo('siteurl'); ?>/pricing" class="pricingtab">Pricing</a></li>
          <li><a href="<?php bloginfo('siteurl'); ?>/features" class="featurestab">Features</a></li>
          <li><a href="<?php bloginfo('siteurl'); ?>/how-it-works" class="howitworkstab">How&nbsp;it&nbsp;Works</a></li>
          </ul>

    Any ideas?

    Thank you so much and I am happy to provide you with more information if you need it.

    Take care,

    Ryan

Viewing 2 replies - 1 through 2 (of 2 total)
  • You’ll need to change the bit that says

    <a href="<?php bloginfo('siteurl'); ?>/blog" class="blogtab">

    to read

    <a href="<?php bloginfo('siteurl'); ?>/category/blog" class="blogtab">

    Thread Starter Ryan.collins19

    (@ryancollins19)

    Thank you so much Amy! It worked!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fixing a Broken Header.php Link’ is closed to new replies.