Quantcast
Channel: WordPress.org Forums » [Elementor Blocks for Gutenberg] Support
Viewing all articles
Browse latest Browse all 35

Elementor blocks breaks ACF rest API

$
0
0

Replies: 2

Not linking because this is an easily reproducible error that requires multiple changes to demonstrate. this is a 5 min setup on a local dev site.

Error

When using an elementor block inside of a post. The rest API no longer shows ACF fields, simply returns an empty array.

Proof of conflict

Remove the block from the post, the ACF fields show correctly in the API. Uninstall the plugin, all ACF fields show in the API.

Must haves to test:

  1. plugin slugs active: elementor, block-builder, advanced-custom-fields
  2. an elementor template
  3. post with elementor template added via block-builder block
  4. ACF field group with information in an acf field filled out, and field group has “show in rest API” turned on.

Viewing all articles
Browse latest Browse all 35

Trending Articles