Tool Embeds and WordPress
WordPress is a widely used content management system for organizations and companies large and small. VoteAmerica Tool embeds are compatible with all modern versions of WordPress.
WordPress websites can be configured in different ways, meaning embedding the tools can be different website-to-website.
Some themes will allow you to paste the full embed code into the WordPress editor, but many will not.
The most reliable way to embed the tool in WordPress is to add the VoteAmerica script using
wp_enqueue_script(). You can find documentation here or adding the script tag directly to the theme files.
Once you’ve done that, you can put the
<div> tag from the snippet wherever you’d like.