Answer the question
In order to leave comments, you need to log in
How to display a cycle of posts belonging to the author only to the author himself?
in the author.php page I display the post loop owned by the author
$curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author));
$args = array(
'post_type' => 'post',
'post_status' => 'pending',
'posts_per_page' => 3,
'author' => $curauth->ID,
);
/////.....
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question