How can i assign multiple authors to a post and only show posts by author.
Im currently using the following to get post by the current logged in user. But it only allows me to have one author.
$loop = new WP_Query( array( 'author__in' => $authors, 'post_type' => 'Contacts', 'numberposts' => 30, 'orderby' => 'date') ); while ( $loop->have_posts() ) : $loop->the_post(); // ----- endwhile;
HI need to be able to assign any amount of authors and allow each user to see all post where they are the author.