How to display user profile info inside wordpress author.php file
-
I’m trying to create the author.php file inside wordpress to display user’s profile, latest blog posts and user’s forum activities. Using the snippet below just returns empty data for each user. I’m sure I’m missing something in the snippet and hopefully someone could point me to the right direction.
<?php do_action( 'bbp_template_notices' );
// Subscriptions
bbp_get_template_part( 'bbpress/user', 'subscriptions' );
// Favorite topics
bbp_get_template_part( 'bbpress/user', 'favorites' );
// Topics created
bbp_get_template_part( 'bbpress/user', 'topics-created' );
?>Thanks.
You must be logged in to reply to this topic.