get_image( 'tx-lp-thumb' ) ); ?>
global['course']; $course_id = get_the_ID(); $course_skill_level = get_post_meta( $course_id, 'thim_course_skill_level', true ); $course_language = get_post_meta( $course_id, 'thim_course_language', true ); $course_duration = get_post_meta( $course_id, 'thim_course_duration', true ); ?>

term_id; } } $args = array( 'posts_per_page' => $limit, 'paged' => 1, 'ignore_sticky_posts' => 1, 'post__not_in' => array( $course_id ), 'post_type' => 'lp_course' ); if ( $tag_ids ) { $args['tax_query'] = array( array( 'taxonomy' => 'course_tag', 'field' => 'term_id', 'terms' => $tag_ids ) ); } $related = array(); if ( $posts = new WP_Query( $args ) ) { global $post; while ( $posts->have_posts() ) { $posts->the_post(); $related[] = $post; } } wp_reset_query(); return $related; } } /** * Display rating stars * * @param $rate */ function thim_print_rating( $rate ) { ?>
get_users_enrolled(); ?>
$course_rate ) ); ?>
get_author( 'id' ); $instructor = learn_press_get_user( $author_id ); if ( ! $instructor ) { return; } ?>
%s', $instructor->get_url_instructor(), $instructor->get_profile_picture() ) ); ?>
ID, 'tx_gallery_id', true); if ( $image ) { ?>