Support » Plugin: BuddyPress Activity Plus » Adding features to custom activity feed

  • Resolved Tim Feess

    (@tim-feess)


    Hi,

    I have the activity loop pulled into my theme’s front page. I used the below code to pull in just updates in the activity loop and include the post form above it if the visitor is logged in. I’d like to add the plugin’s upload and embed features here, as well. Is there a way to call the plugin here?

    <div class="frontpage-right">
    <div class="sub-title-bold"><?php _e('Latest Videos', 'Cinematix'); ?></div>
    
    <?php if ( is_user_logged_in() ) : ?>
    
    				<?php locate_template( array( 'activity/post-form.php'), true ); ?>
    
    			<?php endif; ?>
    
    			<?php do_action( 'template_notices' ); ?>
    
    <div class="front-box-child">
    
    <?php if ( bp_has_activities( 'action=activity_update' ) ) : ?>
        <?php while ( bp_activities() ) : bp_the_activity(); ?>
    
            <?php locate_template( array( 'activity/entry.php' ), true, false ); ?>
    
        <?php endwhile; ?>
    <?php endif; ?>
    
    </div>
    </div>
    </div>

    Thank you!

    Tim

    http://wordpress.org/plugins/buddypress-activity-plus/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Adding features to custom activity feed’ is closed to new replies.