Support » Plugins and Hacks » Custom Post Type UI » [Resolved] Use Post Type UI and Advanced Custom Fields together

[Resolved] Use Post Type UI and Advanced Custom Fields together

  • Hey there,

    I’m building a WordPress premium theme. I intend to use Post Type UI together with Advanced Custom Fields.

    I know that I can integrate my settings made in Advanced Custom Fields directly into the theme so my users don’t need to use the plugin to use the features when using the theme.

    However, is it also possible to use the Custom Post Types made with Post Type UI in my theme without using the actual plugin?

    Looking forward to hear back from you!



Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Michael Beckwith


    In its current form, if I’m understanding you correctly, I don’t believe so. We definitely store a couple options that have all the post type/taxonomy settings, but the plugin itself is needed to fetch those options and do the actual registering via register_post_type and register_taxonomy functions. I know I have a branch in github for the next major version, but I’ve been busy with other work and haven’t been able to pick it back up again. I don’t forsee your inferred usage need to be solved with the next version either.

    At best I think the closest we’d have is a “get code” bit where you can get a block of code that registers each post type/taxonomy that you can copy/paste into your own theme files. Not sure if that’s what you need though.

    Hey Michael.
    Thanks for your good answer 🙂

    Regarding your last section “At best…”: Does this mean that I would be able to get the code for my post types and add it to the function file (and then remove the plugin) or does the plugin still need to be activated?

    If the plugin needs to be activatd, is there any way to hide the plugin settings from the dashboard?

    Once again, thanks a lot!
    Mika 🙂

    Plugin Author Michael Beckwith


    Correct, with that last paragraph from me, you can use that functionality to get everything you need to migrate away from our plugin completely. Save the generated code to your functions.php and then you could disable CPTUI without issue.

    Great Michael. Thanks a lot!


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Use Post Type UI and Advanced Custom Fields together’ is closed to new replies.
Skip to toolbar