Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

  • connorg
    Participant

    @connorg

    Does anyone know how?


    connorg
    Participant

    @connorg

    bump


    connorg
    Participant

    @connorg

    I was able to fix the problem by just making some simple changes to the PHP in the header. I changed the following:

    <li<?php if ( bp_is_page( sports_news ) ) {?> class="selected"<?php } ?>><a>/<?php echo sports_news ?>" title="<?php _e( 'Sports', 'buddypress' ) ?>"><?php _e( 'Sports', 'buddypress' ) ?></a>

    To:

    <li<?php if ( is_page('news') ) {?> class="selected"<?php } ?>><a>/news" title="News">News</a>

    This fixes the entire problem, and now the respective button is highlighted. I am changing this topic to “resolved”.


    connorg
    Participant

    @connorg

    The correct navigation button is now selected, but the Members button is also selected, and page title in the top left of the window is still ConnorGrady.com – Blog, instead of ConnorGrady.com – Games. Thanks though for getting me this far!


    connorg
    Participant

    @connorg

    What i did was go into the header.php file for the bp-home theme, and edited what was within the <ul id=”header”> tag. For example, this is what I have for the Games page I created through the Dashboard: <li<?php if ( bp_is_page( games ) ) {?> class="selected"<?php } ?>><a href="<?php echo get_option('home') ?>/<?php echo games ?>" title="<?php _e( 'Games', 'buddypress' ) ?>"><?php _e( 'Games', 'buddypress' ) ?></a></li>. The only differences are those I felt were relative to the new page.such as where it says bp_is_page, I put games into the perenthesis instead of what was there before.


    connorg
    Participant

    @connorg

    Does anyone know how to fix this, I am having a lot of trouble.


    connorg
    Participant

    @connorg

    Could this have caused the Members button to be highlighted instead of the correct button. For the title of the page being Blog, I thinks its because BuddyPress treats newly created pages as a page within you Blog instead of being just an independent page. Is there any way to change the title of a page? Or to fix the wrong button being selected in the navigation.


    connorg
    Participant

    @connorg

    Only the BuddyPress theme has the Member Profiles that I am having trouble with.

Viewing 8 replies - 1 through 8 (of 8 total)
Skip to toolbar