Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nuwansh

    (@nuwansh)

    Your blog page using content.php loop file to load the posts. So it need add 4th parameter $query into the genarate_ajax_pagination() function.

    I guess, you are using blog.php custom template to load posts. Then just try following code if you are going to load default ‘post’.

    <?php if(function_exists('genarate_ajax_pagination')) genarate_ajax_pagination('Read More', 'blue', "content", array('post_type' => 'post')); ?>

    Thread Starter blk784

    (@blk784)

    I used the following:

    if(function_exists('genarate_ajax_pagination')) {
        genarate_ajax_pagination('Load More', 'blue', "content", array('post_type' => 'post'));
    }

    and still get the same results, the button shows up, I click it, the little spinning circle appears beside the button, then it just adds a line above my button with no new posts.
    I am using this in the custom community buddypress theme in the default index.php file, with no custom post query.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Ajax Pagination (twitter Style)] Ajax Pagination Plugin not loading posts’ is closed to new replies.