How to Use Sparkforge Custom Values in WordPress
The LC WordPress Plugin syncs Sparkforge system and custom Custom Values into WordPress as shortcodes. Drop a shortcode on any page or post and it renders live data, refreshed every 12 hours or on manual sync.
The Custom Values integration in the LC WordPress Plugin displays live Sparkforge data inside WordPress pages and posts via shortcodes. The same personalization you already use in funnels, emails, and automations now works on your WordPress site — no coding required.
What Custom Values do in WordPress
Custom Values in WordPress sync the key:value pairs from your Sparkforge sub-account (system and user-defined) and expose them as WordPress shortcodes. When a visitor loads the page, the plugin pulls the latest data so your content stays current without manual edits.
Key benefits
- Omnichannel consistency — the same data drives automations, emails, and your website.
- Real-time updates — change a value in Sparkforge and WordPress reflects it on the next render.
- No-code setup — paste a shortcode instead of editing PHP.
- Reusable templates — build client sites with placeholders that auto-fill on sync.
How the sync works
The LC Plugin connects WordPress to your Sparkforge sub-account through OAuth. Once authorized, it:
- Fetches all system and user-defined Custom Values.
- Stores them locally for fast access.
- Resyncs automatically every 12 hours. Sync Now is available for manual refresh.
Using shortcodes
Drop the shortcode anywhere shortcodes work — Elementor, Divi, Bricks, Beaver Builder, Gutenberg, or the Classic Editor.
Syntax:
[hl_custom_value name="custom_values.your_key"]Example:
Wish You a Very [hl_custom_value name="custom_values.festive_greeting"]Custom Value Manager (WP Admin)
Open the Sparkforge Custom Values section in WordPress to:
- View each synced Custom Value and its current data.
- Copy shortcodes in one click.
- Trigger a manual resync or enable automatic syncing.
- Filter by folders matching your Sparkforge structure.
Caching considerations
If a caching plugin is active, stale data may appear. To avoid it:
- Enable Purge cache on resync.
- Avoid caching pages that show contact-specific values.
- Resync after updating values in Sparkforge.
Setup steps
- Confirm you're on LC Plugin 3.5.0 or higher.
- In WordPress Admin, open Sparkforge settings and click Connect Account.
- Authorize your Sparkforge login and pick the sub-account.
- Wait for the confirmation: Connected to Sparkforge.
- Open the Custom Values section to verify the import.
- Copy a shortcode and paste it into any page or post in your preferred builder.
Frequently Asked Questions
Does the plugin support contact-level values?
Will it slow down my site?
Can one WordPress install connect to multiple sub-accounts?
What happens if a value is deleted in Sparkforge?
Who can authorize the connection?
Was this article helpful?
Thanks for the feedback.