v1.2.0 — Images & Registration Shortcodes
What's new
Event images from PCO
The plugin now pulls event header and logo images from Planning Center and saves them as WordPress featured images on each TEC event post. Images are only downloaded when PCO's URL changes — not on every sync — so it's efficient and won't flood your media library. Old images are automatically cleaned up when they're replaced.
New shortcodes
[pco_register id="42"]
Drops a styled Register Now button anywhere on your site — pages, posts, widgets, or inside TEC templates. Reads the registration URL directly from the synced event post. The id attribute is optional inside a TEC single-event context.
[pco_event_card id="42"]
A self-contained event card showing the featured image, title, date, venue, price range, description excerpt, and Register Now button. Every section can be toggled individually (show_image, show_date, show_location, show_price, show_desc).
Brand color setting
Settings → PCO Events Sync now has a Display & Branding section where you can set a global brand color for buttons and card accents. Can be overridden per-shortcode with color="#hex".
Shortcode reference
[pco_register id="42" label="Sign Up" color="#c0392b" new_tab="true"]
[pco_event_card id="42" show_desc="false" label="Reserve Your Spot" image_shape="square"]
Upgrade notes
The first sync after upgrading will attempt to sideload images for all existing events since the _pco_image_url meta won't exist yet. On a large calendar this may take longer than a normal sync. Use Sync Now rather than Force Full Re-sync for the first run. Image sideloading can be disabled under Settings → PCO Events Sync → Display & Branding if needed.
Full Changelog: v1.1.0...v1.2.0