October 12, 2021 at 11:35 pm #34563
I just added a fresh post to a site, and have the most recent 4 on the home page via WP Show Posts
But the most recent post is showing second!
Can’t work out why.
I have checked the dates, and even changed the date of the new one to be today (was yesterday), but no change…
The settings are correct in the WP Show Posts More Settings for date and order
TIA, DaveOctober 13, 2021 at 7:39 pm #34604
Can you share the current settings on “More tab” for the WPSP list in question. Also, can you share the exact shortcode used to display it?October 13, 2021 at 9:48 pm #34609
In More Settings, there is just:
Order – Decending
Order By – Date
Status – Published
Tax Operator – IN
Add Basic Microdata is ticked
All other fields are blank
The shortcode is the one generated with no additional parameters
DaveOctober 13, 2021 at 10:08 pm #34611
Can you try disabling ALL plugins except WPSP + WPSP pro and see if it still occurs?
Also, if you have a child theme, can you temporary deactivate it and check as well? (incase there’s a pre_get_post filter or any snippet that may mess with WP_Query)October 13, 2021 at 10:17 pm #34613
Thanks Will do!
DaveOctober 14, 2021 at 6:04 pm #34636
Let us know how it goes. 😀October 17, 2021 at 7:06 pm #34695
I cloned the site to another location so I could test things without affecting the live site.
I deactivated all the plugins other than GP/GB
I turned off the child theme.
But the problem still persists after that!
This is the temp location to test:
There is a development page:
And I added the core latest posts block and it displays them in the correct order
If you need login info, let me know
DaveOctober 17, 2021 at 11:12 pm #34702
Can you send the site credentials through our contact page to check? https://wpshowposts.com/contact/October 17, 2021 at 11:23 pm #34704
Sure will do shortly!
DaveOctober 17, 2021 at 11:45 pm #34710
I’ve checked the posts and one of them is set to “Sticky”.
Posts that are marked “sticky” are placed on the top of the list, completely bypassing the orderby.
If you wish to ignore sticky status of posts and completely honor the orderby setting, you can set a WPSP list to ignore it.
You can set the WPSP to “Ignore sticky posts” by checking its checkbox on More settings tab as shown here – https://share.getcloudapp.com/Z4urJy7k. 😀
October 17, 2021 at 11:55 pm #34713
- This reply was modified 1 year, 3 months ago by elvin.
Darn, sorry about that, I have never used sticky – it must have been accidently ticked!
Apologies and thanks for working that out!
DaveOctober 18, 2021 at 12:07 am #34715
No problem. 😀October 18, 2021 at 1:07 am #34723
- You must be logged in to reply to this topic.