Skip to:
Content
Pages
Categories
Search
Top
Bottom

Edit the Site Wide Activity Widget


  • demilio
    Participant

    @demilio

    Hi, I’m trying to edit the Site Wide Activity Widget with my own look and feel, but cant seem to find out where the files are placed. I’ve checked the bp-activity folder and did find something:

    <?php foreach( $activity['activities'] as $item ) : ?>
    <li class="<?php echo $item['component_name'] ?>">
    <?php echo apply_filters( 'bp_get_activity_content', bp_activity_content_filter( $item['content'], $item['date_recorded'], '', true, false, true ) ); ?>
    </li>
    <?php endforeach; ?>

    But how can I split this code up? I cand to place the Username on one line, content on one line, the time on one line and then maybe add the avatar/gravatar at the left side.

    I have no problem designing it, but just have to split up this code first. My PHP skills are NOT the best.

    Can somebody help me?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Edit the Site Wide Activity Widget’ is closed to new replies.
Skip to toolbar