Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get_adjacent_post wordpress

$next_post = get_adjacent_post(0, '', 0);
if( $next_post )
	echo '<a href="'. get_permalink($next_post->ID) .'">'. $next_post->post_title .'</a>';
Source by wp-kama.com #
 
PREVIOUS NEXT
Tagged: #wordpress
ADD COMMENT
Topic
Name
2+1 =