query_posts, offset and pagination
-
Unfortunately I discovered that I cant use the parameters offset and page at the same time with a query_posts .
What I do:
I call query_posts with following arguments:
$page = get_query_var(‘paged’);
$args = array(‘cat’ => $cat, ‘posts_per_page’ => ‘6’,’paged’ => $page);which works fine. If I add something like ‘offset’ => ‘1’ the ‘paged’ parameter has no effect anymore…
Does anyone know a workaround?
Regards
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘query_posts, offset and pagination’ is closed to new replies.