Skip to content

[Bug] Post ID order doesn't work on frontend, uses published date sorting instead #148

@dubajicp

Description

@dubajicp

Post ID in Post Order By option doesn't work, and query loop still uses date ordering.
This issue is only visible on frontend, in edit mode it actually looks good.
Query Monitor also shows: ORDER BY wp_posts.post_date ASC

Setup:

  • AQL v4.3.0
  • Twenty Twenty-Five v1.4
  • WP v6.9
  • No other plugins

Steps to replicate:

  • Create several posts
  • Randomize publish dates for those posts (so that the date order doesn't match ID order)
  • Add AQL block on page, and set Custom for Query Type
  • Set Post Order By to Post ID

Query monitor:
Image

Live vs Edit mode:
Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions