WordPress.org

Ready to get started?Download WordPress

Forums

add link to "home" in Pages (4 posts)

  1. jfriesen
    Member
    Posted 9 years ago #

    I would like to add a link to "Home" (index.php) within the Pages UL links:

    <?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>

    Adding:

    <li><a href="<?php echo get_settings('home'); ?>">Home</a></li>

    before or after the Pages code drops the link outside of that list.

    How can I insert this link into the Pages list of links?

    All comments appreciated!
    JF ;)

  2. moshu
    Member
    Posted 9 years ago #

    Here is one solution
    http://wordpress.org/support/topic/33102#post-187600
    not perfect, though...

    You may want to search intensively, I remember other threads about similar topics.

  3. jfriesen
    Member
    Posted 9 years ago #

    thanks moshu! that link is an interesting solution. i'll keep scouting for something standards compliant.
    JF ;)

  4. Kafkaesqui

    Posted 9 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags