I have a problem with a varialbe which is not recovered.
I created a block called “Block: Articles” allowing, via Gutenberg, to display the articles, at choice:
– select the latest articles
– choose one or more articles in particular, among all existing ones
I also created another group of “Thumbnail image” control to add an image field to the post type Post.
Everything works fine in the queries, except when I ask to retrieve the information from the “Block – Article” block. In this case, it does not retrieve any information for the “Thumbnail image” control.
Should it be called another way than:
$ image = get_field (‘image_miniature’);