Pagination does not work for pages in WordPress MU
-
Hi,
Pagination does not work for me just for pages in WordPress MU, just for the page template https://funsurf.tv/windsurfing/spoty-zagraniczne/Her code:
<?php /* Template Name: Spoty zagraniczne */ ?> <?php get_header(); ?> <div id="content"> <?php query_posts('cat=41'); ?> <?php if(have_posts()): while(have_posts()): the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <a href="<?php the_permalink(); ?>"><img src="<?php echo get_post_meta($post->ID, 'miniaturka', true); ?>" alt="" style="float:left; margin-right:10px; width:150px; height:110px" /></a> <h2 class="filmiki"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2> <div class="entry"><?php the_excerpt(); ?></div> <p><?php the_tags('<b>Tagi:</b> ', ', ', ' |'); ?> <b>Kategorie:</b> <?php the_category(', ') ?></p> </div> <?php endwhile; ?> <?php if (function_exists("emm_paginate")) { emm_paginate(); } ?> <?php else : ?> <h2 class="pagetitle">Brak tre?ci</h2> <p class="center">Przepraszamy</p> <?php endif; ?> </div> <!-- end content --> <div id="ikony"> <a href="mailto:[email protected]"><img src="<?php bloginfo('template_url'); ?>/img/email.png" alt="" /></a><br /> <a href="https://www.youtube.com/funsurftv"><img src="<?php bloginfo('template_url'); ?>/img/youtube.png" alt="" /></a><br /> <a href="https://www.facebook.com/home.php?#!/FunSurf?ref=ts"><img src="<?php bloginfo('template_url'); ?>/img/facebook.png" alt="" /></a><br /> <a href="https://funsurf.blip.pl/"><img src="<?php bloginfo('template_url'); ?>/img/blip.png" alt="" /></a><br /> <a href="https://funsurf.pl/"><img src="<?php bloginfo('template_url'); ?>/img/funsurfpl.png" alt="" /></a> </div> <?php get_footer(); ?>
Default pagination is not working well.
Why not working?
- The topic ‘Pagination does not work for pages in WordPress MU’ is closed to new replies.