//Gets author info and current post id
$postAuthor = $wp_query->post->post_author;
$tempQuery = $wp_query;
$currentId = $post->ID;
while (have_posts()) : the_post(); if( $post->ID == $currentId ) continue; ?>
Viewing 1 replies (of 1 total)
The topic ‘author posts outside the loop’ is closed to new replies.