Support » Plugin: YOP Poll » Missing View Poll Archive link

  • Resolved ercanrua


    I seem to be missing the View Poll Archive link, assuming there should be one in my widget along with the Vote button and the View Results link.

    I’ve added a Poll Archive menu item so folk can see the archive page, but assume there should be a link in the poll widget as it’s a series of settings in YOP Poll | YOP Poll Options | Archive Options.

    Am I wrong in this? or do I have something wrong in my site, I wonder?…


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



    By default, there is no link for Poll Archive in YOP Poll Widget.
    If you want to have the link appear, you will need to edit the templates to add the link.

    Please let us know if you need more help with this.

    Best Regards,
    YOP Team

    But I should expect to see Poll Archive on the Polls page, then?

    I guess my problem is that of understanding at the moment. I don’t see the archive anywhere, unless I create a page for it and link directly to that.

    If there are settings for View Poll Archive Link and View Poll Archive Link Label, I figure I should be expecting to see the link show up somewhere! Shouldn’t I?

    I’m okay, I think, with making a change to the template php if I need to, though. I presume that would be yop_poll.php, right? Any tips or suggestions?


    Plugin Author YOP


    If you want to show a link to the polls archive, you can edit the template(s) you are using for your polls to add the following code


    For example:

    <div id="yop-poll-results-%POLL-ID%">%POLL-VIEW-RESULT-LINK%</div>

    Also, you will need to have View Poll Archive Link set to Yes.

    Please let us know if you have further questions.

    Best Regards,
    YOP Team

    Absolutely perfect. Just what I was looking for, thanks!

    For anyone else interested, I made the following changes:

    To “Template Before Vote”

    <div id="yop-poll-results-%POLL-ID%">%POLL-VIEW-RESULT-LINK%</br>

    To “Template After Vote”

    <div id="yop-poll-back-%POLL-ID%">%POLL-BACK-TO-VOTE-LINK%
              <span style="float:right;">%POLL-VIEW-ARCHIVE-LINK%</span></div>

    And in the CSS

    #yop-poll-vote-%POLL-ID% div#yop-poll-results-%POLL-ID% {
        float: right;
        margin-bottom: 0px; /*** was 20px ***/
        margin-top: -20px;
        width: auto;

    Thanks, YOP!

    Is the polls archive a virtual page or do we have to create it and insert some shortcode into it?

    At the moment the link I use in the “Poll Archive Url:” field is non-existing and leads to nowhere when followed.

    Plugin Author YOP


    Hi kalligator,

    You can create a new page and add [yop_poll_archive] to it.
    Then copy the link to the page you’ve just created in
    “Poll Archive Url:” field


    YOP Team

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Missing View Poll Archive link’ is closed to new replies.