• Resolved sagarthinkshaw

    (@sagarthinkshaw)


    Hi!

    I have old code in functions.php of my theme. But now I want to use another theme and I want to use CPT UI to create post type with new theme. so please share if there are any easy way to do this, like I pick all code from functions.php and put that somewhere in CPT UI or I need to create every post type again with CPT UI manually.

    Thanks In Advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    We don’t have any method to import a copy/paste of code, so it’s going to need to be manually done with copy/paste the labels and then configure the rest based on the dropdowns and whatnot. Since I know we do not have a 100% match for all the possible fields that can be done via PHP code versions (like capability management), we would need to filter in some values if they’re not present in CPTUI’s UI. We DO have filters to help with those parts.

    Thread Starter sagarthinkshaw

    (@sagarthinkshaw)

    Okay, Got it. Thanks.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Let us know if you need anything else.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘use old code from function.php to create post types with CPT UI’ is closed to new replies.