I have a page template which aggregates multiple CPT's in different areas of the page and displays the first post from each CPT. I'd like to add a separate pagination for each of them. Is it possible with or, preferably, without a plugin?
I have a page template which aggregates multiple CPT's in different areas of the page and displays the first post from each CPT. I'd like to add a separate pagination for each of them. Is it possible with or, preferably, without a plugin?
Share Improve this question asked Nov 9, 2011 at 3:30 Daniel SachsDaniel Sachs 1,8219 silver badges17 bronze badges2 Answers
Reset to default 1Its possible! When i find myself in need of multiple paginations in a page i usually use ajax. take a look at this tutorial which with a little modification can do what you want.
If anyone is looking at this in 2020 and found that the link from Bainternet's answer is broken, here is a snapshot of the article on the Wayback Machine: https://web.archive/web/20110625064315/http://wordpressapi/2011/05/16/add-ajax-pagination-in-wordpress-blog
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744773628a4592913.html
评论列表(0条)