Support » Plugins and Hacks » single post in certain Category

  • Resolved yeleek

    (@yeleek)


    Hi,

    Single.php currently has the following at the top, which links to the next/previous post in any category. How can i alter it to only link to the next or previous posts in the same category?

    <div class="navigation">
    <div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
    <div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
    </div>

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘single post in certain Category’ is closed to new replies.