Hi,
I have a site that has a custom post type which I’ve enabled the Avia layout builder with by adding the following code to the functions.php page:
add_filter(‘avf_builder_boxes’,’custom_post_types_options’);
function custom_post_types_options($boxes)
{
$boxes[] = array( 'title' =>__('Avia Layout Builder','avia_framework' ), 'id'=>'avia_builder', 'page'=>array('procurement-pages'), 'context'=>'normal', 'expandable'=>true );
$boxes[] = array( 'title' =>__('Layout','avia_framework' ), 'id'=>'layout', 'page'=>array('procurement-pages'), 'context'=>'side', 'priority'=>'low');
$boxes[] = array( 'title' =>__('Additional Portfolio Settings','avia_framework' ), 'id'=>'preview', 'page'=>array('procurement-pages'), 'context'=>'normal', 'priority'=>'high' );
return $boxes;
}
I did this a couple of weeks ago and then added several of the CPT pages without a problem.
Now I need to add some regular pages, but I’ve noticed there is no option to select “Layout Builder”. I tried installing classic editor (because it currently uses gutenberg) and I can see “Avia Layout Builder” in screen options but nothing on the actual page to activate it.
Pages that already use the layout builder seem okay, but it’s just new pages that I cannot work out how to use it on, just regular gutenberg blocks.
I’m using an enfold-child theme with Enfold 4.5.2.
Can anyone help?
Thanks Alex