View Single Post
Old 06-20-2015, 09:29 AM  
HowlingWulf
Confirmed User
 
HowlingWulf's Avatar
 
Join Date: Nov 2001
Posts: 1,662
First off, don't change WordPress core files. It will just get overwritten anyway next update.

Instead, make the changes to your child theme's files so they won't be lost.

Here's an example to show next post that's not in category ID 13.

Code:
<?php next_post_link( '%link', 'Next post', FALSE, '13' ); ?>
__________________
WP Porn directory/review theme Maddos $35.

webmaster AT howling-wulf.com
HowlingWulf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote