Home › Forums › Pro Support › Posts not in correct order!
- This topic has 12 replies, 2 voices, and was last updated 1 year, 11 months ago by
David.
-
AuthorPosts
-
October 12, 2021 at 11:35 pm #34563
David
ParticipantHi everyone,
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 orderTIA, Dave
October 13, 2021 at 7:39 pm #34604elvin
ModeratorHi David,
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 #34609David
ParticipantThanks Elvin,
In More Settings, there is just:
Order – Decending
Order By – DateStatus – Published
Tax Operator – IN
Add Basic Microdata is ticked
All other fields are blankThe shortcode is the one generated with no additional parameters
[wp_show_posts id=”4754″]Dave
October 13, 2021 at 10:08 pm #34611elvin
ModeratorCan 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 #34613David
ParticipantThanks Will do!
DaveOctober 14, 2021 at 6:04 pm #34636elvin
ModeratorLet us know how it goes. 😀
October 17, 2021 at 7:06 pm #34695David
ParticipantHi Elvin,
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:
https://pemberton.info/play/There is a development page:
https://pemberton.info/play/develop/
And I added the core latest posts block and it displays them in the correct orderIf you need login info, let me know
Dave
October 17, 2021 at 11:12 pm #34702elvin
ModeratorStrange.
Can you send the site credentials through our contact page to check? https://wpshowposts.com/contact/
October 17, 2021 at 11:23 pm #34704David
ParticipantSure will do shortly!
DaveOctober 17, 2021 at 11:45 pm #34710elvin
ModeratorThanks.
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. 😀
-
This reply was modified 1 year, 11 months ago by
elvin.
October 17, 2021 at 11:55 pm #34713David
ParticipantDarn, sorry about that, I have never used sticky – it must have been accidently ticked!
Apologies and thanks for working that out!Dave
October 18, 2021 at 12:07 am #34715elvin
ModeratorNo problem. 😀
October 18, 2021 at 1:07 am #34723David
ParticipantResolved!
-
This reply was modified 1 year, 11 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.