UC WidgetsUC AcademyPlatform Guides

Installing UC Widgets on WordPress

Three ways to install on WordPress: via plugin, theme customizer or a code snippet plugin.

guide 4 min read Updated: 2026-08-13

Preparation

Create your widget in the panel and copy the one-line install code. Make sure the domain field holds your WordPress site's address.

Method 1: code snippet plugin (recommended)

  1. In WP admin, install WPCode (or any "header footer code" plugin) from Plugins › Add New.
  2. Open Code Snippets › Header & Footer.
  3. Paste the code into the Footer box and save.

This survives theme updates; it is the safest route.

Method 2: theme file

In Appearance › Theme File Editor open footer.php and paste the code just above the closing </body> tag. Note: theme updates wipe this change; prefer method 1 unless you use a child theme.

Method 3: theme customizer

Some themes (Astra, GeneratePress, OceanWP) offer a "Custom Scripts" or "Footer Code" box under Appearance › Customize; paste the code there.

Verify and troubleshoot

  • Open your site in a private window; the widget should appear bottom right.
  • If not, clear your cache plugin (LiteSpeed, WP Rocket etc.).
  • "Defer/combine JS" features can break the loader; exclude ucwidgets.com from those optimizations if needed.
Ready? Set it up in 5 minutes

All Pro features free for 14 days; no credit card, live with a single line of code.

Create a Free Account