Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Custom home page for specific group (3 posts)

Started 6 months ago by: Lee Rickler

  • Profile picture of Lee Rickler Lee Rickler said 6 months ago:

    I need to have a custom group home page for 1 specific group only.
    I can customise the group home pages as a whole, but not 1 in particular.

    the group is called ‘information’ and i need to load info-home.php
    I’ve tried changing the following but nothing seems to work – only the default is loaded:

    original:

    <?php elseif ( bp_group_is_visible() && bp_is_active( 'activity' ) ) : ?>
    <?php locate_template( array( 'groups/single/activity.php' ), true ) ?>

    I have tried variations of:

    <?php elseif ( bp_is_group_information() && bp_group_is_visible() && bp_is_active( 'home' ) ) : ?>
    <?php locate_template( array( 'groups/single/info-home.php' ), true ) ?>

    etc.

    TIA

  • Profile picture of 4ella 4ella said 6 months ago:

    You can customize every home page with BP-frontpage plugin , there’s a option to have different .css file for every group , I use a lot this plugin

  • Profile picture of Lee Rickler Lee Rickler said 5 months, 2 weeks ago:

    Thanks for that but I’d rather not use a plugin BUT if that’s the only way then …