Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Forum not displaying in the topmenu?


Wcastillo
Participant

@wcastillo

@Renefyrster: I’m not in my home computer where I have access to my codes but I remember that I modify the header.php file…

There’s a part in that file where you will see listed all buttons of the top menu enclosed in LI tags… Those tags are only shown if the functions they are trying to expose to the user do exists in your installation (I mean, if you have not installed Groups module, the Group link won’t be showed and so on).

Well… You need to do something similar with you forum link… I remember I did something like this:

<?php

if (function_exists(‘any_bbpress_function_I_cant_remember_any_at_the_momento)) { ?>

<li <?php if (is_page(‘Forums’)) echo ‘class=”selected”‘; ?>>

< a href=”url to your blog”>Forums

<?php { ?>

This code might be wrong because I don’t have the right code here… but that’s the idea…

Hope it helps.

Skip to toolbar