Custom Activity loop
I need to filter my activity stream, and I got that I needed to modify something in the activity-loop.php located in the bp-default theme directory. The thing is that I’m using a theme that is not inherited from bp-default. I’m using the theme hueman theme which is a theme made for WordPress. I’m creating a child theme in order to avoid altering the core files of the theme.
Now my problem is that I don’t know where to put the few code lines I found:
<?php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ).’&max=5′ ) ) : ?>
When I replace the code in bp-default/activity/activity-loop.php it doesn’t make any differences…
But the thing is that I don’t really understand how it works… In the theme I m using there is no activity loop related file, do I have to create it in my child theme directory ? Because if I m using a theme that is not bp-default, the code in it must not be read right ??
I’m a bit lost ^^ please help !!
You must be logged in to reply to this topic.