• section30

    (@section30)


    Hello,
    My blog, http://www.insidethemonster.com/section30 has a small problem. I have screwed up the links area just under the header logo.
    I wanted to have three links:
    Home – main blog page
    Inside The Monster – main website the blog is attached to
    About – the bio area.
    Does anyone know how to fix this code so it will look and operate correctly?
    Im lost, very very lost.
    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • In header.php you have this:

    <ul id="navlist">
    <li><a href="http://insidethemonster.com/section30">Home</a></li>
    <li><a href="http://insidethemonster.com/section30">">ITM</a></li>
    </ul>

    See the extra “> just before ITM ? That’s the problem.

    <ul id="navlist">
    <li><a href="http://insidethemonster.com/section30">Home</a></li>
    <li><a href="http://insidethemonster.com/section30">ITM</a></li>
    </ul>

    Should be good and to make a third (or more)

    <ul id="navlist">
    <li><a href="http://insidethemonster.com/section30">Home</a></li>
    <li><a href="http://insidethemonster.com/section30">">ITM</a></li>
    <li><a href="http://example.com">One</li>
    <li><a href="http://example2.com">Two</li>
    </ul>

    Yell if that doesn’t help much?

    Thread Starter section30

    (@section30)

    That seems to be working great! I have updated the files and the links are starting to work. Howvere, my most recent change in the header.php code did not show up on the site.
    I went into the admin-content folder to empty the cache but it seems not to update the site this time.
    Any ideas?
    Thank you so much for the help, its finally getting there hahaha

    ladydelaluna

    (@ladydelaluna)

    i just went to look for the first time and saw 3 links at the top… if that’s what you were looking for, you need to clear your browser’s cache… not the wp cache.

    Thread Starter section30

    (@section30)

    I am sorry I didnt explain that right. I finally did get it to show 3 links. However, I have made more changes that for some reason do not seem to appear on the page yet. The order of the link and the text should be a little different.
    Here is what I enetered in the header.php:

    <ul id="navlist">
    <li><a>">Section 30</a></li>
    <li><a href="http://insidethemonster.com/section30/about/">About Jeff</a></li>
    <li><a href="http://www.insidethemonster.com">Inside The Monster</a></li>

    But for some reason here is what I find in the source view fo the web browser:

    <ul id="navlist">
    <li><a href="http://insidethemonster.com/section30">Section 30</a></li>
    <li><a href="http://www.insidethemonster.com">Inside The Monster</a></li>
    <li><a href="http://www.insidethemonster.com">About</a></li>

    I am not sure why it hasn’t updated?
    ANyone seen this before?
    Thank you!

    ladydelaluna

    (@ladydelaluna)

    <li><a>">Section 30</a></li>

    check your coding…

    <a>"> isn’t going to work for you. if you want it to be an empty link, use:

    <a href="">

    this way it will have the same properties for that page as any other link, but when clicked on, will essentially just refresh the page. although i’m not sure why you’d want it to do that in the header… since that goes across the whole site.

    you probably mean to have

    <a href="http://www.yoursite.com/">Section 30</a>

    Thread Starter section30

    (@section30)

    Thank you so much. That worked great!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem with links, somewhere in my header PHP?’ is closed to new replies.