BuddyPress Album
[resolved] Latest uploaded photos widget (2 posts)

  1. mmozart
    Posted 3 years ago #

    I need to implement gallery on home page consisted of 30 latest uploaded photos by users. Is there any kind of widget available out there or I'll need to dig more? Any advice or suggestion will be enormously appreciated.


  2. mmozart
    Posted 3 years ago #

    I have found solution. Since there is no response from the support team :( here it is :

    <?php $args = array(
        'action' => bp_album_picture,
        'max' => 5
        <?php if ( bp_has_activities( $args) ) : ?>
            <ul id="image-strip">
            <?php while (bp_activities()) : bp_the_activity(); ?>
                <li><?php echo implode(explode("</a>", bp_get_activity_content_body(), -1)); ?></li>
            <?php endwhile; ?>
        <?php endif; ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BuddyPress Album
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic