From: Anthony Talarico Date: Mon, 30 Jul 2018 14:50:02 +0000 (-0400) Subject: adding quiz and course completion notifications, fixing the post type display for... X-Git-Tag: v1.0.0^2~21 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=dc5c3e97b270acfcddca7893dc87a983096f8f45;p=WP-Themes%2Fsaultstemarie360.git adding quiz and course completion notifications, fixing the post type display for the courses to look like pages --- diff --git a/assets/badge.png b/assets/badge.png new file mode 100644 index 0000000..f1b9848 Binary files /dev/null and b/assets/badge.png differ diff --git a/content-single.php b/content-single.php index cf2abf4..1466166 100644 --- a/content-single.php +++ b/content-single.php @@ -4,6 +4,7 @@ */ global $post; $pt = $post->post_type; +$ld_types = array('sfwd-courses','sfwd-lesses','sfwd-quiz'); $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" : ""; @@ -18,11 +19,11 @@ $lesson_content = $lessons_page->post_content; <?php echo esc_attr(get_the_title()); ?>

- +
@@ -30,7 +31,7 @@ $lesson_content = $lessons_page->post_content;
- +

diff --git a/footer.php b/footer.php index 8dd715b..8fc92b0 100644 --- a/footer.php +++ b/footer.php @@ -60,5 +60,52 @@
+
+
+ + You've passed the quiz +
+
+
+
+
+ + You've passed the quiz +
+
+
+