Follow

Adding a giveaway to Wordpress blogs

Giveaways Plugin for Wordpress websites

If you are adding a giveaway to a Wordpress website you can use our Plugin which decreases the chances of conflicts with your website's code or other plugins that you may have installed.

After downloading the plugin and activating it on your website, when you are creating or editing a post or page in the Visual Editor of your Wordpress website you will see a button with PS on it. Clicking on this button allows you to add a campaign ID and automatically generates a 'shortcode' within your content. This shortcode will render the entry form's code when the post is published or viewed.

Related content:

Adding to websites without the Plugin

Adding your PromoSimple giveaway to your self-hosted WordPress blog is a matter of simply copying and pasting a snippet of code into your post or page within your WordPress content editor.

Copy your campaign code

When you are logged into your PromoSimple account and have created a new campaign, the final tab within the campaign builder is labeled ‘Publish’. Within the Publish section click on the Publish Campaign button. Use the Click to Copy button to copy the embed code to your clipboard.

Paste your campaign code into WordPress

Log into your WordPress admin and click to add a new Page or Post where you would like to host your giveaway. You can setup your post as you would any other with a title, text, tags and categories. Be sure that your admin is set to input text in HTML (not Visual) with tabs at the top of the input area. Paste your embed code into this area.

After pasting in your entry form do not use the visual editor. WordPress will alter your entry form code and the entry form will not display. Be sure to paste into the HTML editor and publish directly from there.

Publish your WordPress blog post or page
Be sure to click ‘Save Draft’ before previewing your page or post. This may also take a minute or so before everything renders correctly. That’s it! Publish your post and the entry form will show up in your blog post.

If the form does not display in Preview save your post as Private and then publish the post. When you view the post you will see how it will look to your users but visitors to your website will not see it until you make it public.

WordPress.com hosted blogs
For WordPress.com hosted blogs, unfortunately WordPress.com does not allow JavaScript or iFrames within your pages or posts. You can still use the hosted page from the publish page to add a link to your entry form on your blog or send users to your dedicated page on theGiveaways Directory. This will open a new window with only your entry form so that users can enter your giveaway.

1 Comments

  • Avatar
    nygehwbq15

    wafsdq

Please sign in to leave a comment.
Powered by Zendesk