Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #304407

    Is that possible? Also, I like that I can remove the header and footer in the page settings, but why not in the posts as well? Is there a reason why we can’t have the page builder active in posts as well?

    Thanks!

    #304721

    Hey!

    Try adding this at the very end of your theme / child theme functions.php file:

    add_theme_support('add_avia_builder_post_type_option');
    add_filter('avf_builder_boxes','enable_boxes_on_posts');
    function enable_boxes_on_posts($boxes) {
    	$boxes[] = array( 'title' =>__('Avia Layout Builder','avia_framework' ), 'id'=>'avia_builder', 'page'=>array('page','post', 'portfolio'), 'context'=>'normal', 'expandable'=>true );
    	$boxes[] = array( 'title' =>__('Layout','avia_framework' ), 'id'=>'layout', 'page'=>array('page','post', 'portfolio'), 'context'=>'side', 'priority'=>'low');
    	$boxes[] = array( 'title' =>__('Additional Portfolio Settings','avia_framework' ), 'id'=>'preview', 'page'=>array('page','post','portfolio'), 'context'=>'normal', 'priority'=>'high' );
    	
    	return $boxes;
    }
    

    Cheers!
    Josue

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