• Resolved wpgear

    (@wpgear)


    After select the any month or year (not current) – the calendar displays a limited number of Post. (presets in general settings WP).

    Must be corrected file ajax-archive-calendar.php str.335
    just add ‘numberposts’ => $last_day,

    // Get days with posts
    	$dayswithposts = get_posts(array(
    		'suppress_filters' => false,
    		'post_type' => 'post',
    		'post_status' => 'publish',
    		'monthnum' => $thismonth,
    		'year' => $thisyear,
    		'numberposts' => $last_day,
    	));
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Get days with posts ERROR’ is closed to new replies.