</article><!-- .post --> <?php } else { ?> <header> <h1><?php echo $woothemes_sensei->permissions_message['title']; ?> </h1> </header> <section class="entry fix"> <?php if (is_singular('lesson')) { echo Woothemes_Sensei_Lesson::lesson_excerpt($post); } ?> <div class="sensei-message alert"><?php echo $woothemes_sensei->permissions_message['message']; ?> </div> </section> <?php } // End If Statement ?> </article><!-- .post --> <?php
} // End If Statement if ('' != $lesson_complexity) { $html .= '<span class="lesson-complexity">' . apply_filters('sensei_complexity_text', __('Complexity: ', 'woothemes-sensei')) . $lesson_complexity . '</span>'; } if ($single_lesson_complete) { $html .= '<span class="lesson-status complete">' . apply_filters('sensei_complete_text', __('Complete', 'woothemes-sensei')) . '</span>'; } elseif ($user_lesson_status) { $html .= '<span class="lesson-status in-progress">' . apply_filters('sensei_in_progress_text', __('In Progress', 'woothemes-sensei')) . '</span>'; } // End If Statement $html .= '</p>'; $html .= '</header>'; // Image $html .= $woothemes_sensei->post_types->lesson->lesson_image($post_id); $html .= '<section class="entry">'; $html .= Woothemes_Sensei_Lesson::lesson_excerpt($post); $html .= '</section>'; $html .= '</article>'; echo $html; ?> <?php } // End While Loop ?> </section> </section> <?php }