public
anonymous / gist:4290064
Last active

Customized Activity Box

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?php if ( bp_is_active( 'activity' ) ) : ?>
<div id="latest-update-top"></div>
<div id="latest-update">
<div id="latest-update-text">
 
<?php bp_activity_latest_update( bp_displayed_user_id() ); ?>
</div></div>
<div id="latest-update-bottom"></div>
 
<?php endif; ?>

<?php if ( bp_is_active( 'activity' ) ) : ?>

<?php if ( bp_get_activity_latest_update(bp_displayed_user_id())    != false ) : ?>
        <div id="latest-update-top"></div>

        <div id="latest-update">
        <div id="latest-update-text">

            <?php bp_activity_latest_update( bp_displayed_user_id() ); ?>
            </div></div>

                   <div id="latest-update-bottom"></div>
   <?php endif; ?>

<?php endif; ?>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.