Skip to content

Instantly share code, notes, and snippets.

Created December 15, 2012 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4290064 to your computer and use it in GitHub Desktop.
Save anonymous/4290064 to your computer and use it in GitHub Desktop.
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
Copy link

shanebp commented Dec 15, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment