• Resolved iusbpreface

    (@iusbpreface)


    Hey Guys, thanks for reading.

    I am trying to limit the number of recent posts in my sidebar from 25 to 5.

    This is what the code looks like for my theme editor:

    <div id="postings"><?php the_recent_posts('title= '); ?></div>

    I’ve read the forums, and some have suggested to others that they could find their answers in wp_content > pugins > widget > widget.php.

    BUT I don’t have that file! There isn’t even a “widget” folder in my plugins section (although I did add one later).

    Any help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The the_recent_posts tag is supported by the Fuzzy Posts plugin not natively by wordpress.

    Use a widget ready theme, activate this plugin and you can configure it any way you like using the Options in the Admin page. If your theme isn’t widget ready, you’ll have to ask the author of the plug in how to configure that argument. It’s not obvious in the documentation.

    Widget folder is in any WP install package in the wp-content folder.

    Oops..bad advice. Get the widget folder here.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    I am trying to limit the number of recent posts in my sidebar from 25 to 5.
    This is what the code looks like for my theme editor:
    <div id="postings"><?php the_recent_posts('title= '); ?></div>

    Just change your code to this:
    <div id="postings"><?php the_recent_posts('max_num=5&title= '); ?></div>

    If you’re not using widgets, then you wouldn’t expect there to be a widgets folder. And frankly, your problem has nothing to do with widgets in the first place, so I’m not sure why you even brought it up…

    Thread Starter iusbpreface

    (@iusbpreface)

    Awesome guys, thanks very much!

    I mentioned widgets simply because my advance research revealed that several other people had the same apparent problem as I did. However, each of them were told to go to their widget folder and make adjustments. Otto, your answer was much easier!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Limit sidebar posts (widget missing?)’ is closed to new replies.