How to add new custom post type?

Hello,

I would like to ask how i can duplicate for example the posts from WordPress and keep the Betheme builder on the new custom post type? Or how i can just add a new one for example Catalogs with the same functionality as the posts?

Kind regards,

Andreas

Comments

  • Hi,

    We do not have a feature for Custom Post Type creation. You would have to use a plugin for that, e.g., Toolset, or create it manually by editing the files, but we do not provide help with file customization, so you would have to contact your web developer regarding this.


    Best regards

  • Hi,

    What is the way so i can enable the BE builder in manual adding new custom post types? For example i create a catalog type but there is able to edit only with Wordpress editor, how i can enable the BE builder on the new custom post type? Is there any function i need to copy so that can be work?

    Or just please provide me with the files that portfolio is created so i can check on backend code how that works.


    Kind regards,

    Andreas

  • To enable BeBuilder for your own CPT, use this:

    // add in child theme functions.php
    
    add_filter('bebuilder_post_types','my_post_types');
    
    function my_post_types($post_types){
    	$post_types[] = 'my-custom-post-type';
    	return $post_types;
    }
    

    Best regards

Sign In or Register to comment.