Search

How to Add Polls to your WordPress website or blog with YOP Poll plugin

IN THIS ARTICLE

If all you want is the short version: install YOP Poll, create a poll from your dashboard, then drop it into any post/page using the short code (or add it to a widget area). That’s it. The rest of this post just walks you through it step-by-step, so you don’t miss anything.
YOP-Polls-Plugin-WordPress
YOP Polls Plugin

Ever wondered how to add a poll to your WordPress post or page? You probably have — otherwise you wouldn’t be here 🙂 And yes, there are a bunch of poll plugins out there. Choosing one is mostly personal preference.

I’m using YOP Poll here because it lets you create multiple polls, style them, and even schedule them if you want polls to run one after another.

One quick thing before we start: WordPress has changed a lot over the years (especially with the block editor). But don’t worry, the flow with YOP Poll is still simple: create the poll → tweak settings → insert it into your page/post.

Creating a YOP Poll

To create a new poll, go to: YOP Poll → Add New Poll.

When you open it the first time, it looks like there are a million settings. Don’t stress. Most of them are optional.

Here are the only fields you really need to touch:

  • Poll Name

  • Question

  • Answers

Creating a YOP Poll
Creating a YOP Poll

After that, these are the settings worth checking (because they’re the ones people actually care about):

  • Want to remove the “Other” textbox?
    If you don’t want users typing their own answers, go to:
    Answers → Answers Advanced Options → Allow other answers and disable it.

  • Want it to run only for a specific time?
    Set Poll Start Date and Poll End Date.

  • Want to stop repeat voting? (usually yes)
    Go to Other Options → Limit Number of Votes per User and set it to 1.

If you know you’ll keep using the same settings for every poll, you can set default preferences under:
YOP Poll → Options (saves time later).

Styling your YOP Poll

YOP Poll gives you templates, so you don’t have to style everything from scratch.

While creating a poll, you can pick a style here:
Other Options → Poll Template / Widget Template

You can preview templates before choosing one, which makes it easier.

If you want to change basic display stuff (like poll width), check:
YOP Poll → Options → Display Options

And if you want more control (CSS-level control), you can edit templates or create your own here:
YOP Poll → Templates

Styling a YOP Poll
Styling a YOP Poll

Adding a YOP Poll to a WordPress Post/Page or Widget

You can add a poll in two common ways:

  1. Widget area (if your theme has widget zones)

  2. Inside a post/page using the poll insert option or short code

The simplest and most reliable method is the short code.

It’ll look like this:

[yop_poll id="1"]

Using it in the block editor (Gutenberg)

If you’re on the block editor (which most people are), just add a Shortcode block and paste the shortcode there.

If you paste it into a random paragraph block, WordPress sometimes doesn’t render it properly (and people think the plugin is broken when it isn’t).

Adding a YOP Poll to a Page or Post

Adding a YOP Poll to a Page or Post

Tracking ID (explained)

Tracking ID is only useful when you want the same poll on multiple pages, but you want to track results separately.

Example:

You use Poll ID 1 on two pages:

[yop_poll id="1" tr_id="post1"]
[yop_poll id="1" tr_id="post2"]

That way you’re not creating duplicate polls for no reason — but you still get separate tracking.

If you don’t need that, you can ignore tracking IDs completely.

An Example of a YOP Poll

An Example of a YOP Poll

Warnings (quick, but worth knowing)

Two things people usually mess up:

  • If you delete a poll, the stored results/logs can go with it.
    So don’t delete unless you’re sure you’re done with it.

  • If you test the poll before publishing a page, those votes are still counted.
    So if your results look “off,” it might just be your testing.
    You can reset stats from YOP Poll → All PollsReset Stats / Delete Logs.

Poll not showing up?
Use a Short code block (don’t paste it into random text blocks).Poll styling looks weird?
Your theme might be overriding plugin styles. Try switching poll templates first.

Results not updating while testing?
Caching plugins can do that. Clear your cache after voting.

Conclusion

That’s really all there is to it.

If you just want a simple way to add polls to your WordPress site, get quick opinions, run a small vote, or make a post more interactive, YOP Poll does the job without making things complicated. The flow stays the same every time: create the poll, tweak a couple of settings, then drop it into a post/page (or a widget area).

Before you hit publish, just keep these quick reminders in mind:

  • You don’t need to touch every setting, focus on the basics (question, answers, voting limits).

  • If you’re using the block editor, add the poll using a short code block so it shows up properly.

  • When you test the poll, remember your test votes are counted (and caching can make results look “stuck”).

  • If something looks off, you can always reset stats or clear logs from the poll list.

Once you’ve done it once, adding polls becomes one of those “two-minute tasks” you can repeat anytime you need it.

4 Responses

    1. Hi Sandeep,
      When you add a new Poll, there is an option to add ‘Custom Text Fields’. Add a new custom text field and label it ‘Email’, and check the ‘Required’ option. A user will then have to fill out this field to vote.

    1. Hi Mahamood,

      There could be a compatibility issue with the new theme. You should raise this issue on the wordpress.org support form for YOP plugin

Leave a Reply

Your email address will not be published. Required fields are marked *