Title: layout box for custom types
Last modified: August 24, 2016

---

# layout box for custom types

 *  [ezhikorn](https://wordpress.org/support/users/ezhikorn/)
 * (@ezhikorn)
 * [11 years ago](https://wordpress.org/support/topic/layout-box-for-custom-types/)
 * I have added custom types with the help of CPT UI plugin.
 * When I edit or create a new item of custom type, I cannot see the layout box 
   for Genbu theme.
 * I understand that some add theme support has to be done.
 * Any help ?

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

 *  Theme Author [David Chandra Purnama](https://wordpress.org/support/users/turtlepod/)
 * (@turtlepod)
 * [11 years ago](https://wordpress.org/support/topic/layout-box-for-custom-types/#post-6089894)
 * I have never use CPT UI.
 * but, the layout meta box is added to all public post type and the post type need
   to be added via init hook (priority > 6).
 * you can add layout support to a post type using:
 *     ```
       add_post_type_support( $your_post_type, 'theme-layouts' );
       ```
   
 * the file / functions handling this functionality is available in:
    library/extensions/
   theme-layouts.php
 * the layout configuration is added via `add_theme_support( 'theme-layouts' );`
   in theme functions.php
 *  Thread Starter [ezhikorn](https://wordpress.org/support/users/ezhikorn/)
 * (@ezhikorn)
 * [11 years ago](https://wordpress.org/support/topic/layout-box-for-custom-types/#post-6089967)
 * Thank you, the add_post_type_support() in the child theme function.php did it
   well!

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

The topic ‘layout box for custom types’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/genbu/1.3.0/screenshot.png)
 * Genbu
 * [Support Threads](https://wordpress.org/support/theme/genbu/)
 * [Active Topics](https://wordpress.org/support/theme/genbu/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/genbu/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/genbu/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [ezhikorn](https://wordpress.org/support/users/ezhikorn/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/layout-box-for-custom-types/#post-6089967)
 * Status: not resolved