Forums

Pages: Adding the homepage? (7 posts)

  1. ninas
    Member
    Posted 1 year ago #

    So. I'm trying to figure out how to add a link on the top of my "Navigation" Section, which is the PAGES (I changed the name to Navigation). The link i want is linking to the homepage of the site, so http://twilight-fans.com/wp .
    I can post/ upload/ pastebin my sidebar, header, footer, etc. Just let me know.
    Click for Site.
    Thanks in advance! :]

    Nina

  2. wp_guy
    Member
    Posted 1 year ago #

    You can add it manually, I guess it's in the header.php of your theme...

    There is probably a wp_list_pages(); line or similar somewhere... Well you can just add your link right before:

    <a href="<?php bloginfo("url"); ?>">Home</a>

    If you feel confused, just paste your header.php in here so we can have a look ;-)

  3. ninas
    Member
    Posted 1 year ago #

    i'm confused, lol.

    header:
    http://pastebin.com/m71129be4

    sidebar:
    http://pastebin.com/m1430e069

    thanks :D

  4. Kalessin
    Member
    Posted 1 year ago #

    You could do it by editing your sidebar; manually inserting the heading "Navigation", inserting the "Home" link and then using wp_list_pages() to continue the listing.

    Unless you're using widgets to control your sidebar.

    You're using widgets, aren't you?

  5. Ivovic
    Member
    Posted 1 year ago #

    This is dirty, but anyone can do it, and it works if you're using widgets, etc... etc...

    Don't hate me because I'm prepared to use duct tape to solve a problem.

    turn a wordpress page into a link

  6. ninas
    Member
    Posted 1 year ago #

    @Kalessin:
    yeah im using widgets.

    @Ivovic:
    thanks for that, i'll probably use it until i can figure out an alternative. :p

  7. Ivovic
    Member
    Posted 1 year ago #

    I know, it's the sort of patch that makes you wonder if you really need a patch that much in the first place.

    I feel dirty even posting it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.