Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #908573

    Hi, I am using “Themeisle” custom post types – formerly Pippins Plugins – for many years. I have activated the builder in the meta settings for the custom post type and its all fine, however since the latest updated, 2.2, the “Layout Options” sidebar is missing. Is there some change to the code that requires it set somewhere else?

    #908575

    Hi roamingk!

    Please refer to this post – https://kriesi.at/documentation/enfold/use-the-layout-builder-with-any-post-type/

    Best regards,
    Yigit

    #908620

    ok, so the old way of editing the “meta” settings on the templatebuilder config is no longer valid?

    #909097

    Hi roamingk,

    The way proposed in the docs is much cleaner, don’t you think?

    Best regards,
    Victoria

    #913993

    Ok, I have multiple post types, but the example is not clear as to how to add more than one. I am getting an error when trying to update it. I think the issue is with the comma separator.

    function add_builder_to_posttype($metabox)
    {
    	foreach($metabox as &$meta)
    	{
    		if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout')
    		{
    			$meta['page'][] = 'event' ,'bar' ,'restaurants', 'saunas'; /*instead add the name of the custom post type here*/
    		}
    	}
    	
    
    	return $metabox;
    }
    #914033

    Hi,

    Glad we could help!
    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Basilis

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘"Layout Options" Missing from custom post type’ is closed to new replies.