previous and next post of same category on singlepost.php
I would not use get_posts() to setup my loop on the single.php page. I would just use the normal proper loop. Please check out this page in the codex about Theme Development Here is an example of a single.php that will work as expected <div id=”primary” class=”content-area”> <div id=”content” class=”site-content” role=”main”> <?php // Start the … Read more