WordPress.org

Ready to get started?Download WordPress

Forums

WP-Paginate
404 error page (1 post)

  1. radojica
    Member
    Posted 8 months ago #

    I get this error on all pages accept on first page

    http://demo-page.tk/testimonials

    this is my code

    <?php
    		$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    
    		query_posts( array('post_type' => 'testimonials','paged' => $paged) );
    			if (have_posts()) : while (have_posts()) : the_post(); ?>
    			<?php remove_filter ('the_content', 'wpautop'); ?>
    
    			<li><span><?php the_content(); ?><br />-<?php the_title(); ?></span></li>
    
    		<?php endwhile; endif; ?>	
    
    		<?php if(function_exists('wp_paginate')) {
    			wp_paginate();
    		} ?>

    http://wordpress.org/plugins/wp-paginate/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.