OK, as I understand it, pagination is most probably not going to work?
I would settle also for showing all instead of using pagination...
It seems I have to do something with a wp_query, but I cannot figure out how to set this up to show all posts from a specific term on one taxonomy.
- I have 5 custom taxonomies (type, size, color, to name a few) hanging under Pages.
- The taxonomy page "size" shows a short introduction about sizes and then lists all the terms within that taxonomy.
- When a term is clicked in the above, you'll get to the taxonomy-term page and after a short introduction I want to list all the Pages that use that same taxonomy term.
I have accomplished all of this already with the exception of the "list all"-part: only the last 10 entries show up, nothing more.
The code I have used is as follows:
<h1 class="page-title"><?php _e('Helmet Size: ', 'nzih'); ?><?php $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); echo $term->name; ?></h1>
<?php $categorydesc = category_description(); if ( !empty($categorydesc) ) echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' ); ?>
<?php while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" class="taxo-helmet">
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( __('See details of this helmet', 'nzih')); ?>"><?php the_title(); ?></a></h2>
</div> <!-- .taxo-title -->
<a href="<?php the_permalink(); ?>">
</div> <!-- .taxo-thumb -->
</div><!-- #post-ID .taxo-helmet -->
<?php endwhile; ?>
the result can be seen at http://bit.ly/cgfj0h