Forum Replies Created
I’ve had to another route, I’m trying to add a logged in users nav into all pages, I can do this by adding this code to my page template:
<?php bp_get_displayed_user_nav(); ?>
<?php do_action( ‘bp_get_options_nav’ ); ?>
But all the links then rendered are relative it doesn’t work, is there a way of making this work globally?
I managed to fix this, basically the page template needs to be in your buddypress directory inside your theme. /your_theme/buddypress/page.php
It’s a theme, I just thought a plugin might have this code, I will try place that in the header.php
If I create a bp-custom.php in my theme directory will it work then??
I need it in my theme though, so when I distribute it the file will reset the original function
Tried pasting the function int my themes functions.php but no joy, hm..
Ok I will have a go, I’ll post back my results, cheers!
Thats how I’ve worked it in the example, but I have to go into plugins/buddypress/ directory to edit that, I want to know if I can copy those parameters over to my functions.php and overwrite the core buddypress ones.
Know what I mean? I have other functions/declarations that I would like to overwrite, this is just one example