WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a custom post type called Brands and on the single-brands.php page I have a secondary loop that gets all the posts that are in a taxonomy. Everything works fine except I can't get the page to paginate. If I visit brand/brandname/page/2/ it just redirects me back to the brand/brandname/. This is driving me nuts please help me.

Here is my secondary loop if that will help

<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; ?>
<?php $args = array(
        'post_type' => 'products',
        'paged' => $paged,
        'posts_per_page' => 1,
        'caller_get_posts'=> 1,
        'tax_query' => array(
                            'taxonomy' => 'brands',
                            'field' => 'slug',
                            'terms' => $slug

share|improve this question

closed as too localized by toscho Dec 18 '12 at 23:35

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Did you ever solve this? I am also trying to paginate a secondary loop. – supertrue Aug 24 '11 at 22:06
Hi @Nick-Hamze, did you get any solution for this? – Mahmudur Jun 27 '13 at 3:48
This is closed but Im having the exact same issue, anyone have a lead? – rugbert Mar 20 '14 at 18:06