Tagged: , ,

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

    Hi,

    I still miss the ALB for posts (this is a major limitation for this great theme IMHO).
    So I created a child theme and added:

    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', 'priority'=>'high', '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;
    }

    This works fine – only the comment box and the comments themselves are missing. Any idea how to activate the comments again after enabling the ALB for posts?

    Thanks a lot!

    Detlef

    #305424

    Solved it myself! Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘ALB enabled for posts – no comments showing’ is closed to new replies.