Support » Themes and Templates » twenty ten size of sidebar/widget/recent post

  • I have a problem with the size of the sidebar/widget/default recent post-widget in twenty ten (not sure where the problem is exactly). I hope I can get some good ideas from more experienced wordpressers.

    Aim: I want to display a list of 70 posts in the sidebar. I’ve been using the default recent post-widget. (Why I wan’t such a long list? It is a book with 70 chapters.)

    Problem: The widget only displays 15, after that the older chapters/posts starts disappearing. Don’t know why. I have put “70” in the widget-settings (dashboard -> apprearance -> widget -> recent posts).


    Thanks in advance for any help or hint!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael


    Forum Moderator

    tis is a fixed restriction, hard coded into wordpress core file:

    from: wp-includes/default-widgets.php, line 538+

    538   if ( !$number = (int) $instance['number'] )
     539              $number = 10;
     540          else if ( $number < 1 )
     541              $number = 1;
     542          else if ( $number > 15 )
     543              $number = 15;

    i assume, there are ‘recent posts’ plugins available which may aloow more posts.

    I am not sure I follow you, do you mean it isn’t possible to achieve? (Bummer!)
    I’ve tried YD recent post widget but it doesn’t display at all (but works perfectly at another site).

    I’ve now managed to get YD recent post working.
    Thanks for the suggestion!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘twenty ten size of sidebar/widget/recent post’ is closed to new replies.