• Is there any way to offset the first post using previous_post_link();? I want to skip the first post but be able to link to all other posts in 1 category. Is this possible or is there a better way to approach this? Thanks!

Viewing 1 replies (of 1 total)
  • offset only use in query_post or WP_Query() function. If you want to remove first post, so try this code

    <?php
    $query = new WP_Query("offset=1");
    while($query->have_posts()):
    //put the code
    endwhile;
    ?>

Viewing 1 replies (of 1 total)
  • The topic ‘previous_post_link(); & previous_post_link();’ is closed to new replies.