Display your wheel on specific posts only

While WP Optin Wheel has settings to choose where to display your wheels, it does not have a setting to show the wheel on individual blog posts (because there may be 1000s, which is too much to list). Instead, you can use this code snippet below. Find out how to safely add the code to your site here.

Supply your license key to unlock the code

Since this is a custom-coded snippet, please enter your license key so we can verify your purchase.

You’ll need to make 2 changes to this snippet:

  • On line 3, change 123 to your wheel ID.
  • On line 4, change the list of IDs to the ID’s of the posts you want the wheel to appear on.

Change display settings

Before you test the result, make sure to edit your wheel and go to the last step (“Settings”). In the “Behavior Settings” section, make sure to set “Show on pages” to “Everywhere”.

Need more code snippets to change the display settings of WP Optin Wheel? Here is a way to exclude certain pages from showing your wheel of fortune popup.

Was this article helpful?

Related Articles