WordPress.org

Ready to get started?Download WordPress

Forums

YOP Poll
[resolved] Shortcode not working (5 posts)

  1. paozinho
    Member
    Posted 7 months ago #

    Hello everybody...
    When I paste the shortcode [yop_poll id="1"] in the post text editor nothing happens..

    If you want take a look this is the url:
    http://clapiz-stage.espero.it/attivita/sondaggio-lorem-ipsum/

    I tried to unistall and reinstall the plugin but nothing happens..
    This is the list of other plugins on the site:

    Akismet
    Contact Form 7
    Event Geek
    Meta Slider
    WP User Avatar
    Newsletter Wysija

    I'm using wordpress twenty-twelve theme...
    Any idea to fix this problem ?

    Thank you very much
    Paoz

    http://wordpress.org/plugins/yop-poll/

  2. YOP
    Member
    Plugin Author

    Posted 7 months ago #

    Hi Paoz,

    Until we figure our what causes that problem, instead of shortcodes you can use <?php return_yop_poll( $poll_id ); ?>

    You have to add it to your wordpress theme template and $poll_id is your poll's id.

    Best wishes,

    YOP Team

  3. paozinho
    Member
    Posted 7 months ago #

    Hello, thank you very much... This would be perfect if i could pass the $poll_id dinamically, because i need to display different polls in the same page template... Is there a way to do this?

    Regards,
    Paoz

  4. YOP
    Member
    Plugin Author

    Posted 7 months ago #

    Hey Paoz,

    You could replace "$poll_id" with "-1" for Current active poll, "-2" for Latest Poll ID and "-3" for Random Poll.

    Best wishes,

    YOP Team

  5. paozinho
    Member
    Posted 7 months ago #

    Ok thank you...

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.