Home Forums ACF PRO Using ACF with a CPT Plugin


Using ACF with a CPT Plugin

  • I am not sure what details are needed so just ask but…

    I created a CPT as a plugin.
    I created a Field Group and assigned it to the CPT.

    I used the link

    I used the link to create and use the local json file. I updated the path to use: $path = dirname(__FILE__) . '/acf-json';

    If I use the ACF Pro plugin as an installed plugin for the adding of new CPT entries, all my layout, tabs, etc work fine.

    If I use what I did above for including the ACF code for the plugin inside my custom plugin for the CPT, then every thing field wise shows up, but it shows no tabs, json keys are shown and the layout is not working.

    What am I missing?

Viewing 1 post (of 1 total)

The topic ‘Using ACF with a CPT Plugin’ is closed to new replies.