The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Custom Taxonomy Archive issues Re: Custom Taxonomy Archive issues


@pixelgrid I tried using WP_Query and I am getting what I expect in terms of seeing the posts I expect, but yes the previous/next links for pagination are not appearing. I’m not sure I understand your suggestion for the pagination hack? If I am using the following:

$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
$term = get_term_by(‘slug’, get_query_var(‘term’), get_query_var(‘taxonomy’));
$project_args = array(
‘post_type’ => ‘project’,
‘posts_per_page’ => 2,
‘paged’ => $paged,
‘tax_query’ => array(
‘taxonomy’ => ‘projectcat’,
‘field’ => ‘slug’,
‘terms’ => $term->slug
$projects = new WP_Query($project_args);
if ($projects->have_posts()) : while ($projects->have_posts()) : $projects->the_post(); $cnt++; ?>

How would I apply your hack? I appreciate the help!