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

    is it possible to integrate the two editors?

    i have created a good looking page using the advanced editor, but would like to add a “more” tag using the default editor to integrate with my members site. however, when i click on default editor everything disappears..

    are you able to suggest a solution?

    #407204

    Hi ptaljaard!

    Please turn on debugging mode to see shortcodes on default editor – http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/

    Cheers!
    Yigit

    #407438

    thanks, that worked.

    related to this, i’ve just added Wishlist Member plugin to allow members section protection. pages created with the advanced editor does not react to the protection added by the Wishlist plugin, but a simple text page created with the default editor does.

    do you have any recommendation about how I can troubleshoot this? is this a known integration issue?

    thanks

    #407862

    Hey!

    Maybe this filter will help to enable/disable the advance layout builder for specific user roles:

    add_filter('avf_builder_boxes','custom_post_types_options');
    function custom_post_types_options($boxes)
    {
    	$user_info = get_userdata(1);
    	$user_login = $user_info->user_login;
    	if ($user_login == 'admin') {
    	$boxes[] = array( 'title' =>__('Avia Layout Builder','avia_framework' ), 'id'=>'avia_builder', 'page'=>array('page'), 'context'=>'normal', 'expandable'=>true );
    	$boxes[] = array( 'title' =>__('Layout','avia_framework' ), 'id'=>'layout', 'page'=>array('page'), 'context'=>'side', 'priority'=>'low');
        $boxes[] = array( 'title' =>__('Additional Portfolio Settings','avia_framework' ), 'id'=>'preview', 'page'=>array('page'), 'context'=>'normal', 'priority'=>'high' );
    	}else {
    		$boxes[] = array( 'title' =>__('Avia Layout Builder','avia_framework' ), 'id'=>'avia_builder', 'page'=>array(), 'context'=>'normal', 'expandable'=>true );
    	$boxes[] = array( 'title' =>__('Layout','avia_framework' ), 'id'=>'layout', 'page'=>array('post','page'), 'context'=>'side', 'priority'=>'low');
        $boxes[] = array( 'title' =>__('Additional Portfolio Settings','avia_framework' ), 'id'=>'preview', 'page'=>array('post','page'), 'context'=>'normal', 'priority'=>'high' );
    	}
    	
    	return $boxes;
    }

    The code above will enable it for the user with the “admin” username. For user role conditionals, refer to this link: https://wordpress.org/support/topic/conditional-display-based-on-role

    Cheers!
    Ismael

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