Controlling widget total number of posts by publish date
-
Hi Jose, great plugin! We can probably figure it out, but so we don’t have to, do you have some code we can add to the plugin that uses “use_pub_date=true” for the widget, similar to the issue at Sorting by date
When we use sorting order of newest to oldest with total number of posts set (e.g., 4), the total number of posts setting is ignored and the plugin looks to number of posts by blog to render the total number of posts.
When we use sort by date with total number of posts set (e.g., 4), we get the desired number of posts, but they are ordered by latest update, not publish date.
What we are trying to achieve is control the total number of posts in the widget and render the posts based on publish date, in newest to oldest order.
- The topic ‘Controlling widget total number of posts by publish date’ is closed to new replies.