Title: Shortcode for results?
Last modified: August 21, 2016

---

# Shortcode for results?

 *  Resolved [yoyoma1974](https://wordpress.org/support/users/yoyoma1974/)
 * (@yoyoma1974)
 * [12 years ago](https://wordpress.org/support/topic/shortcode-for-results/)
 * Cool plugin. I know I can show results after a poll is submitted, but is there
   a shortcode to just show a poll’s results? I’d like to just show results on a
   certain page.
 * Thanks,
 * Tim
 * [https://wordpress.org/plugins/yop-poll/](https://wordpress.org/plugins/yop-poll/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [YOP](https://wordpress.org/support/users/yourownprogrammer/)
 * (@yourownprogrammer)
 * [12 years ago](https://wordpress.org/support/topic/shortcode-for-results/#post-4963165)
 * Hi Tim,
 * We are sorry but at the moment that’s not possible.
 * Regards,
 * YOP Team
 *  Thread Starter [yoyoma1974](https://wordpress.org/support/users/yoyoma1974/)
 * (@yoyoma1974)
 * [12 years ago](https://wordpress.org/support/topic/shortcode-for-results/#post-4963166)
 * 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](https://wordpress.org/support/users/yourownprogrammer/)
 * (@yourownprogrammer)
 * [12 years ago](https://wordpress.org/support/topic/shortcode-for-results/#post-4963205)
 * 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](https://wordpress.org/support/users/yoyoma1974/)
 * (@yoyoma1974)
 * [12 years ago](https://wordpress.org/support/topic/shortcode-for-results/#post-4963210)
 * 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](https://wordpress.org/support/users/yourownprogrammer/)
 * (@yourownprogrammer)
 * [12 years ago](https://wordpress.org/support/topic/shortcode-for-results/#post-4963212)
 * 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.

 * ![](https://ps.w.org/yop-poll/assets/icon-256x256.png?rev=3524390)
 * [YOP Poll](https://wordpress.org/plugins/yop-poll/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yop-poll/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yop-poll/)
 * [Active Topics](https://wordpress.org/support/plugin/yop-poll/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yop-poll/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yop-poll/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [YOP](https://wordpress.org/support/users/yourownprogrammer/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/shortcode-for-results/#post-4963212)
 * Status: resolved