• 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 https://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

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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 ??

    Thread Starter ninas

    (@ninas)

    i’m confused, lol.

    header:
    https://pastebin.com/m71129be4

    sidebar:
    https://pastebin.com/m1430e069

    thanks ??

    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?

    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

    Thread Starter ninas

    (@ninas)

    @kalessin:
    yeah im using widgets.

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

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Pages: Adding the homepage?’ is closed to new replies.