Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to load the header of my theme?

Problem 1: Might be a problem with cookies. The members link on the navi appears as selected, although I’m not on the members page, but the forums, which is not selected at all. Here’s a part of my header.php of the bb theme template:

<?php if ( function_exists( 'bp_blogs_install' ) ) { ?>
<li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) {?> class="selected"<?php } ?>><a href="<?php echo get_option('home') ?>/<?php echo BP_BLOGS_SLUG ?>" title="<?php _e( 'Blogs', 'buddypress' ) ?>"><?php _e( 'Blogs', 'buddypress' ) ?></a></li>
<?php } ?>

<li<?php if ( bp_is_page( 'forums' ) ) {?> class="selected"<?php } ?>><a href="/bbpress/" title="Forums">Forums</a></li>'

I used the default template and moved some code around.

Problem 2: I think a pic says more than a 1000 words here: http://yfrog.com/56screen1opj I want to get rid of those “[]” and I have no idea in which file to do that.

pxlgirl.

Skip to toolbar