wp-admin/admin-ajax.php?page=2
-
I have a custom sorting function that runs a custom post type query. It works great, but wp_pagenavi() uses the page it’s on to update the links in the pagination. For example, on load of the page the pagination is something like .com/page/2. However, after sorting the list of posts from Newest to Oldest, it queries admin-ajax and then the updated pagination is wp-admin/admin-ajax.php?page=2.
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘wp-admin/admin-ajax.php?page=2’ is closed to new replies.