Feature request: Limit age of posts in widgets & “Also like”
-
Would you please please consider adding the ability to limit the searched posts in your feature widgets (and the “You may also like…” section) to a definable number of days?
We would really only like to highlight posts from the last month, and sometimes a category does not get enough posts to avoid showing stale content.
As a temp fix I have added the code below to the widget WP_Post args, but it would be much better to have it definable in the widget admin on a widget by widget basis.
'date_query' => array( array( 'after' => '-30 days', 'column' => 'post_date', ), ),
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Feature request: Limit age of posts in widgets & “Also like”’ is closed to new replies.