i have a template with the next query:
<?php
if ( get_query_var('paged') ) {
$paged = get_query_var('paged');
} else if ( get_query_var('page') ) {
$paged = get_query_var('page');
} else {
$paged = 1;
}
query_posts( array( 'post_type' => 'post', 'paged' => $paged ) );
?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part('/post-types/home-normal'); ?>
<?php endwhile; ?>
Naturally, if i want to exclude the first 4 post ill use 'offset' => 1
buy in this case, if i go to page 2 of the post list, this is not working, and actually, is showing the same post from page 1, and the same in page 3, everytime the same post
My php knowledge is limited, it can be something from this query? or perhaps is something more globl from the template? thanks