Tag Info

New answers tagged

0

I am pretty sure that those query variables only work on index pages-- pages that WordPress considers indexes not pages that you have hacked into indexes. Basically, other people are telling you the same thing. Unless I am misunderstanding you, I would suggest that you create a custom post type for this data instead of trying to use pages. ...


-1

<?php get_header(); ?> <?php query_posts(array( 'paged' => ( get_query_var('paged') ? get_query_var('paged') : 1 ), )); ?> I think this helps


0

The solution: <?php // building query $zephyr_cat = get_post_meta($post->ID, 'zephyr_category', true); $paged = is_front_page() ? get_query_var( 'page' ) : get_query_var( 'paged' ); if ( $zephyr_cat == 0 ) { $zephyr_q = new WP_query('posts_per_page='.get_option('posts_per_page') . '&paged=' . $paged); } else { ...



Top 50 recent answers are included