Hello. I’m trying to show a number of posts on the first page (index) using ajax.
I’ve tried all the possible things to make this, but i don’t know how to get dynamically the posts.
The problem is this: i know how to get the posts from a specific category because i made a lot of featured content, but when i have 100 posts and i want to load them, the site will be blocked because of size of the text.
So, how can i load a number of posts from a category, and when i press “next” or “previous” button (can be different than next_posts_link or previous_posts_link), using ajax, it will be displayed previous 5 or next 5 posts, sorted by date?
- The topic ‘Ajax post listing’ is closed to new replies.