Browse: Home / Snippets /

XML from WPProQuiz with one single question

Contents


Snippet #

Important: All snippets are provided as-is without support or guarantees. These snippets are provided as guidelines for advanced users looking to customize LearnDash. For any additional help or support with these snippets, we recommend reaching out to a LearnDash Expert.

<?xml version="1.0" encoding="utf-8"?>
<wpProQuiz>
    <header version="0.28" exportVersion="1" />
    <data>
        <quiz>
            <title titleHidden="false"><![CDATA[Quiz only 1]]></title>
            <text><![CDATA[AAZZAAZZ]]></text>
            <resultText gradeEnabled="false"><![CDATA[]]></resultText>
            <btnRestartQuizHidden>false</btnRestartQuizHidden>
            <btnViewQuestionHidden>false</btnViewQuestionHidden>
            <questionRandom>false</questionRandom>
            <answerRandom>false</answerRandom>
            <timeLimit>0</timeLimit>
            <showPoints>false</showPoints>
            <statistic activated="true" ipLock="0" />
            <quizRunOnce type="1" cookie="false" time="0">false</quizRunOnce>
            <numberedAnswer>false</numberedAnswer>
            <hideAnswerMessageBox>false</hideAnswerMessageBox>
            <disabledAnswerMark>false</disabledAnswerMark>
            <showMaxQuestion showMaxQuestionValue="1" showMaxQuestionPercent="false">false</showMaxQuestion>
            <toplist activated="false">
                <toplistDataAddPermissions>1</toplistDataAddPermissions>
                <toplistDataSort>1</toplistDataSort>
                <toplistDataAddMultiple>false</toplistDataAddMultiple>
                <toplistDataAddBlock>1</toplistDataAddBlock>
                <toplistDataShowLimit>1</toplistDataShowLimit>
                <toplistDataShowIn>0</toplistDataShowIn>
                <toplistDataCaptcha>false</toplistDataCaptcha>
                <toplistDataAddAutomatic>false</toplistDataAddAutomatic>
            </toplist>
            <showAverageResult>false</showAverageResult>
            <prerequisite>false</prerequisite>
            <showReviewQuestion>false</showReviewQuestion>
            <quizSummaryHide>false</quizSummaryHide>
            <skipQuestionDisabled>false</skipQuestionDisabled>
            <emailNotification>0</emailNotification>
            <userEmailNotification>false</userEmailNotification>
            <showCategoryScore>false</showCategoryScore>
            <hideResultCorrectQuestion>false</hideResultCorrectQuestion>
            <hideResultQuizTime>false</hideResultQuizTime>
            <hideResultPoints>false</hideResultPoints>
            <autostart>false</autostart>
            <forcingQuestionSolve>false</forcingQuestionSolve>
            <hideQuestionPositionOverview>false</hideQuestionPositionOverview>
            <hideQuestionNumbering>false</hideQuestionNumbering>
            <sortCategories>false</sortCategories>
            <showCategory>false</showCategory>
            <quizModus questionsPerPage="0">0</quizModus>
            <startOnlyRegisteredUser>false</startOnlyRegisteredUser>
            <forms activated="false" position="0" />
            <questions>
                <question answerType="single">
                    <title><![CDATA[What color is the sky?]]></title>
                    <points>1</points>
                    <questionText><![CDATA[What color is the sky?]]></questionText>
                    <correctMsg><![CDATA[]]></correctMsg>
                    <incorrectMsg><![CDATA[]]></incorrectMsg>
                    <tipMsg enabled="false"><![CDATA[]]></tipMsg>
                    <category />
                    <correctSameText>false</correctSameText>
                    <showPointsInBox>false</showPointsInBox>
                    <answerPointsActivated>false</answerPointsActivated>
                    <answerPointsDiffModusActivated>false</answerPointsDiffModusActivated>
                    <disableCorrect>false</disableCorrect>
                    <answers>
                        <answer points="0" correct="false">
                            <answerText html="false"><![CDATA[Red]]></answerText>
                            <stortText html="false"><![CDATA[]]></stortText>
                        </answer>
                        <answer points="0" correct="true">
                            <answerText html="false"><![CDATA[Blue]]></answerText>
                            <stortText html="false"><![CDATA[]]></stortText>
                        </answer>
                        <answer points="0" correct="false">
                            <answerText html="false"><![CDATA[White]]></answerText>
                            <stortText html="false"><![CDATA[]]></stortText>
                        </answer>
                    </answers>
                </question>
            </questions>
        </quiz>
    </data>
</wpProQuiz>