Support

Account

Home Forums Gutenberg ACF Blocks not displaying on WC Shop page

Unread

ACF Blocks not displaying on WC Shop page

  • Hello,

    Given that my issue involves Woocommerce, I don’t know if this is the right place, but I’m having some trouble getting ACF blocks to appear on my Woocommerce Shop page (the product archive).

    I’m using ‘get_the_content’ and echoing it out, as the post id is not the shop id, and so I cannot simply do ‘the_content’ to echo out the blocks as I normally would.

    Using this method, WordPress’s core blocks appear fine, but the ACF blocks only appear as commented out JSON (I can see this in dev tools), and do not display on the front end. This issue only exists in the front-end – all blocks appear as normal in the backend. I am assuming this is some fundamental difference in how Core blocks and ACF blocks work, but I want to make sure I’m not missing something obvious. Does anyone have any ideas? Thanks very much in advance.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.