Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activity Stream on Page

  • @finchkelsey

    Participant

    Newbie..so thanks.

    I have installed bp..all good.

    How do I add the activity stream as an element of our homepage rather than setting to be the home page.

    or

    How do I add other html elements on the activity stream page.

    The activity stream page is only visible to logged in users already so we would like the stream to be just one element on the page..not the entire page.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • @henrywright-1

    Member

    You can copy the activity loop into your homepage template

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>
        <?php while ( bp_activities() ) : bp_the_activity(); ?>
     
            <?php locate_template( array( 'activity/entry.php' ), true, false ); ?>
     
        <?php endwhile; ?>
    <?php endif; ?>

    See https://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/ for more information on the activity loop.

    @finchkelsey

    Participant

    Thanks..Ya I did with no luck..also many buddydev plugins I am installing are not activating either..I am using enfold them..

    Wanna help? Are you available for hire?

    @henrywright-1

    Member

    Hi @finchkelsey

    Have you tried posting your requirements in the BP Jobs Forum? If you’re looking for a BP developer available for hire then that is a good place to start

    BP Jobs Board

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Activity Stream on Page’ is closed to new replies.
Skip to toolbar