Skip to:
Content
Pages
Categories
Search
Top
Bottom

Navigation HELP

  • @jonobradley

    Member

    Hello,

    I’m currently developing this WP site: http://www.doghousegamer.com – we’re currently using a free theme just to get the site on its legs etc, however I am developing a new site for DHG. You can see it here: http://www.doghousegamer.com/testsite

    I would like to get rid of the admin-bar at the top. I can do that, but then I loose the login option and all of the links to the profile/activity/messages/friends etc..

    I would love to add the “MY ACCOUNT” link (as an example) with the drop down menu to my main Navigation (under the DHG logo)

    I am using BuddyPress with the BuddyPress Template Pack to make BP work with the PlatformPro theme.

    Thanks for your helpful responses! 🙂

    Jono Bradley

Viewing 10 replies - 1 through 10 (of 10 total)
  • @andrea_r

    Participant

    Use the custom menu option if the theme supports it. Otherwise, open up the theme files and hardcode the html in there to the various menu items.

    @jonobradley

    Member

    I’d happily use the custom menu option, however the majority of the links for the profile/activity etc are custom made links for each account ie:

    EDIT PROFILE = http://www.doghousegamer.com/testsite/members/tesctaccount/profile/edit/group/1

    Thanks,

    Jono Bradley

    @pcwriter

    Participant

    @jonobradley

    Open your theme’s header.php (or equivalent) and find the code for your main navigation. In your theme, you’ll find it in div id="nav_row". There’s probably a call to wp_nav_menus there. Add the following before the closing ul tag (should work 😉 )

    <li></li>

    See the codex for more: https://codex.buddypress.org/theme-development/modifying-the-buddypress-admin-bar/

    Hope this helps 🙂

    @jonobradley

    Member

    @pcwriter

    Thanks for the suggestion there. I’ve had a look through the header.php and cant find div id="nav_row"or any calls to the wp_nav_menus in that file. Any more suggestions on where I should put that code?

    Thanks,

    Jono Bradley

    @pcwriter

    Participant

    @jonobradley

    Well, looking at your site and their demo site with Firebug, you can see that the nav items are wrapped in a <ul> tag that’s identified like so:
    ul id="menu-nav" or ul class="menu-item"

    That ul sits in a div identified like so:
    div id="nav-row" or div class="main-nav"

    The only other file that I can think of would be functions.php. If the menu is created there, there would be a corresponding do_action in header.php. If you can’t find any reference to the above divs or uls in the header, try in functions. It’s gotta be there somewhere! 🙂

    @jonobradley

    Member

    @pcwriter

    I’ve rechecked header.php and still can’t see anything in there relevant to the nav. I’ve check functions.php and the only line of code in that page is:

    require_one(TEMPLATEPATH . "/includes/core.init.php");

    I assumed that means that functions.php is then calling for that file, I went and opened up that file and that then had a bunch of links to a load of other pages, with nothing that looks like a reference to the navigation.

    Jono Bradley

    @pcwriter

    Participant

    @jonobradley

    Looks like you’ll have to contact the theme developer then to find out where the nav is, sorry can’t help more :-(

    @andrea_r

    Participant

    If you’re using a theme framework, there may be a hook you need to take advantage of. So yeah – talk to the theme author.

    @dennissmolek

    Participant

    nav_row is after the content tag so look in index.php Should be there. Functions.php relates to custom functions for your theme, not to your nav.

    Somewhere in your code there is the info that creates that navigation that’s under your logo. Put the code pcwriter mentioned there, it will generate the BP related menu items. My guess is its either in the Header.php(should be) or is called in the index.php file. If you are using a tool like dreamweaver or notepad++ you can just select your template folder and run the find comand, search “nav_row” and there it is!

    @jonobradley

    Member

    Thought I’d update this quickly.

    I’ve given up on trying to get the BP admin bar to work in tandem with PlatformPro navigation. Instead I’ve installed a Plugin (https://buddypress.org/community/groups/buddypress-sliding-login-panel) which creates a rather nice login/profile panel.

    My next job is to get all the profile/message screens working properly. The colors clash and dont work, does anybody know where I would look to edit these things?

    Site = http://www.doghousegamer.com/testsite

    Thanks,
    Jono

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Navigation HELP’ is closed to new replies.
Skip to toolbar