Support

Account

Home Forums ACF PRO How do I output HTML-stripped the_content() including ACF blocks?

Unread

How do I output HTML-stripped the_content() including ACF blocks?

    • jakem

    • May 18, 2020 at 9:57 pm

    I want to output an HTML-tag-less the_content() that includes any and all ACF custom blocks.

    So, obviously the_content() outputs everything in the loop, but as soon as I try to strip HTML (for use in Schema’s articleBody), only native WP content is echoed — no ACF block content.

    How do I also output text-only ACF blocks within the_content()?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.