ControlledChaos
5/7/2015 - 7:57 AM

Print Next/Previous Post URL only

Print Next/Previous Post URL only

//Previous Post:
<?php echo get_permalink( get_adjacent_post( false,'',false ) ); ?>
//Next Post:
<?php echo get_permalink( get_adjacent_post( false,'',true ) ); ?>

Print Next/Previous Post URL only

WordPress Snippet