WP-Tiles
WP-Tiles copied to clipboard
Layout is broken with ajax pagination
If i set such code in .php template:
<?php // page.php
if ( function_exists( 'the_wp_tiles' ) ) {
the_wp_tiles( array(
'posts_per_page' => 7,
'order' => 'DESC',
'orderby' => 'date',
'grids' => 'home',
'paged' => ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1
) );
}
?>
first 7 look normally. But!
if i click load more, i get:
http://i.imgur.com/sklg9DT.png
why? also if i set (for example) 'posts_per_page' => 20 - all is ok, this article 1
is displayed normally
how can we solve this trouble? (on console i see, that wp tiles generate json output with this wrong element)