Skip to:
Content
Pages
Categories
Search
Top
Bottom

Help with group-home.php


  • bpisimone
    Participant

    @bpisimone

    I am modifying the skeleton member theme and am stuck with one little piece:

    I would like to get this snippet here

    <div class="page-menu">
    <?php load_template( TEMPLATEPATH . '/groups/group-menu.php' ) ?>
    </div>

    from the top of group-home.php and put it in the sidebar instead. Now whenever I’m putting it there I don’t get no output, and the footer is gone. I think it might be because I have taken it out of the groups loop, but I don’t quite see why.

    The sidebar is not a sidebar.php, just floating on the right. How can I fix this? Thanks for ANY suggestions!

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

  • Jeff Sayre
    Participant

    @jeffsayre

    The sidebar is not a sidebar.php, just floating on the right.

    So, have you created a class or division called sidebar within group-home.php and are placing the code above within that? Is it still within the <div id=”main”>?

    Please tell use more details about where you’ve positioned the code within the template.


    bpisimone
    Participant

    @bpisimone

    Thanks again Jeff.

    I was able to solve my problem by wrapping all inside this:

    <?php get_header() ?>

    <?php do_action( 'template_notices' ) ?>

    <?php if ( bp_has_groups() ) : while ( bp_groups() ) : bp_the_group(); ?>

    So far it works perfectly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help with group-home.php’ is closed to new replies.
Skip to toolbar