Title: TTT Loadmore
Author: gabrielperezs
Published: <strong>07.09.2015</strong>
Last modified: 14.09.2015

---

Поиск плагинов

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

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

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

# TTT Loadmore

 Автор: [gabrielperezs](https://profiles.wordpress.org/gabrielperezs/)

[Скачать](https://downloads.wordpress.org/plugin/ttt-loadmore.1.1.1.zip)

 * [Детали](https://ru.wordpress.org/plugins/ttt-loadmore/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/ttt-loadmore/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/ttt-loadmore/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/ttt-loadmore/#developers)

 [Поддержка](https://wordpress.org/support/plugin/ttt-loadmore/)

## Описание

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

## Установка

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

## Отзывы

Нет отзывов об этом плагине.

## Участники и разработчики

«TTT Loadmore» — проект с открытым исходным кодом. В развитие плагина внесли свой
вклад следующие участники:

Участники

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

[Перевести «TTT Loadmore» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/ttt-loadmore)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/ttt-loadmore/), проверьте
[SVN репозиторий](https://plugins.svn.wordpress.org/ttt-loadmore/), или подпишитесь
на [журнал разработки](https://plugins.trac.wordpress.org/log/ttt-loadmore/) по 
[RSS](https://plugins.trac.wordpress.org/log/ttt-loadmore/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

### 1.1

Remove assets from the main file

### 1.0

First version

## Мета

 *  Версия **1.1.1**
 *  Обновление: **11 лет назад**
 *  Активных установок: **10+**
 *  Версия WordPress ** 3.7 или выше **
 *  Совместим вплоть до: **4.3.34**
 *  Язык
 * [English (US)](https://wordpress.org/plugins/ttt-loadmore/)
 * Метки:
 * [loadmore](https://ru.wordpress.org/plugins/tags/loadmore/)[pagination](https://ru.wordpress.org/plugins/tags/pagination/)
   [posts pagination](https://ru.wordpress.org/plugins/tags/posts-pagination/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/ttt-loadmore/advanced/)

## Оценки

Пока что нет ни одного отзыва.

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

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/ttt-loadmore/reviews/)

## Участники

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

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/ttt-loadmore/)