Support » Plugins and Hacks » Wp-Pro-Quiz » Shortcode and the_content()

  • Hi,
    i’ve a problem with the shortcode.
    I try to show your quiz with Ajax call.
    I’ve created a post with [WpProQuiz 1].
    When I access directly the post everything is ok.
    My problem is when i try to show this post in the loop with “the_content()”.
    I only see [WpProQuiz 1] as a text…

    Have you ever seen it?

    Thanks in advance
    Harry

    http://wordpress.org/extend/plugins/wp-pro-quiz/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xeno010

    (@xeno010)


    Hello Harry,

    Use:

    apply_filters( 'the_content', get_the_content() );

    or

    do_shortcode( get_the_content() );

    Regards,
    xeno010

    Thanks for your answer.
    I try your code and now the page return nothing.
    The div where I want to show the quizz is blank 🙁
    Harry

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcode and the_content()’ is closed to new replies.