Changes between Version 1 and Version 2 of Ticket #6312, comment 9
- Timestamp:
- 03/24/2015 11:43:36 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6312, comment 9
v1 v2 1 that's because the component_id for `groups_record_activity()` is 'groups' and the component you've set in the 'bp_activity' parameter of your cpt is 'activity', you can try to use:1 The component_id for `groups_record_activity()` is 'groups' and the component you've set in the 'bp_activity' parameter of your cpt is 'activity', maybe it might be more consistent to use the same component : 2 2 {{{ 3 3 'bp_activity' => array( … … 6 6 }}} 7 7 8 Another point: make sure your templates are up to date : 8 On the other hand, you'll need to add a ui so that it's possible to add the group id when saving a cpt from the WordPress administration. 9 10 Then, make sure your templates are up to date : 9 11 See: https://codex.buddypress.org/themes/activity-dropdown-filters-in-templates/#use-bp_activity_show_filters-within-your-bp-default-child-theme 10 12