I am now developing a website with wordpress that requires 2 kind of Publish : 1. Usual wordpress publish, and 2. Testimony publish (using Easy Publish Types, see http:// wordpress.org /extend/plug ins/easy-publish-types/)

I've not a problem using the wordpress publish. The main problem happens after i tag a testimony publish right into a blog tag, for instance 'World'. The tag 'World' it self contain individuals 2 kind of Publish pointed out above. For instance, I've 1 testimony publish, and three blog publish, and so i have 4 posts.

I Quickly alter the script to evolve this changes, i quickly use kriesi_pagination(4) (see http:// www.kriesi.at /archives/how-to-build-a-wordpress-publish-pagination-without-wordpress plugin).

For instance :

  • Total data found : 4
  • Data to show per page : 1
  • Page needed = ceil(Total data found/Data to show per page) = 4

Kresi effectively produced 4 hyperlink to every page. Example :

  1. http:// localhost /tag/data/ --> information is blog tag
  2. http:// localhost /tag/data/page/2/
  3. http:// localhost /tag/data/page/3/
  4. http:// localhost /tag/data/page/4/

Basically try 1-3, you will find not a problem happens. However when I visit the page 4, things i see is "This really is somewhat embarrassing, is it not? It appears we can’t determine what you’re searching for. Possibly searching, or among the links below, might help.Inch (this text originate from 404.php from the theme)

The issue is, why wordpress can't support page 4 much like things i need, and just how to repair this? thanks.

Script of tag.php : http:// pastebin.com /zRZ1VgZc (or see below)

<?php get_header(); ?>
<div id="left">
  <section id="primary">
    <div id="content" role="main">
      <?php the_post(); ?>
      <header class="page-header">
        <h1 class="page-title">
          <?php printf( __( 'Tag Archives: %s', 'toolbox' ), '<span>' . single_tag_title( '', false ) . '</span>' ); ?>
        global $wp_query;
        $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
        $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
        'taxonomy' => $term->taxonomy,
        'term' => $term->slug,
        'post_type' => array('testimonies','post'),
        'paged'=> $paged,
        'posts_per_page' => 1,
        'caller_get_posts'=> 1

        while (have_posts()) : the_post();
            get_template_part( 'content', get_post_format() );
  <?php kriesi_pagination(); ?>
<?php get_sidebar(); get_footer();