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:
<div class=”left-nav”>
<?php bp_get_displayed_user_nav(); ?>
<?php do_action( ‘bp_get_options_nav’ ); ?>
</div>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
Cheers
I see, thanks for the info guys!
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
It defines the sizes of the avatars, large and medium, I’ve set medium to be slightly larger than the original. But I don’t like modifying the core.