Hello Team,
Please let me know How to display Instructor Name on All Courses Page instead of Username, Which is currently displaying on this page.
Screenshot:-
http://prntscr.com/dgeezx
Update your modern theme to the latest version.
Iam not using theme.
What I can do with this same issue.
I can try to change code if you tell me where
@sputnik111,
add_action('bp_directory_course_item',"show_firstname_author");
function show_firstname_author(){
global $post;
$authord_id = $post->post_author;
$first_name = get_user_meta( $authord_id, 'first_name', true );
echo $first_name;
}
This will display the author first name in course directory
paste this code in wp-admin > Plugins > editor > wplms customizer plugin > wplms-customizer.php