@psykro
Thanks for the response. That’s exactly what I was trying (and failing) to do. I googled a bit and I was able to solve the issue by forcing WordPress to fetch all types of posts when populating the Author page by adding the following code to the end of my functions.php file. It works like a charm:
add_action( 'pre_get_posts', 'enfold_customization_author_archives' );
function enfold_customization_author_archives( $query ) {
if ( $query -> is_author ) { $query -> set( 'post_type', 'any' ); }
remove_action( 'pre_get_posts', 'enfold_customization_author_archives' );
}
-
This reply was modified 5 years, 5 months ago by miragepv.