Forums

Odd link in sidebar (3 posts)

  1. flatliner684
    Member
    Posted 3 years ago #

    I've put a title on my sidebar and, for some reason, its links back tomy index.php. I have'nt told it to do this. It seems like a simple mistake, but its got me stumpped. While the solution may be staring me in the face (This is my first time with Wordpress, and im no expert in web codeing), I wanted to ask if anyone can take a guess as to what might be causing it.

    This is the code for sidebar:
    <!-- begin sidebar -->
    <div id="sidebar">

    <h2>M E N U</h2>

    <br>

    <ul>
    <li><?php wp_list_cats(); ?></li>
    <li><?php wp_list_pages('title_li='); ?></li>
    </ul>
    </div>
    <!-- end sidebar -->

    The whole thing is made from a modified Wordpress classic theme. Any help is much appreciated.

    Thanks flatliner684

    http://www.flatliner684.co.uk

  2. whooami
    Member
    Posted 3 years ago #

    look at your source,

    <div id="sidebar">

    <h2><a href="index.php">M E N U</a></h2>

    <a href="index.php"><br>

    thats doesnt look like the output of what you have pasted there. I would look again, OR i would paste the contents of your sidebar.php or whatever is generating that content to a pastebin service.

  3. whooami
    Member
    Posted 3 years ago #

    glad to see you fixed it :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.