Viewing 5 replies - 1 through 5 (of 5 total)
  • Are you setting the $paged variable in your custom query? Eg:

    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    $args= array(
    	[...]
    	'paged' => $paged
    );
    query_posts($args);
    Thread Starter skitter

    (@skitter)

    yes here are my query:

    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    $args = array(
    	'post_type' => 'attachment',
    	'posts_per_page' => 18,
    	'post_status' => 'any',
    	'post_parent' => $post->ID,
    	'exclude' => get_post_thumbnail_id($post->ID),
    	'orderby' => 'menu_order',
    	'paged' => $paged
    );
    $attachments = new WP_Query( $args );

    the funny thing is that with normal permalinks (id based) it works like a charm.

    Check with your hosts that mod_rewrite is running on your server.

    Thread Starter skitter

    (@skitter)

    yes it is 🙁

    Thread Starter skitter

    (@skitter)

    here are the link:

    http://www.compoundent.com/media/grammy-brunch

    if you can take a look and help me @esmi

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Permalinks redirecting pagination’ is closed to new replies.