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

    (@yourownprogrammer)

    Hi Tim,

    We are sorry but at the moment that’s not possible.

    Regards,

    YOP Team

    Thread Starter yoyoma1974

    (@yoyoma1974)

    What if I just enter the code from the Template After Vote? So if I were to add this code to the page:

    <div id="yop-poll-name-%POLL-ID%" class="yop-poll-name">%POLL-NAME%</div>
    <div id="yop-poll-question-%POLL-ID%" class="yop-poll-question">%POLL-QUESTION%</div>
    <div id="yop-poll-answers-%POLL-ID%" class="yop-poll-answers">
    	<ul>
    		[ANSWER_RESULT_CONTAINER]
    		<li class="yop-poll-li-result-%POLL-ID%">
    			<label class="pds-feedback-label-%POLL-ID%">
    				<span class="pds-answer-text-%POLL-ID%">%POLL-ANSWER-LABEL%</span>
    				<span class="pds-feedback-result-%POLL-ID%">
    					<span class="pds-feedback-per-%POLL-ID%"> %POLL-ANSWER-RESULT-LABEL%</span>
    				</span>
    			</label>
    			<div>
    			 %POLL-ANSWER-RESULT-BAR%
    		   </div>
    		</li>
    		[/ANSWER_RESULT_CONTAINER]
    	</ul>
    </div>
    <div id="yop-poll-vote-%POLL-ID%" class="yop-poll-footer">
    	<div>%POLL-TOTAL-ANSWERS%</div>
    	<div>%POLL-TOTAL-VOTES%</div>
    	<div id="yop-poll-back-%POLL-ID%">%POLL-BACK-TO-VOTE-LINK%</div>
    </div>
    Plugin Author YOP

    (@yourownprogrammer)

    Hi yoyoma1974,

    You can add the code in the Template Before Vote section and set View Results to Before Vote.

    Best wishes,

    YOP Team

    Thread Starter yoyoma1974

    (@yoyoma1974)

    hmmm, any plans to add a shortcode to easily show results independently for each specific poll? Would really make this a complete poll solution I think.

    Tim

    Plugin Author YOP

    (@yourownprogrammer)

    Hey Tim,

    Thanks for the suggestion.

    We will take it into consideration and implement it on a future version.

    Regards,

    YOP Team

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shortcode for results?’ is closed to new replies.