Show Name instead of Username of Instructor in all courses page

Home Forums Legacy Support Support queries Child Themes Show Name instead of Username of Instructor in all courses page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #83950
    devpatel
    Spectator
    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
    #84255
    Update your modern theme to the latest version.
    #173618
    Sputnik111
    Participant
    Iam not using theme. What I can do with this same issue. I can try to change code if you tell me where
    #173704
    Diana
    Participant
    @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
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Show Name instead of Username of Instructor in all courses page’ is closed to new replies.