Forums

Adding Static / Non-Wordpress link to Menu (5 posts)

  1. millsy
    Member
    Posted 2 years ago #

    I would like to add a link to my forum that is not a part of wordpress.
    I am using the default theme and would like my link to the forum to appear on the sidebar menu with the rest of the page links.
    How could I do this?

  2. Peter Boosten
    Member
    Posted 2 years ago #

    Find this in your sidebar.php:

    <ul role="navigation">
      <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
    
      <li><h2>Archives</h2>

    and change into this:

    <ul role="navigation">
      <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
      <li><a href="linktoyourforum">Forum</a></li>
      <li><h2>Archives</h2>

    Peter

  3. millsy
    Member
    Posted 2 years ago #

    Thanks, but this doesnt add them to the same list, they are on a different line without the arrow list prefix

  4. Peter Boosten
    Member
    Posted 2 years ago #

    Never tried it, I must admit, it was just a guess. I'm going to try on a test site...

    Peter

  5. millsy
    Member
    Posted 2 years ago #

    I have experimented with putting the items in various places, does anyone have any idea of how I could achieve this?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.