Ich habe Probleme, dieses Paginierungsproblem auf meiner Website zu finden. Das Problem ist, dass Seite 2 den gleichen Inhalt wie Seite 1 zeigt. Das soll es nicht.
<?php
$args = array( 'post_type' => 'baseball-news', 'posts_per_page' => 5 );
$baseball_loop = new WP_Query( $args );
while ( $baseball_loop->have_posts() ) : $baseball_loop->the_post();
?>
<?php
if ( get_post_type() == 'baseball-news' ) : ?>
<?php include( TEMPLATEPATH . '/includes/show-baseball-posts.php' ); ?>
<?php endif; ?>
<?php endwhile; ?>
<?php kriesi_pagination($baseball_loop->max_num_pages); ?>
<?php wp_reset_query(); ?>
Probieren Sie ein anderes Plugin aus. ich benutze PageNavifunktioniert sehr gut.
– Elclans
4. Mai 2013 um 1:00 Uhr