Title: TTT Loadmore
Author: gabrielperezs
Published: <strong>7 september 2015</strong>
Last modified: 14 september 2015

---

Plugins zoeken

![](https://ps.w.org/ttt-loadmore/assets/banner-772x250.png?rev=1240547)

Deze plugin **is niet getest met de laatste 3 grotere versies van WordPress**. Mogelijk
wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

![](https://ps.w.org/ttt-loadmore/assets/icon-256x256.png?rev=1240547)

# TTT Loadmore

 Door [gabrielperezs](https://profiles.wordpress.org/gabrielperezs/)

[Download](https://downloads.wordpress.org/plugin/ttt-loadmore.1.1.1.zip)

 * [Details](https://nl.wordpress.org/plugins/ttt-loadmore/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/ttt-loadmore/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/ttt-loadmore/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/ttt-loadmore/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/ttt-loadmore/)

## Beschrijving

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:_

    ```
    <a href="#" data-tttloadmore-do="archiveposts" data-tttloadmore-to="#main" data-tttloadmore-args="category:php;">
        Load more content
    </a>
    ```

 * 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_

    ```
    <?php
    function loadmore_archiveposts( $page, $args = false ){

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

        <?php if ($archiveposts_query->have_posts()) : ?>
            <?php while ($archiveposts_query->have_posts()) : $archiveposts_query->the_post(); ?>
                    <?php get_template_part( 'partials/content', 'content' ); ?>
            <?php wp_reset_postdata();?>
            <?php endwhile; ?>
        <?php endif;?>

        <?
    }
    add_action('ttt_loadmore_archiveposts','loadmore_archiveposts', 1, 2);
    ?>
    ```

## Installatie

This section describes how to install the plugin and get it working.

 1. Upload `ttt-loadmore` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“TTT Loadmore” is open source software. De volgende personen hebben bijgedragen 
aan deze plugin.

Bijdragers

 *   [ gabrielperezs ](https://profiles.wordpress.org/gabrielperezs/)
 *   [ 33themes ](https://profiles.wordpress.org/33themes/)
 *   [ Pancho Perez ](https://profiles.wordpress.org/lonchbox/)
 *   [ Thomas Grünvogel ](https://profiles.wordpress.org/tomasog/)
 *   [ Carlos ](https://profiles.wordpress.org/11bits/)

[Vertaal “TTT Loadmore” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/ttt-loadmore)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/ttt-loadmore/), haal
de [SVN repository](https://plugins.svn.wordpress.org/ttt-loadmore/) op, of abonneer
je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/ttt-loadmore/) via
[RSS](https://plugins.trac.wordpress.org/log/ttt-loadmore/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

### 1.1

Remove assets from the main file

### 1.0

First version

## Meta

 *  Versie **1.1.1**
 *  Laatst geüpdatet **11 jaar geleden**
 *  Actieve installaties **10+**
 *  WordPress versie ** 3.7 of nieuwer **
 *  Getest t/m **4.3.34**
 *  Taal
 * [English (US)](https://wordpress.org/plugins/ttt-loadmore/)
 * Tags
 * [loadmore](https://nl.wordpress.org/plugins/tags/loadmore/)[pagination](https://nl.wordpress.org/plugins/tags/pagination/)
   [posts pagination](https://nl.wordpress.org/plugins/tags/posts-pagination/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/ttt-loadmore/advanced/)

## Waarderingen

Er zijn nog geen beoordelingen ingediend.

[Je beoordeling](https://wordpress.org/support/plugin/ttt-loadmore/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/ttt-loadmore/reviews/)

## Bijdragers

 *   [ gabrielperezs ](https://profiles.wordpress.org/gabrielperezs/)
 *   [ 33themes ](https://profiles.wordpress.org/33themes/)
 *   [ Pancho Perez ](https://profiles.wordpress.org/lonchbox/)
 *   [ Thomas Grünvogel ](https://profiles.wordpress.org/tomasog/)
 *   [ Carlos ](https://profiles.wordpress.org/11bits/)

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/ttt-loadmore/)