Skip to:

Custom Activity loop

  • Profile photo of mika89


    Hello everyone,

    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 !!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom Activity loop’ is closed to new replies.
Skip to toolbar