Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › ASC order is not correct
This topic contains 17 replies, has 2 voices, and was last updated by kokosan 1 year, 3 months ago.
how about query posts using order parameter ASC order (‘order’ => ‘ASC’)
, which is a normal function? https://developer.wordpress.org/reference/classes/wp_query/#order-orderby-parameters
Sorry I don’t have much knowleage about WP.
That should also give you the same exact output and ordering as the post editor screen. By default the WP_Query uses “post_date”.
If you see a different order, then it was changed or altered via a hooking function.
No problem, I am more than happy to help.
Best,Ok now
You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |