Support » Plugins » Hacks » WP Math Publisher encoding in Quizzin

  • Greetings,

    I want to create mathematics quizzes on my website using the Quizzin plugin. However I of course need to enter mathematical equations into my quizzes, and thus I want to use WP Math Publisher. However when I enter the [pmath] code into my quiz, it physically just types out [pmath] rather than converting it into the mathematical form.

    Can anyone help me understand what the issue is within the coding, and how to fix this issue?

    I think it might be because of this code in the WP Math Publisher:

    // Register our WordPress text filter, to_phpmath, into the two hook routines, the_content and comment_text.
    // Register comment_text updates after all priorty comment processing filters.
    // Note: calling the comment filter first, before the content filter, fixed comment_RSS feed errors.
    remove_filter(‘comment_text’, ‘to_phpmath’);
    } else {
    add_filter(‘comment_text’, ‘to_phpmath’);

    I’m assuming that if I want to get WP Math Publisher’s filter to work on Quizzin, then I need to add some sort of:

    add_filter(‘_________’, ‘to_phpmath’);

    to my WP Math Publisher plugin. However, I do not know what I need to enter into the blank to make it filter over Quizzin.

    Thanks for any insights!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP Math Publisher encoding in Quizzin’ is closed to new replies.