WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. surocharg
    Member
    Posted 3 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. alchymyth
    The Sweeper & Moderator
    Posted 3 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;
     544

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

  3. surocharg
    Member
    Posted 3 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
    Member
    Posted 3 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