Skip to content

Instantly share code, notes, and snippets.

View rohit-skywalker's full-sized avatar

Rohit Gupta rohit-skywalker

View GitHub Profile
<script>
jQuery(document).ready(function($){
setTimeout(function(){
$('body').find('.accordion.load_first .accordion-toggle.collapsed').trigger('click');
},1000);
});
</script>
[v_1_2 first_class="1"]
[v_text_block first_class="1" title="Content" animation_effect="" css_class="" container_css="" custom_css=""]<h5><strong>We would love to hear it from you</strong></h5><p>Curabitur lacinia tellus vitae quam pretium tincidunt. Phasellus condimentum neque erat, sit amet volutpat enim luctus ac. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi in urna eu lorem porttitor rutrum. Duis tortor nisi, viverra et posuere non, sodales sit amet mi. Morbi vitae sodales augue. Praesent libero nisl, convallis ac cursus et, dictum et mi.</p>[/v_text_block]
[/v_1_2]
[v_1_4]
[v_text_block title="Content" animation_effect="" css_class="" container_css="" custom_css=""]<h5><strong>Our Philosophy</strong></h5><p>Phasellus condimentum neque erat, sit amet volutpat enim luctus ac. Lorem ipsum dolor sit amet, consectetur adipiscing elit.&nbsp;Phasellus condimentum neque erat, sit amet volutpat enim luctus ac. Lorem ipsum dolor sit amet, consectetur adipiscing elit.&nbsp;</p>[/v_text_block]
[/v_
<script>
jQuery(document).ready(function($){
$('.unit_content').find('audio,video').each(function(){
if(typeof this.player !== "undefined"){
if(!$('#mark-complete').hasClass('tip')){return;}
var _player = this.player;
[iframevideo]<iframe width="560" height="315" src="https://www.youtube.com/embed/4qMtwGqa0ac" frameborder="0" allowfullscreen></iframe>[/iframevideo]
[v_2_3 first_class="1"]
[v_text_block title="Content" animation_effect="" css_class="" container_css="" custom_css=""]<p>[heading]What we do[/heading]<br>
We at WPLMS strive hard to achieve perfection for students as well as Instructors.&nbsp;There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable.</p>
<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable.</p>
<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form.</p>
[/v_text_block]
[/v_2_3]
[v_1_3]
[v_text_block title="Content" animation_effect="" css_class="" container_css="" custom_css=""]<p>[heading]History[/heading]<br>
[iframevideo] <iframe src="https://www.youtube.com/embed/_zSn_3JSrYs" width=
<script>
jQuery(document).ready(function($){
setTimeout(function(){
$('body').find('.course_curriculum .course_section>td').trigger('click');
},1000);
});
</script>
add_action('wp_head',function(){
if(bp_current_component() == 'members')
echo '<meta name="robots" content="noindex" />';
});
[v_stripe first_class="1"]
[v_text_block first_class="1" title="Content" animation_effect="" css_class="homeheading" container_css="halfblocks" custom_css=".halfblocks.stripe{
margin:0 -15px;
background:#14272E;
color:#ffffff;
margin-top:80px;}
.halfblocks img{margin:-10px 0;}
.halfblocks h3{ color:#ffffff;}
.halfblocks .one_third{padding:15px;}.halfblocks .column_content{text-align:center;padding:10px;border:1px solid rgba(255,255,255,0.8);}.halfblocks .numscroller{font-size:48px;color :#ffffff;}"]<p>[v_1_2]<img class="alignleft size-full wp-image-2343" src="http://themes.vibethemes.com/wplms/skins/demo5/wp-content/uploads/2016/02/stripeimg.jpg" alt="stripeimg" width="1000" height="667"></p><p>[/v_1_2][v_1_2]</p><h3 style="text-align: center;">&nbsp;</h3><h3 style="text-align: center;">&nbsp;We build Awesomeness</h3><p style="text-align: center;">The most amazing theme of the year</p><hr><p style="text-align: center;">Global leaders around the world have joined hands with WPLMS. The most complete Education t
add_filter('wplms_course_details_array','wplms_custom_course_details_information');
function wplms_custom_course_details_information($course_details){
$course_details['custom']= array(
'label' => 'custom',
'callback' => false,
);
return $course_details;
}
add_filter('wplms_course_details_widget','custom_info_course_widget',999999);