• Hi, regarding the boxed links at the top of the header, only Home works. The rest – About, Archives, Links, Contact, when clicked lead to a page saying 404 Not Found. If the answer is a missing url, then where do I find those? I am new to this, the forum is very helpful.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter shelleybarwick

    (@shelleybarwick)

    I haven’t received a reply on this one, so I am going to try again: Above the banner there are tabs that say Home, About, Archives, Links, Contact. Home goes to my blog page, but the rest when clicked lead to a page saying “404 Not Found. What do I have to do to make those tabs link to a page?

    That’s because those links are most likely hard-coded into the theme. What theme are you using?

    Also, you may have enabled pretty permalinks. On some web hosting setups, enabling pretty permalinks can lead to problems, and one symptom is receiving 404s. If you have enabled them, try going to Options → Permalinks, and selecting the top (Default) option.

    Thread Starter shelleybarwick

    (@shelleybarwick)

    I am using the Connections Reloaded theme. Also, I did enable the pretty permalinks, but that caused problems so I went back to the default. However those tabs still do not work.

    they won’t work magically, you’ll have to edit the header.php and copy/paste the links to the pages you’ve created.

    Themes are nice, but they don’t make pages for you… you still have to make the pages yourself by writing a new page in the wordpress admin panel.

    Yes, I’ve just had a look at the theme and the links are indeed hardcoded. I recommend just opening up the theme’s header.php and stripping them out. (Should be able to be edited by going Presentation > Theme Editor.)

    Ivovic, they should actually work magically by filling the space up with the output of {{{wp_list_pages()}}} — in this case, it’s just a matter of laziness on the part of the Connections Reloaded author.

    Thread Starter shelleybarwick

    (@shelleybarwick)

    Thanks for your reply, not game enough to fiddle with this as I am not very knowledgeable (as yet). Do you mean this part of the code that I have copied and pasted – see below? Hope much of it should I take out?

    Also, where would I put the “output of {{{wp_list_pages()}}} (if I was to do that) as you describe above to Ivovic?

    <?php if (is_404())
    _e(‘Error 404 – Not Found » ‘);
    elseif (is_search())
    {
    _e(‘Search Results for ‘);
    echo ‘“’.$s.’” » ‘;
    }
    else
    wp_title(‘ ‘);

    if(wp_title(‘ ‘, false)) echo ‘ » ‘;
    bloginfo(‘name’); ?>
    </title>

    <meta http-equiv=”Content-Type” content=”<?php

    Defnitely NOT this part of code.
    REad the whole header.php, especially the part that comes AFTER the
    <body> tag, and look for those words About etc.

    Okay, looking at your site, you have the following code, which is most likely in header.php:

    <ul id="topnav">
    	<li><a href="<?php bloginfo('home') ?>" id="navHome" title="Posted Recently" accesskey="h">Home</a> | </li>
    	<li><a href="/about/" id="navAbout" title="About the Author" accesskey="a">About</a> | </li>
    	<li><a href="/archives/" id="navArchives" title="Posted Previously" accesskey="r">Archives</a> | </li>
    	<li><a href="/links/" id="navLinks" title="Recommended Links" accesskey="l">Links</a> | </li>
    	<li><a href="/contact/" id="navContact" title="Contact the Author" accesskey="c">Contact</a></li>
    </ul>

    Replace it with this:

    <ul id="topnav">
    	<li><a href="<?php bloginfo('home') ?>" id="navHome" title="Posted Recently" accesskey="h">Home</a></li>
    	<?php wp_list_pages('title_li=&depth=1') ?>
    </ul>
    Thread Starter shelleybarwick

    (@shelleybarwick)

    Thank you, that deleted those tabs from the header and replaces them with tabs that are in my side bar as pages.

    I need to add the urls to links and not sure where to put in the url.
    Here is partial code from one of my blogs header.php:
    <div id=”navitabs”>
    <h2 class=”hide”>Site menu:</h2>
    “>Home<span class=”hide”> | </span>
    Brunswick<span class=”hide”> | </span>
    SSI<span class=”hide”> | </span>
    Sea Island<span class=”hide”> | </span>
    Front Page
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    As you can tell, I have named the tabs but not sure where exactly to put url. For instance, the url for Front Page is >>> https://www.coastalviewpoint.com
    How would I put that after the tab reference to front page??

    Thanks so much!!!

    exactly what I am looking for too – I have the urls for the navLink, navAbout, and NacContact already in place but can not remember where I put them, so I can edit them. Any help would be appreciated!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Tabs above header do not link to pages’ is closed to new replies.