Tusko / ACF-CPT-Options-Pages

Small addon for ACF Options. Adds ACF options page per custom post type
GNU General Public License v3.0
74 stars 15 forks source link

CPT Created with CPT UI Plugin Not Shown in CPT Options Pages #14

Closed qazqer2 closed 6 years ago

qazqer2 commented 6 years ago

Hello i have a problem about my project,

When i try to enable my CPT that created with CPT UI Plugin to CPT Options Pages, i didn't found the CPT i created, like on this screenshot http://prntscr.com/k6af74

Can you help me to solve this problem?

Thanks

qazqer2 commented 6 years ago

Hello i found the solution. In the CPT UI, i forget to enable "Has Archive" options. After i enabled, the CPT show in the CPT Options Pages. Thanks your add ons is great and very helpfull for me :)

robert777robert777 commented 8 months ago

Enabling "has archive" (and disabling it after enabling the option page) is a workaround. Isn't it better to actually fix the code?

instead of using 'has_archive' => true isn't it more suitable to use 'public' => true ?