Support » Plugin: YOP Poll » show end of voting timer

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author YOP

    (@yourownprogrammer)

    Hi thadfiebich,

    Edit the template you used for you poll and in the “Template Before Vote” section add %POLL-END-DATE% wherever you want it to be displayed.

    Best wishes,

    YOP team

    is it possible to change the date and time format?

    Plugin Author YOP

    (@yourownprogrammer)

    Hi,

    Yes, you can do that. Please tell us what date and time format you want and we will provide the instructions on how to change it.

    Regards,

    YOP Team

    09/19/2013 at 9:03AM

    I dont do military time

    Plugin Author YOP

    (@yourownprogrammer)

    Hey thadfiebich,

    Edit inc/yop_poll_model.php and on line 3175 replace

    $template = str_ireplace( ‘%POLL-END-DATE%’, esc_html( stripslashes( self::convert_date( $poll_details[‘end_date’], ‘d/m/Y H:i:s’) ) ), $template );

    with

    $template = str_ireplace( ‘%POLL-END-DATE%’, esc_html( stripslashes( self::convert_date( $poll_details[‘end_date’], ‘d/m/Y \a\t g:iA’) ) ), $template );

    Regards,

    YO Team

    Worked perfectly, thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘show end of voting timer’ is closed to new replies.