twenty ten size of sidebar/widget/recent post (4 posts)

  1. surocharg
    Posted 5 years ago #

    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).

    Address: http://www.jaktenpadenperfektapuben.se

    Thanks in advance for any help or hint!

  2. Michael
    Forum Moderator
    Posted 5 years ago #

    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.

  3. surocharg
    Posted 5 years ago #

    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).

  4. surocharg
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic