Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Recent Blogposts


Burt Adsit
Participant

@burtadsit

Howdy,

The recent blog posts widget lives at:

/mu-plugins/bp-blogs/bp-blogs-widgets.php

Within the function:

function bp_blogs_widget_recent_posts($args)

Is a line:

<?php $counter++; ?>

This bumps the first time through the display loop for the recent blog posts. The second time through, you’ll notice in the code above that, is a check to see if that var is non-zero. Then it starts displaying just titles.

Comment out that $counter++ line and you’ve got it.

I gotta start attaching a sig with a warning that I barely know what I’m doing and that taking my advice about anything may be hazardous to your personal health and that this code you are modifying may be changed by the powers that be 10min from now and that in that case it may cause a meltdown of your blog. Your car may not start either.

Skip to toolbar