Home Plugins ttt loadmore
TTT Loadmore logo

TTT Loadmore

by gabrielperezs on WordPress.org

WordPress plugin to load more event with your own template.

(0)

WordPress plugin to load more event with your own template.

For code contributions please go to https://github.com/33themes/ttt-loadmore

How to use it

This is the base html:


    Load more content

  • data-tttloadmore-do* is the action to load more content
  • data-tttloadmore-to* is where the script put the content after load more posts (the result of the “do” action)
  • data-tttloadmore-args* contain all the arguments you want to send to the “do” action

Then, you have to create an action with the same name of the data-tttloadmore-do

 'post',
        'post_status' => 'publish',
        'order' => 'DESC',
        'orderby' => 'date',
        'paged' => $page,
        'ignore_sticky_posts' => 1,
        'category_name' => $args['category'],
    );
    $archiveposts_query = new WP_Query($archiveposts);
    ?>

    have_posts()) : ?>
        have_posts()) : $archiveposts_query->the_post(); ?>
                
        
        
    

    
Active installations10+
Weekly downloads
8+14.29%
Version1.1.1
Last updated9/14/2015
WordPress version3.7
Tested up to4.3.34
Tags
core paginationloadmorepaginationposts paginationvertical pagination