Skip to:
Content
Pages
Categories
Search
Top
Bottom

Recent Blogposts

  • Hi,

    Is it possible to change the Recent Blogposts so not only the latest post show text from the post, because i would like all of them to show some text…

    If it is possible, please tell me where i can change it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of Burt Adsit
    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.

    Thanks for your help, it worked and my car still starts :)

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.