BuddyPress Test Drive

  • Community
    • Activity
    • Groups
    • Members
  • News
  • About
  • Support
  • Profile picture of Chris Foster

    Chris Foster posted an update in the group Group logoBuddypress Features and Usability: 1 year, 12 months ago

    Anyone know if its possible to use Template Hierarchy in BuddyPress Groups, like in WordPress?

    For example:
    Group ”Test” home uses /groups/single/home.php —> but have it use –> /groups/single/home-test.php as a custom page?

    • Profile picture of Chris Foster
      Andy Peatling replied 1 year, 12 months ago

      Unfortunately not, but that might be a good idea for a future version.

      • Profile picture of Chris Foster
        Andy Peatling replied 1 year, 12 months ago

        You could use a conditional template tag right now in home.php, check to see what group it is and load a different template.

        • Profile picture of Chris Foster
          Chris Foster replied 1 year, 12 months ago

          Yup. I was going that route. Just wanted to make sure I wasn’t missing any other options.

          Template Hierarchy capabilities would be an awesome addition to future versions.

          Thanks!

Proudly powered by WordPress and BuddyPress.

    • WordPress.org
    • Documentation
    • Support Forums
    • Feedback
  • Log in
  • Register