tomusborne / generateblocks

GenerateBlocks is a small collection of lightweight WordPress blocks that can accomplish nearly anything.
https://generateblocks.com
195 stars 19 forks source link

Custom fields are not available in dynamic data dropdown for custom post type #1019

Closed quantumleap33 closed 1 year ago

quantumleap33 commented 1 year ago

Description

Custom fields are not available in dynamic data dropdown for custom post type.

Steps for testing

  1. Create a custom post type.
  2. Create an ACF field group and a few ACF custom fields and assign it to the custom post type.
  3. Activate Show REST API toggle from "Group settings" tab.
  4. Create a new custom post type post.
  5. Insert a headline and toggle the dynamic data.
  6. Select post meta as "Content Source".

Expected behavior

Post meta field dropdown should be populated

Actual behavior

Post meta field dropdown is not being populated

If the ACF field group is assigned to the core post type, the issue is not present, dropdown field is being populated.

quantumleap33 commented 1 year ago

I am closing the issue since a checkmark is needed on Custom Fields in advanced settings for the custom post type. https://i.imgur.com/VlFJZCz.png