Modifying default widgets
OK I have spent this weekend working on modifying the default BP widgets. Some have been harder to customise than others.
I am having lots of trouble getting the site activity midget changed to how I want it.
'primary_link' => $blog_url,
'content' => apply_filters( 'bp_blogs_new_blog_activity', sprintf( __( '%s created a new blog: %s', 'buddypress' ), $user_link, '' . $blog_name . '' ) . ' <span class="time-since">%s</span>', $user_link, $blog_url, $blog_name )
<span class="time-since">%s</span>is where I’m up. I am assuming the %s goes through another sprinft() call on page generation. I need to know where and how, as it generates output like this which I need to change:
& 10 minutes ago
- The topic ‘Modifying default widgets’ is closed to new replies.