Linking to an existing forum from WordPress

A question from WordPress support forums:

i built a forum, located here:, i want to display the forum button along side with home and about pages buttons, and have it linked to the above url, how do i do this?

There are several ways to get it done. Here’s one that is probably going to be the easiest for you.

  1. Create an empty page called Forum with the slug forum.
  2. Create a file in your theme directory called forum.php.
  3. In that file, put the following:



Be sure that the file starts with <?php and there is no whitespace in front of the <.

This will create a link to the (empty) forum page, which would redirect to the forum.

Leave a Reply

Your email address will not be published. Required fields are marked *