fieldGroups Question #423
-
In the 'inc' folder there is a list of components for pages and another for posts. If I make a new custom post type = 'Movies' - how would I go about adding a new field group file? For example: movieComponents.php . I tried to substitute movieComponents for postComponents is the postComponents.php file and had no luck. Is there another step I am missing? Thanks in Advance. Dave |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi 👋 Yes, that's the right way to do it, for each CPT created, you can duplicate the pageComponents.php file and adapt it to your CPT. (don't forget to modify the location field too) |
Beta Was this translation helpful? Give feedback.
Hi 👋
Yes, that's the right way to do it, for each CPT created, you can duplicate the pageComponents.php file and adapt it to your CPT. (don't forget to modify the location field too)
Thomas