-jQuery(function(t){t(".glm-badge-alert").on("click",function(){t(this).fadeOut("slow"),"glm-badge-overlay"===t(this).parent().attr("id")&&t(this).parent().fadeOut("slow")})});
\ No newline at end of file
+jQuery(function(t){t(".glm-badge-alert").on("click",function(){t(this).fadeOut("slow"),"glm-badge-overlay"===t(this).parent().attr("id")&&t(this).parent().fadeOut("slow")}),t("#glm-badge-overlay").on("click",function(){t(this).fadeOut("slow")})});
\ No newline at end of file
*/
global $post;
$pt = $post->post_type;
-$ld_types = array('sfwd-courses','sfwd-lesses','sfwd-quiz');
+$ld_types = array('sfwd-courses','sfwd-lessons','sfwd-quiz','sfwd-topic');
$post_date = of_get_option('post_date');
$post_footer = of_get_option('post_footer');
$post_date_class = ((!empty($post_date) && $post_date == ' ') || has_post_thumbnail()) ? " no-date" : "";
<div class="entry-content">
<?php if( $pt === 'sfwd-courses'){ ?>
- <p> <?php echo $lesson_content; ?> </p>
+ <p> <?php //echo $lesson_content; ?> </p>
<?php } ?>
<?php the_content(); ?>
<?php
jQuery(function($){
$(".glm-badge-alert").on("click", function(){
-
$(this).fadeOut("slow");
if($(this).parent().attr("id") === "glm-badge-overlay"){
$(this).parent().fadeOut('slow');
}
});
+ $("#glm-badge-overlay").on("click", function(){
+ $(this).fadeOut("slow");
+ })
});
\ No newline at end of file
global $post;
$pt = $post->post_type;
$title = $post->post_name;
-$ld_types = array('sfwd-courses','sfwd-lessons','sfwd-quiz');
+$ld_types = array('sfwd-courses','sfwd-lessons','sfwd-quiz','sfwd-topic');
if(in_array($pt, $ld_types)){
$fw = 'full-width';
}else {
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'single' );
-
+
if(!in_array($pt, $ld_types)){
$post_pagination = of_get_option('post_pagination');