Esempio n. 1
0
function tie_pagenavi($query = false, $num = false)
{
    ?>
	<div class="pagination">
		<?php 
    tie_get_pagenavi($query, $num);
    ?>
	</div>
	<?php 
}
function tie_pagenavi()
{
    global $tie_blog, $wp_query, $paged;
    if (tie_get_option('grid_pagination') == 'button' && tie_get_option('on_home') == 'grid' && empty($tie_blog)) {
        if ($wp_query->max_num_pages > $paged) {
            ?>
			<a id="load-more" href="#"><?php 
            _e('Load More Posts', 'tie');
            ?>
</a>
	<?php 
        }
    } else {
        ?>
		<div class="pagination">
			<?php 
        tie_get_pagenavi();
        ?>
		</div>
	<?php 
    }
}
Esempio n. 3
0
function tie_pagenavi($query = false, $num = false, $span = '')
{
    ?>
	<div class="pagination">
		<?php 
    tie_get_pagenavi($query, $num, '', '', $span);
    ?>
	</div>
	<?php 
}