Let’s explain what I have. We have a CPT with in that a default loaded ACF Block. In that block there is an image gallery with some product images. Now we want to display that field only on our category page, which turned out to be a little harder than expected.
Because ACF Blocks are within the Gutenberg editor they get placed in the_content();. Is there a way to display a single field inside a block in the_content();?
I’ve also tried the clone field but without succes.
Viewing 1 post (of 1 total)
The topic ‘Get single field data from block on category page’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users