Skip to main content

WordPress: Missing YouTube Video or CTA

If YouTube embeds or CTA blocks are missing after publish, content is usually being transformed by WordPress/theme/plugin filters.

Common reasons

  • Embed HTML is stripped by sanitization rules
  • User role lacks unfiltered_html capability
  • Theme/page builder rewrites post content blocks
  • Cache/CDN serves stale version of the post

What to check first

  1. Open the WordPress editor for the affected post.
  2. Verify embed/CTA markup is present in the editor content.
  3. Compare front-end output vs editor content.

If present in editor but missing on front end, the issue is rendering/filtering, not generation.

Step-by-step fix

  1. Clear all caches:
    • WordPress cache plugin
    • Host/server cache
    • CDN cache
  2. Disable content-filtering plugins temporarily and test again.
  3. Confirm the connected user has adequate capabilities for embedded HTML.
  4. Re-sync or republish the article from Jottler.

Capability note (unfiltered_html)

Some setups require trusted roles/capabilities to preserve certain HTML embeds. Grant only where appropriate for your security model.

CTA rendering checks

  • Confirm your theme styles do not hide button/link blocks.
  • Confirm CTA markup is not removed by sanitizers.
  • Confirm block/class names still match theme CSS.