getShortcode(), $atts); extract($atts); $style = 'style_1'; $base_color = stm_option('secondary_color', '#48a7d4'); stm_module_styles('courses_grid', $style); stm_module_scripts('courses_grid'); $args = array( 'per_row' => $per_row, 'include_link' => true ); if(!empty($posts_per_page)) $args['posts_per_page'] = $posts_per_page; $total_posts = wp_count_posts('stm-courses')->publish; if(!empty($taxonomy_default)) { $args['tax_query'] = array( array( 'taxonomy' => 'stm_lms_course_taxonomy', 'field' => 'term_id', 'terms' => $taxonomy_default, ) ); } $nav_color = 'secondary_color'; ?>

%s Courses', 'masterstudy'), $total_posts)); ?>

$args)); ?>
$args)); ?>