I'm using WordPress as a Facebook platform and have a page that shows posts from 2 different categories. Each category has it's own pagination using wp-pagenavi. In order to stay in Facebook I need the pagination links to load using ajax.
I've seen this article which gives a nice clue about it, but would love to know if anyone had already solved this and has any leads.
My main issue here (and this is stupid), I get that I need to call an ajax function with jQuery and pass it the specific category and the desired page number. I have no idea how to get the page number.
But once again, if you have an already made solution - it will be much appreciated