The loop does not show users
-
07-11-2019 - |
Question
I'm trying to show all post made by the author.
Code author.php
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php if( get_post_type() == 'post' ) {?>
<?php } if( get_post_type() == 'post-type' ) {?>
<?php } else; endwhile;?>
<?php endif; ?>
But just shows the post_type "post".
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange