WordPress.org

Ready to get started?Download WordPress

Forums

Wp-Pro-Quiz
Shortcode and the_content() (3 posts)

  1. harryko
    Member
    Posted 1 year ago #

    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/

  2. xeno010
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Harry,

    Use:

    apply_filters( 'the_content', get_the_content() );

    or

    do_shortcode( get_the_content() );

    Regards,
    xeno010

  3. harryko
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.