Title: Visual Composer Templatera Support
Last modified: August 22, 2016

---

# Visual Composer Templatera Support

 *  Resolved [brand-dedication](https://wordpress.org/support/users/brand-dedication/)
 * (@brand-dedication)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/visual-composer-templatera-support/)
 * Hi,
 * What kin of custom post type support is needed for Nested Pages so the sorting/
   interface can be used on that post type.
 * I once had this enabled for Templatera, the Visual Composer Templating system.
 * But since their update I can’t get it to work anymore.
 * I’ve set the heiarchical status to true and tested a bunch of other options, 
   and went through the register_post_type codex and it is just not working out 
   anymore for what I try.
 * Can you help me here? What may be needed other than just hierarchical support?
   Something blocking it?
 * Here is the code for Templatera in short…
 *     ```
       function createPostType() {
       			register_post_type( self::$post_type,
       				array(
       					'labels' => array(
       						'add_new_item' => __( 'Add template', "templatera" ),
       						'name' => __( 'VC Templates', "templatera" ),
       						'singular_name' => __( 'Template', "templatera" ),
       						'edit_item' => __( 'Edit Template', "templatera" ),
       						'view_item' => __( 'View Template', "templatera" ),
       						'search_items' => __( 'Search Templates', "templatera" ),
       						'not_found' => __( 'No Templates found', "templatera" ),
       						'not_found_in_trash' => __( 'No Templates found in Trash', "templatera" ),
       					),
       					'public' => false,
       					'has_archive' => false,
       					'show_in_nav_menus' => true,
       					'exclude_from_search' => true,
       					'publicly_queryable' => true,
       					'show_ui' => true,
       					'query_var' => true,
       					'capability_type' => 'post',
       					'hierarchical' => true,
       					'menu_position' => null,
       					'menu_icon' => $this->assetUrl( 'images/icon.gif' )
       				)
       			);
       		}
       ```
   
 * [https://wordpress.org/plugins/wp-nested-pages/](https://wordpress.org/plugins/wp-nested-pages/)

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

 *  Plugin Author [Kyle Phillips](https://wordpress.org/support/users/kylephillips/)
 * (@kylephillips)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/visual-composer-templatera-support/#post-5890941)
 * It’s most likely due to the “public” parameter being false.
 * If setting that to true resolves your problem, I will make some tweaks to the
   plugin to accommodate (another user was having a similar issue with another CPT,
   but I never got confirmation about a possible fix).
 *  Thread Starter [brand-dedication](https://wordpress.org/support/users/brand-dedication/)
 * (@brand-dedication)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/visual-composer-templatera-support/#post-5890943)
 * Hey Kyle,
 * This is the fix.
 * Oddly, I swear I did that at least 10 times and didn’t notice it.
 * It could of been something else playing with my head, I will keep an eye on.
 * But I did just set ‘public’ => true, and it works.
 * So this is confirmation!
 *  Thread Starter [brand-dedication](https://wordpress.org/support/users/brand-dedication/)
 * (@brand-dedication)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/visual-composer-templatera-support/#post-5890945)
 * Thanks for getting back so quick too.
 * If you want to test with Templatera, let me know.
 * Or when you make the update I will make sure to set the public back to false 
   and see if Nested Pages picks it up without it being set to true.
 * Then update you here about it.
 *  Plugin Author [Kyle Phillips](https://wordpress.org/support/users/kylephillips/)
 * (@kylephillips)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/visual-composer-templatera-support/#post-5890949)
 * Thanks for the confirmation. I’ll include a patch in the next release.
 *  Thread Starter [brand-dedication](https://wordpress.org/support/users/brand-dedication/)
 * (@brand-dedication)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/visual-composer-templatera-support/#post-5890953)
 * Welcome and the same.

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

The topic ‘Visual Composer Templatera Support’ is closed to new replies.

 * ![](https://ps.w.org/wp-nested-pages/assets/icon-128x128.png?rev=1690043)
 * [Nested Pages](https://wordpress.org/plugins/wp-nested-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-nested-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-nested-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-nested-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-nested-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-nested-pages/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [brand-dedication](https://wordpress.org/support/users/brand-dedication/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/visual-composer-templatera-support/#post-5890953)
 * Status: resolved