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

    Is it possible to use Enfold in Posts?

    Thanks

    #349898

    Hey Micheal!

    If by Enfold you mean the Advanced Layout Builder, yes, just add this to theme / child theme functions.php:

    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('portfolio', 'page', 'post'), 'context'=>'normal', 'expandable'=>true );
    	$boxes[] = array( 'title' =>__('Layout','avia_framework' ), 'id'=>'layout', 'page'=>array('portfolio', 'page', 'post'), 'context'=>'side', 'priority'=>'low');
    	$boxes[] = array( 'title' =>__('Additional Portfolio Settings','avia_framework' ), 'id'=>'preview', 'page'=>array('portfolio', 'page', 'post'), 'context'=>'normal', 'priority'=>'high' );
    	
    	return $boxes;
    }

    Regards,
    Josue

    #349906

    Okay, so I will have to create a child theme?

    Thanks !!

    #349913

    Worked perfectly, thanks!!

    Here is a helpful link if somebody else stumbles on this:
    http://kriesi.at/documentation/enfold/using-a-child-theme/

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Enfold in Posts?’ is closed to new replies.