Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #584351

    Hi guys,

    I’m moving further along with developing my site and wanted to add “Custom Post Types” to be able to manage my “Events” separately from the built-in post types.

    I followed your video tutorial “Adding Layout Builder to Custom Post Types and Posts” to a T; and although I installed Types correctly and I can see “Events” now being displayed in my administrative WordPress menu, the Avia Layout Builder is a no show when I try to add a new Event.

    I configured my new Custom Post Type in Types

    Custom Post Type Plural: Events
    Custom Post Type Singular: Event
    Slug: event

    Following the video tutorial, I also modified “meta.php” in the Config folder as follows:

    $boxes = array(
    array( ‘title’ =>$av_default_title, ‘id’=>’avia_builder’, ‘page’=>array(‘post’,’portfolio’,’page’,’product’, ‘event’), ‘context’=>’normal’, ‘priority’=>’high’, ‘expandable’=>true ),
    array( ‘title’ =>__(‘Layout’,’avia_framework’ ), ‘id’=>’layout’, ‘page’=>array(‘portfolio’, ‘page’ , ‘post’, ‘event’), ‘context’=>’side’, ‘priority’=>’low’),
    array( ‘title’ =>__(‘Additional Portfolio Settings’,’avia_framework’ ), ‘id’=>’preview’, ‘page’=>array(‘portfolio’), ‘context’=>’normal’, ‘priority’=>’high’ ),
    array( ‘title’ =>__(‘Breadcrumb Hierarchy’,’avia_framework’ ), ‘id’=>’hierarchy’, ‘page’=>array(‘portfolio’), ‘context’=>’side’, ‘priority’=>’low’),
    );

    I realize that this tutorial is 3 years old by now; so, there’ve been a few updates since then.

    Where am I going wrong here? I would seriously appreciate any help or pointers.

    Many thanks.

    #584354

    Hey MadRhino!

    I can not find the tutorial you are refering to be honest, but can you look here please:
    http://kriesi.at/documentation/enfold/use-the-layout-builder-with-any-post-type/

    thanks a lot

    Cheers!
    Basilis

    #584594

    Thanks for the swift response Basilis,

    I followed your link and, if I understand the idea of creating a child theme correctly, then this would mean that I would literally loose all content that has been created under the main Enfold Theme. Is this correct or would just certain styles and functions take precedence over the main Enfold theme?

    Simply put, if I had a life website using the main Enfold theme and I would want to create a child theme now in order to be able to use Custom Post Types on my site. Would I need to start from scratch again?

    Please advise.

    #586897

    Hey!

    You can enable the child theme and import the parent theme options so you will not lose any settings or content. http://kriesi.at/documentation/enfold/using-a-child-theme/

    Cheers!
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.