anonymous / gist:4290064
Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Customized Activity Box

View gist:4290064
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; ?>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.