Answer the question
In order to leave comments, you need to log in
How to load wordpress posts via ajax?
I need a post filter function without reloading the page.
I understand how to make ajax loading of the same query request (make a separate page with a loop and load it .load(mysite_php.url + "/ajax-posts");
but how to load a modified query, that is, for example, the site has a slider slider and the user, moving it, modified the query, for example, increased the value of showposts, which would lead to loading query_posts('showposts=20'); instead of query_posts('showposts=10');
vaguely written but I hope you understand
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question