</li> <?php } else { ?> <li<?php if (!empty($classes)) { echo ' class="' . esc_attr(implode(' ', $classes)) . '"'; } ?> > <a href="<?php the_permalink(); ?> "><?php the_title(); if (ib_edu_has_quiz(get_the_ID())) { echo ' (' . __('Quiz', 'ib-educator') . ')'; } ?> </a> </li> <?php } } echo '</ul></aside>'; wp_reset_postdata(); } ?> </div> </div> </section>
?> " class="<?php echo esc_attr(implode(' ', $classes)); ?> "> <h1><a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a></h1> <?php if (has_excerpt()) { ?> <div class="excerpt"> <?php the_excerpt(); ?> </div> <?php } ?> <?php if (ib_edu_has_quiz($lesson_id)) { echo '<div class="ib-edu-lesson-meta"><span class="quiz">' . __('Quiz', 'ibeducator') . '</span></div>'; } ?> </article>