Home › Forums › Legacy Support › Support queries › Other issues › Collapse Course Timeline Accordion Style
- This topic has 11 replies, 4 voices, and was last updated 3 years, 11 months ago by Anshuman Sahu.
Viewing 12 posts - 1 through 12 (of 12 total)
-
AuthorPosts
-
April 3, 2020 at 10:32 am #248729bunrakaSpectatorHi support team, I'd like to have the course curriculum section collapsed as default. I searched the forum and found one video link: https://screencast-o-matic.com/watch/cDhYiHinQV Also tried the code below but it's not working. It would be great if you can tell me the right code. Thank you. jQuery(document).ready(function($){ setTimeout(function(){ $('body').find('li.section').each(function(){ $(this).trigger('click'); }); },2000); });April 4, 2020 at 12:27 pm #248981Anshuman SahuKeymasterPlease add this script in your wp-admin -> wplms -> footer -> google anaylitics script : <script>
jQuery(window).load(function($){
setTimeout(function(){
$('body').find('li.section').each(function(){
$(this).trigger('click');
});},100);
</script>
});April 5, 2020 at 11:47 am #249118bunrakaSpectatorThanks for the reply. Unfortunately, the code didn't work. Note that the 'Course status templates' option is set to 'Full Screen'. (Screenshot: https://prnt.sc/rtelqq)April 6, 2020 at 5:55 am #249212VeronicaModeratorhi, provide your course page url with admin credentials we will take a look.April 6, 2020 at 6:08 am #249216bunrakaSpectatorThis reply has been marked as private.April 7, 2020 at 6:52 am #249510VeronicaModeratorhi, you need to change this setting 'Course status templates' option is set to 'Full Screen'.April 7, 2020 at 11:30 am #249588bunrakaSpectatorHi, Sorry but I think you misunderstood. The 'Course status templates' option was already set to 'Full Screen'. (Screenshot: https://prnt.sc/rtelqq)The issue is my first post:
I'd like to have the course curriculum section collapsed as default. I searched the forum and found one video link:https://screencast-o-matic.com/watch/cDhYiHinQV
I tried both javascript codes written on above posts but it's not working.April 8, 2020 at 6:48 am #249760VeronicaModeratorThis reply has been marked as private.April 8, 2020 at 8:29 am #249791bunrakaSpectatorThis reply has been marked as private.April 9, 2020 at 2:04 pm #250149JacksonBlockedhello, please try this code in google analytics code. <script> jQuery(window).load(function($){ setTimeout(function(){ $('body').find('.vc_toggle.vc_toggle_simple.vc_toggle_color_default.vc_toggle_size_md').each(function(){ $(this).trigger('click'); }); },100); }); </script> alternate solution: i checked you are using wp-bakery to create the accordion here http://soritunenglish.com/course/%ec%86%8c%eb%a6%ac%ed%8a%9c%eb%8b%9d/ then find the option there to expand the accordion by default.April 11, 2020 at 6:15 am #250530bunrakaSpectatorHi Jackson, I tried your code but it's not working. And I'm afraid you misunderstood the issue. https://screencast-o-matic.com/watch/cDhYiHinQV The above video is what I'm asking for. I'd like to have the course curriculum section collapsed as default while the 'Course status templates' option is set to 'Full Screen'. It doesn't have to do with WP-Bakery.April 13, 2020 at 1:33 pm #250993Anshuman SahuKeymasterWell Im really sorry that cannot be automatically done as there are variety of check peroformed when user clicks on start/continue course buttons and we cant skip that . -
AuthorPosts
Viewing 12 posts - 1 through 12 (of 12 total)
- The topic ‘Collapse Course Timeline Accordion Style’ is closed to new replies.