Support » Fixing WordPress » Change recent posts in widget.

  • Using a widgetized theme. One widget item is Recent Posts but it’s limited to 15 max. Is there a way to increase this to say 25?

    I can’t find where to do this in any of the themes files.

    Thanks..

Viewing 2 replies - 1 through 2 (of 2 total)
  • You’d need to edit the widgets.php file in wp-includes/. Look there for the wp_widget_recent_entries() function, under which you’ll find:

    else if ( $number > 15 )
    	$number = 15;

    You can edit this, or comment out these two lines. Source editing note: Make a back-up of the file before editing it, just in case.

    Thank you very much Kaf it worked great and good to see you on the forums.

    hoborun

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change recent posts in widget.’ is closed to new replies.