Answer the question
In order to leave comments, you need to log in
How to do ajax pagination wp?
Good afternoon, I am learning to work with WP, what is the easiest way to make such a pagination? Products are just separate records, products need to be changed within one block. I thought of displaying all the goods that are, using js to hide some of the unnecessary ones, count them, make pagination based on this and, by clicking on the buttons, show / hide the necessary products.
But in WP there is probably an easier way?) MB drop the necessary article?
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
subtle hint:
1) number of e-mail. always the same
2) the wp_query() function has a parameter offset = pagination page * number of emails.
3) display the result in html using jquery, ajax (for crsotuli url request helmet in post)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question