getShortcode(), $atts); extract($atts); $base_color = stm_option('secondary_color', '#48a7d4'); stm_module_styles('recent_courses', $style, array()); stm_module_scripts('recent_courses', 'style_1'); if (class_exists('STM_LMS_Templates')): $terms = get_terms('stm_lms_course_taxonomy', array( 'hide_empty' => true, 'parent' => 0 )); $args = array( 'per_row' => 6, 'include_link' => true ); if (!empty($posts_per_page)) $args['posts_per_page'] = $posts_per_page; $nav_color = 'secondary_color'; if ($style == 'style_2') $nav_color = 'primary_color'; ?>
name); ?>
$args)); ?>