How do I make the Course Progress Outline fully expanded?

When using the Course Progress shortcode, the course outline(s) will be compacted into a single element. When the element is clicked, the outline will expand. There might be some cases in which you'd like a single outline to be expanded by default. To do so, simply add the following JavaScript to the Course Progress page.

<script>
var $j = jQuery.noConflict();
$j(document).ready(function() {
$j('.wpcw_fe_course_progress_course a').closest('.wpcw_fe_summary_course_progress').find('#wpcw_fe_course_progress_detail_2').fadeIn('fast');
});
</script>
	
Replace the digit, in this case the number 2 "#wpcw_fe_course_progress_detail_2" with the ID of the course you want to expand.

Still need help? Contact Us Contact Us