In the index.php page index.php
page, I need to passskip 5 posts ( thethe last 5 posts in the blog to be hide).
but when I want to using wp_paginate pluginuse the WP-Paginate plugin, but all pagepages show the same.
I'm using offset=5 ..
offset=5
, this is my code:
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;?>
<?php $additional_loop = new WP_Query("offset=5&paged=".$paged);
if ($additional_loop->have_posts()) :
while ($additional_loop->have_posts()) : $additional_loop->the_post();
the_title();?><br/>
<?php the_content();?>
<?php endwhile;endif;?>
<?php if(function_exists('wp_paginate')) {
wp_paginate('range=4&anchor=2&nextpage=Next&previouspage=Previous');
} ?>