Hi,
I’m having an issue where the fields for a Custom Post Type (CPT) are not appearing in the Dynamic Data dropdown menu when I try to insert dynamic content (such as post title, excerpt, etc.) into elements like headings or text blocks.
Here is the situation and what I’ve already configured:
-
CPT Registration: The CPT (
servicio) is registered via PHP in my child theme with all the required parameters enabled, including:-
'public' => true -
'publicly_queryable' => true -
'show_in_rest' => true
-
-
Bricks Settings: I have already enabled this CPT under Bricks > Settings > Post Types.
-
Permalinks: Permalinks have been flushed and set to
%postname%. -
REST API: The REST API endpoint for the CPT is accessible and returning data correctly.
Despite these configurations, when editing a layout/template and opening the Select Dynamic Data picker on a text or heading element inside (or outside) a Query Loop, the CPT fields do not show up in the options list.
Could you please advise if there is an additional step or cache/hook required for Bricks to properly index these CPT fields in the Dynamic Data picker?
Environment details:
-
Bricks Version: 2.3.9
-
WordPress Version: 7.0.2
-
PHP Version: 8.3
Thanks.
