• Resolved stephen_mca

    (@stephen_mca)


    Christian Schenk has a page with code for a random quiz generator for Contact Form 7:

    https://www.christianschenk.org/blog/generate-quiz-contact-form-7/

    The code is this:

    Here’s a small shell script that generates the necessary code for the quiz tag.

    for i in seq 1 9; do for j in seq 1 9; do sum=expr $i + $j test $sum -gt 9 && continue echo -n “\”$i+$j=?|$sum\” ” done done echo

    Can anyone tell me how I implement this script?

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Where to put code for random quiz generator?’ is closed to new replies.