Title: Need CODE help
Last modified: October 14, 2024

---

# Need CODE help

 *  [webexpert0143](https://wordpress.org/support/users/webexpert0143/)
 * (@webexpert0143)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/need-code-help-3/)
 * Hi Support,
   I am Creating a custom theme for wordpress.org. So I need CPT but
   theme doesn’t allow me to do that acc to wordpress code standard. But I use your
   plugin as depedency.But i didn’t get any way to create a Custom Post type by 
   code. I manulaly create a json file. But no such good way get to import that 
   json file after plugin actaivtaion.Could you please help me out in this.Thank
   You

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

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [1 year, 6 months ago](https://wordpress.org/support/topic/need-code-help-3/#post-18071660)
 * Not quite sure what to suggest here. The only import functionality that we have
   with the plugin is going to be for content type settings, via the `/wp-admin/
   admin.php?page=cptui_tools` menu and the “Post Types” and “Taxonomies” tabs where
   you can import blobs of JSON-encoded settings.
 *  Thread Starter [webexpert0143](https://wordpress.org/support/users/webexpert0143/)
 * (@webexpert0143)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/need-code-help-3/#post-18075621)
 * OK, Thank You for the reply. Is there any another way in code end.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [1 year, 5 months ago](https://wordpress.org/support/topic/need-code-help-3/#post-18076702)
 * Outside of registering the content types yourself with the theme, no not really,
   and apparently the coding standards for submitted themes don’t allow for providing
   custom ones by default, which is something I had never heard of previously, but
   I also don’t have any themes in the repo.
 * Any ideas I come up with now would most likely require site owner intervention
   to both install a plugin and then perform the import themselves. Nothing that
   would be automated by you, the theme developer.

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

The topic ‘Need CODE help’ is closed to new replies.

 * ![](https://ps.w.org/custom-post-type-ui/assets/icon-256x256.png?rev=2744389)
 * [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-type-ui/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-type-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-type-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-type-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-type-ui/reviews/)

## Tags

 * [development](https://wordpress.org/support/topic-tag/development/)

 * 3 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/need-code-help-3/#post-18076702)
 * Status: not a support question