Hi poka, i post via private replay look like something rong, here again…
it is not possible to insert screens!
if i change the counts and class, look like this
`<?php
// =============================================================================
// Main loop
// =============================================================================
?>
<?php $counter = 0; if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php
if ($wp_query->current_post == 3 ) {
echo ‘<div class=”row”>’;
}
?>
<div class=”col-lg-4 col-md-6 col-sm-6″>
<div class=”news-item”>
<div class=”new-text-group1 equalheight”>
<?php $category = get_the_category(); ?>
<div class=”news-info clearfix”>
<?php if($category){ echo $category[0]->cat_name; } ?>
<span class=”pull-right”></span>
</div>
<h2>“><?php the_title(); ?></h2>
” class=”read-more”>
<?php /* poka_social_social(); */ ?>
<?php
$embeds = poka_get_embeds($post->post_content);
if ( has_post_format( ‘video’ ) && isset($embeds[0]) ) {
echo ‘<div class=”video-wrapper”>’;
echo $embeds[0];
echo ‘</div>’;
} else {
if ( has_post_thumbnail() ) {
echo ‘<div class=”thumb-wrapper”>’;
the_post_thumbnail(‘post-sm’);
echo ‘</div>’;
}
}
?>
</div>
<!– /.news-text –>
</div>
<!– /.news-item –>
</div>
<?php
if ($counter % 3 != 0 || ($wp_query->current_post +1) == ($wp_query->post_count)) {
echo ‘</div>’;
}
$counter++; endwhile; endif; ?>
<div class=”pagination”>
<?php
global $wp_query;
$big = 999999999; // need an unlikely integer
echo paginate_links( array(
‘base’ => str_replace( $big, ‘%#%’, esc_url( get_pagenum_link( $big ) ) ),
‘format’ => ‘?paged=%#%’,
‘current’ => max( 1, get_query_var(‘paged’) ),
‘total’ => $wp_query->max_num_pages,
‘prev_text’ => __(‘<i class=”fa fa-chevron-left” aria-hidden=”true”></i>’),
‘next_text’ => __(‘<i class=”fa fa-chevron-right” aria-hidden=”true”></i>’),
) );
?>
</div>
<!– /.pagination –>
it does not work… here the url, we use it https://www.playtime-forum.info/spielautomaten/
THX, if you need more, let me know and i can give you temp access!
-
This reply was modified 11 months, 2 weeks ago by
spielo.