function dot1_get_nav(){
if ( get_next_posts_link() || get_previous_posts_link() ) { ?>
<nav class="dot1-navigation clearfix">
<?php if ( get_next_posts_link() ) { ?>
<div class="alignleft">
<?php next_posts_link( __( '← Older Entries', 'dot1' ) ); ?>
</div>
<?php } ?>
<?php if ( get_previous_posts_link() ) { ?>
<div class="alignright">
<?php previous_posts_link( __( 'Newer Entries →', 'dot1' ) ); ?>
</div>
<?php } ?>
</nav><?php
}
}
<?php
$post_data_args = array(
'cat' => 4,
'showposts' => 1
);
query_posts( $post_data_args );
while ( have_posts() ) :
the_post();
the_title();
endwhile;
wp_reset_query();
$latest_post_data_args = array(
'cat' => 4,
'showposts' => 4,
'offset' => 1
);
query_posts( $latest_post_data_args );
while ( have_posts() ) :
the_post();
the_title();
endwhile;
dot1_get_nav();
wp_reset_query();
?>