WordPress.org

Ready to get started?Download WordPress

Forums

Pagination does not work for pages in WordPress MU (1 post)

  1. PaulMichael
    Member
    Posted 4 years ago #

    Hi,
    Pagination does not work for me just for pages in WordPress MU, just for the page template http://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:maciek@funsurf.pl"><img src="<?php bloginfo('template_url'); ?>/img/email.png" alt="" /></a><br />
        	    	<a href="http://www.youtube.com/funsurftv"><img src="<?php bloginfo('template_url'); ?>/img/youtube.png" alt="" /></a><br />
        	    	<a href="http://www.facebook.com/home.php?#!/FunSurf?ref=ts"><img src="<?php bloginfo('template_url'); ?>/img/facebook.png" alt="" /></a><br />
        	    	<a href="http://funsurf.blip.pl/"><img src="<?php bloginfo('template_url'); ?>/img/blip.png" alt="" /></a><br />
        	    	<a href="http://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?

Topic Closed

This topic has been closed to new replies.

About this Topic