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

    My web is http://www.harefieldchurch.org and we are using the Enfold theme. For all the pages we are using the transparency header with a color section and an image in ‘fixed’ mode.
    We are using the Tribe Events Calendar plugin and would like to have the heading and a picture to be the same as the rest of the website.
    How do I do this? Can I edit the template ?

    #302163

    Hey!

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

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

    That way the ALB and the Layout Options will be available when editing the Events.

    Cheers!
    Josue

    #302235

    Thanks.
    Is it possible to have a default setting for the headers using transparency with image rather than setting up each event or a new page

    #302356

    Hey!

    Unfortunately, no, it’s not possible yet. You need to apply the transparency option for each post.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Defaut template’ is closed to new replies.