Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Editing Activity Stream Front Page


Mariusooms
Participant

@mariusooms

It depends which page. You’ve got three instances or so, the directory activity page, the profile page and single group page.

To always show your slider above all instance you could stick it inside the post-form.php with the following do_action:

<?php do_action( 'bp_before_activity_post_form' ) ?>

Otherwise, for the directory activity you’ve got the following do_action:

<?php do_action( 'bp_before_directory_activity_content' ) ?>

Or for profile views and single group views you have:

<?php do_action( 'bp_before_member_activity_post_form' ) ?>

<?php do_action( 'bp_before_group_activity_post_form' ) ?>

That should give you all possible instances. Just code your slider in your bp-customs.php and use an add_action for your area of choice. Hope this helps.

Skip to toolbar