Ejemplo n.º 1
0
 *
 * Override this template by copying it to yourtheme/sensei/single-quiz/question_type-file-upload.php
 *
 * @author 		Automattic
 * @package 	Sensei
 * @category    Templates
 * @version     1.9.0
 */
?>

<?php 
/**
 * Get the question data with the current quiz id
 * All data is loaded in this array to keep the template clean.
 */
$question_data = WooThemes_Sensei_Question::get_template_data(sensei_get_the_question_id(), get_the_ID());
?>

<?php 
if ($question_data['question_helptext']) {
    ?>

    <?php 
    echo apply_filters('the_content', $question_data['question_helptext']);
    ?>

<?php 
}
?>

<?php 
Ejemplo n.º 2
0
            do_action('sensei_quiz_question_inside_before', sensei_get_the_question_id());
            ?>

	                        <?php 
            sensei_the_question_content();
            ?>

	                        <?php 
            /**
             * Action inside before the question content on single-quiz page
             *
             * @hooked WooThemes_Sensei_Question::answer_feedback_notes
             *
             * @param string $the_question_id
             */
            do_action('sensei_quiz_question_inside_after', sensei_get_the_question_id());
            ?>

	                    </li>

	                <?php 
        }
        ?>

	                </ol>

	                <?php 
        /**
         * Action inside before the question content on single-quiz page
         *
         * @param string $the_quiz_id