Skip to content

anonymous /gist:4290064
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Customized Activity Box
<?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; ?>
@shanebp

<?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.