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

---

Ricerca i plugin

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

Questo plugin **non è stato testato con le ultime 3 versioni principali (major releases)
di WordPress**. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare
problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

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

# TTT Loadmore

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

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

 * [Dettagli](https://it.wordpress.org/plugins/ttt-loadmore/#description)
 * [Recensioni](https://it.wordpress.org/plugins/ttt-loadmore/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/ttt-loadmore/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/ttt-loadmore/#developers)

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

## Descrizione

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);
    ?>
    ```

## Installazione

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

## Recensioni

Non ci sono recensioni per questo plugin.

## Contributi e sviluppo

“TTT Loadmore” è un software open source. Le persone che hanno contribuito allo 
sviluppo di questo plugin sono indicate di seguito.

Collaboratori

 *   [ 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/)

[Traduci “TTT Loadmore” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/ttt-loadmore)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/ttt-loadmore/) segui
il [repository SVN](https://plugins.svn.wordpress.org/ttt-loadmore/), segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/ttt-loadmore/)
tramite [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

 *  Versione **1.1.1**
 *  Ultimo aggiornamento **11 anni fa**
 *  Installazioni attive **10+**
 *  Versione WordPress ** 3.7 o superiore **
 *  Testato fino alla versione **4.3.34**
 *  Lingua
 * [English (US)](https://wordpress.org/plugins/ttt-loadmore/)
 * Tag
 * [loadmore](https://it.wordpress.org/plugins/tags/loadmore/)[pagination](https://it.wordpress.org/plugins/tags/pagination/)
   [posts pagination](https://it.wordpress.org/plugins/tags/posts-pagination/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/ttt-loadmore/advanced/)

## Valutazioni

Non sono state ancora inviate recensioni.

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

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/ttt-loadmore/reviews/)

## Collaboratori

 *   [ 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/)

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/ttt-loadmore/)