bbPortal » Forum 2

[closed]

How do I add a link in the menu?

(1 post)
  • Started 3 years ago by Null

Tags:

  1. For now, you'll have to do this manually.

    1) Open bbpress/bb-plugins/header.php (or bbpress/my-plugins/header.php to play it safe)
    2) Find: <div id="pmenu">
    3) Under it is a line starting with <a href="<?php option('uri'); ?>portal.php">Home</a>
    4) This is the basic menu link for the Home link. To add a link just copy this line and rename portal.php to the file you want. Also rename Home to what ever you want. Now you'll have something like this: <a href="<?php option('uri'); ?>excample.php">Excample</a>
    5) Now add this in the line where ever you want it to appear.
    6) Add &#8226; infront or behind your added code. This shows the • between the links in the menu.
    7) Save and upload header.php

    Note: Make sure that the .php file you refere to is in the bbPress root (where index.php is)

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.