Header Links Broken, Links in Header
-
hello:
I’m trying to put the ARCHIVES link in the header https://509gossip.com/archives and I’m getting this error below:
“404 – Not Found | Sorry, no posts matched your criteria.”.here is my code:
———————————————————-<div class="Menu"> <ul> <li> <a class="<? echo (is_home())?'on':''; ?>" href="<?php echo get_option('home'); ?>/"><span>Home</span></a></li> <li><a <?php if (is_archive() || is_page('archives')) echo('class="current" '); ?>href="<?php bloginfo('url'); ?>/archives/">Archives</a></li> <?php $pages = wp_list_pages('title_li=0'); ?> </ul> </div>
———————————————————-
It looks like it’s not calling the archives.php file. Is it a path issue? Please help.Ken
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Header Links Broken, Links in Header’ is closed to new replies.