Bio intructor calling

Home Forums Legacy Support Support queries Styling issues Bio intructor calling

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2074
    cornelmarcu
    Spectator
    Hi everyone,   I need to show the bio of the instructor in course page.   Please advise
    #2134
    sandy
    Member
    You can add an Instructor widget on the course sidebar. Go to WP Admin->Appearance->Widgets Let us know if this helps.
    #2310
    cornelmarcu
    Spectator
    Hi, Thanks for your response. I try to create some single-course page for my platform (use wplm child one course page layout). For that reason in the bottom of the page want to put the information about the instructor: avatar, bio and button for buy the course. http://cursuri.mindevolution.ro/course/nlp-practitioner/ In this moment can call the avatar but not the field: informatii biografice http://cursuri.mindevolution.ro/membrii/cornelmarcu/ Please advice.  
    #2458
    Anshuman Sahu
    Keymaster
    Are you modifying the single-course.php file ? If you want to use the code to display the instructor info then please use this code  : function show_the_bio(){     global $post;     $field = 'Bio';     $instructor_id =  get_post_field( 'post_author', $post->ID );     $field=bp_get_profile_field_data('field='.$field.'&user_id='.$instructor_id);     echo $field;     } Now use this function like to show the bio field  . Please note that here bio is a field name that you have provided in the extended profile field .
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Bio intructor calling’ is closed to new replies.