The easiest way to add eWebinar widgets to WordPress is to use our WordPress plugin. It lets you save one or more widget snippets in WordPress and place them on pages or posts with a simple shortcode, without needing Advanced Custom Fields or Code Embed.
Download the plugin: ewebinar-widget-embed-1.1.2.zip
Install the eWebinar WordPress plugin
- Download the ZIP file above.
- In WordPress, go to Plugins > Add New Plugin > Upload Plugin.
- Choose the ZIP file, click Install Now, and then click Activate Plugin.
Add your eWebinar widget code
- In eWebinar, copy the full widget snippet for the widget you want to use, including the container and script tags.
- In WordPress, go to Settings > eWebinar Widget Embed.
- Click Add New Shortcode.
- Enter a short name for the widget, such as
registration,button, orfixedbar. - Paste the full eWebinar widget snippet into the Widget Code field.
- Click Save Changes.
Place the widget on a page or post
Add a WordPress shortcode wherever you want the widget to appear:
[ewebinar_widget name="registration"]
Replace registration with the name you created in the plugin settings. In the block editor, use a Shortcode block. In Elementor or another page builder, use its shortcode widget or shortcode block.
The plugin displays the widget HTML where the shortcode appears and moves the required script tags to the page footer once, which helps avoid conflicts with WordPress themes, page builders, and optimization plugins.
Use more than one widget
You can save multiple widget snippets in Settings > eWebinar Widget Embed. Give each one a different name, then place each one with its matching shortcode, for example:
[ewebinar_widget name="button"]
[ewebinar_widget name="fixedbar"]
If you cannot install the plugin
If your WordPress site does not allow custom plugins, the older approach shown in the video below can still work. It uses the third-party Advanced Custom Fields and Code Embed plugins to store widget snippets in custom fields and output them with Code Embed placeholders.
Use the plugin method above when possible. It is simpler, purpose-built for eWebinar widgets, and avoids the extra setup required by the older ACF + Code Embed method.