Skip to:
Content

BuddyPress.org

Changes between Version 1 and Version 2 of Ticket #6312, comment 9


Ignore:
Timestamp:
03/24/2015 11:43:36 PM (10 years ago)
Author:
imath
Comment:

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 :
     1The 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 :
    22{{{
    33'bp_activity' => array(
     
    66}}}
    77
    8 Another point: make sure your templates are up to date :
     8On 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
     10Then, make sure your templates are up to date :
    911See: https://codex.buddypress.org/themes/activity-dropdown-filters-in-templates/#use-bp_activity_show_filters-within-your-bp-default-child-theme
    1012