WordPress.org

Support

Support » How-To and Troubleshooting » add link to “home” in Pages

add link to “home” in Pages

  • 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 😉

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘add link to “home” in Pages’ is closed to new replies.