Wrapping single.php content with BP group context
-
Any tips on how I could wrap certain kinds of posts (that are using single.php to display their content) with a group wrapper?
For example, I have an events manager plugin that uses single.php for displaying content (custom post type).
If an event is associated with a group (a function inherit to the plugin, but allows me to pull out a gorup ID), I would like single.php to take on the group wrapper for that event.
Current issue I am having is trying to trick BP into thinking there is a current_group loaded in $bp->groups->current_group.
- The topic ‘Wrapping single.php content with BP group context’ is closed to new replies.