• QuadrantZero

    (@quadrantzero)


    Hi

    In the past the code below shows the results of the polls in the archive but it seems that doesn’t work anymore or at least I don’t know where to put it.
    ___________________________________________________________________
    Edit inc/yop_poll_model.php and look for

    ( ‘after-poll-end-date’ == $poll_options[‘view_results’] && self::get_mysql_curent_date() >= $this -> poll[‘end_date’] )

    (approximately on line 3343)

    After this line add

    || ( ‘after’ == $poll_options[‘view_results’] && self::get_mysql_curent_date() >= $this -> poll[‘end_date’] )

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

Viewing 1 replies (of 1 total)
  • Plugin Author YOP

    (@yourownprogrammer)

    Hello

    Do you want archive page to display only the results of the polls?

    Please let us know.

    Best
    YOP Team

Viewing 1 replies (of 1 total)

The topic ‘Poll Results on Archive’ is closed to new replies.