• Resolved karengo

    (@karengo)


    I have several WP Pages on a navbar and want to add just one more link (‘Forum’) that is not a WP Page but an external page. I don’t want it elsewhere on the page or the sidebar, I want it right there on the nav bar just like all the other pages.

    I don’t see any way to add an external page through WP Admin. Am I missing something obvious?

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can hardcode it yourself by modifying the header.php of your theme.

    Open header.php

    look for:

    <ul>
    <?php wp_list_pages('title_li=' ); ?>
    </ul>

    Change to:

    <ul>
    <?php wp_list_pages('title_li=' ); ?>
    <li><a href="yourdomain.com/forum/">Forum</a></li>
    </ul>
    Thread Starter karengo

    (@karengo)

    Thanks, threestyler. That did it just perfectly.

    This is exactly what I needed to know. But I want it as a page child.
    Is there a way to do that?

    Thanks for posting this. It is just what I needed to know! ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Nav bar link to external page?’ is closed to new replies.