Setting post per page when page loads
-
Hi,
I want to show 3 posts when page loaded and when I click on load more, it will load 2 more posts.
echo do_shortcode('[ajax_load_more offset="4" post_type="post" posts_per_page="3" scroll="false" transition="fade"]');
But it doesn’t working. Please give me some advices. Thanks in advance.
Regards,
Hung The.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Setting post per page when page loads’ is closed to new replies.