• There’s a bug in the Post Widget that limits lists of posts to only 10 (the default in WP_Query).

    Here’s a diff against the SVN trunk.
    https://pastebin.com/Z2apwiQc

    Easy fix, replace this line on widgets/posts-widget.php:

    $args = array( 'post_type' => 'post', 'post_status' => array('publish', 'private'), 'posts_per_post' => -1 );

    with this:

    $args = array( 'post_type' => 'post', 'post_status' => array('publish', 'private'), 'posts_per_page' => -1 );

  • The topic ‘Posts list in widget limited to 10 (fix included)’ is closed to new replies.