PATH:
home
/
letacommog
/
aperobusiness
/
wp-content
/
plugins
/
the-grid
/
includes
/
templates
<?php /** * @package The_Grid * @author Themeone <themeone.master@gmail.com> * @copyright 2015 Themeone */ // Exit if accessed directly if (!defined('ABSPATH')) { exit; } if ($tg_grid_data['source_type'] == 'post_type') { $item_total = $tg_grid_data['item_total']; $item_loaded = $tg_grid_data['item_number']; $item_remain = $tg_grid_data['ajax_items_remain']; $item_to_load = $item_total - $item_loaded; $button_text = $tg_grid_data['ajax_button_text']; $button_count = ($item_remain) ? ' ('.$item_to_load.')' : null; if ($item_to_load > 0 && $item_loaded != -1) { $text = ' data-button="'.esc_attr($button_text).'"'; $loading = ' data-loading="'.esc_attr($tg_grid_data['ajax_button_loading']).'"'; $no_more = ' data-no-more="'.esc_attr($tg_grid_data['ajax_button_no_more']).'"'; $remain = ' data-remain="'.esc_attr($item_remain).'"'; $attribute = $text.$loading.$no_more.$remain; $ajax_button = '<!-- The Grid Ajax Button -->'; $ajax_button .= '<div class="tg-ajax-button-holder">'; $ajax_button .= '<div class="tg-ajax-button tg-nav-color tg-nav-border tg-nav-font" data-item-tt="'.esc_attr($item_total).'"'.$attribute.'>'; $ajax_button .= '<span class="tg-nav-color">'.esc_html($button_text.$button_count).'</span>'; $ajax_button .= '</div>'; $ajax_button .= '</div>'; echo $ajax_button; } } else { $text = ' data-button="'.esc_attr($tg_grid_data['ajax_button_text']).'"'; $loading = ' data-loading="'.esc_attr($tg_grid_data['ajax_button_loading']).'"'; $no_more = ' data-no-more="'.esc_attr($tg_grid_data['ajax_button_no_more']).'"'; $attribute = $text.$loading.$no_more; $ajax_button = '<!-- The Grid Ajax Button -->'; $ajax_button .= '<div class="tg-ajax-button-holder">'; $ajax_button .= '<div class="tg-ajax-button tg-nav-color tg-nav-border tg-nav-font"'.$attribute.'>'; $ajax_button .= '<span class="tg-nav-color">'.esc_attr($tg_grid_data['ajax_button_text']).'</span>'; $ajax_button .= '</div>'; $ajax_button .= '</div>'; echo $ajax_button; }
[+]
..
[-] slider-start.php
[edit]
[-] slider-end.php
[edit]
[-] filter-buttons.php
[edit]
[-] grid-jquery.php
[edit]
[-] grid-search-field.php
[edit]
[-] area-bottom2.php
[edit]
[-] grid-preloader.php
[edit]
[-] header-youtube.php
[edit]
[-] area-right.php
[edit]
[-] area-top1.php
[edit]
[-] slider-left-arrow.php
[edit]
[-] grid-holder-start.php
[edit]
[-] area-top2.php
[edit]
[-] slider-bullets.php
[edit]
[-] header-vimeo.php
[edit]
[-] area-bottom1.php
[edit]
[-] grid-holder-end.php
[edit]
[-] grid-ajax-message.php
[edit]
[-] wrapper-end.php
[edit]
[-] slider-right-arrow.php
[edit]
[-] grid-pagination.php
[edit]
[-] area-left.php
[edit]
[-] header-instagram.php
[edit]
[-] grid-load-more.php
[edit]
[-] wrapper-start.php
[edit]
[-] grid-sorter.php
[edit]
[-] filter-dropdown-list.php
[edit]