Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1266552

    Hello. I like your template very much and I am very pleased. I used the link to activate a new type of post: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#alb-for-any-post-type. After update wordpress to 5.6 the button ALB has disappeared, and the editor displays plain text. Any ideas on how to fix it?

    	/* Active ALB in new post type */
    	function avf_alb_supported_post_types_mod( array $supported_post_types ) {
    		$supported_post_types[] = 'specjalisci';
    		$supported_post_types[] = 'YOUR CUSTOM POST NAME';
    		return $supported_post_types;
    	}
    	add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1);
    	
    	
    	/* Add Avia-Editor to Archive */
    	function avf_metabox_layout_post_types_mod( array $supported_post_types ) {
    		$supported_post_types[] = 'specjalisci';
    		return $supported_post_types;
    	}
    	add_filter('avf_metabox_layout_post_types', 'avf_metabox_layout_post_types_mod', 10, 1);
    	
        /* show Post type in media */
    	add_theme_support('add_avia_builder_post_type_option');
    	add_theme_support('avia_template_builder_custom_post_type_grid');
    #1266553

    Hi,

    Sorry for the inconvenience!

    We are working on the WP 5.6 compatibility and will release it soon.
    In the meantime, please install this plugin – https://wordpress.org/plugins/enable-jquery-migrate-helper/ and in plugin settings set jQuery Version to “Legacy 1.12.4-wp” and check if that helps.

    Cheers!
    Yigit

    #1266668

    Unfortunately, it didn’t help.

    #1267044

    Hi likefps,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( to be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.

    Best regards,
    Nikko

    #1267232
    This reply has been marked as private.
    #1267377

    Hi likefps,

    Thanks, this is now fixed, I have replaced:

    function avf_alb_supported_post_types_mod( array $supported_post_types ) {
    	$supported_post_types[] = 'specjalisci';
    	$supported_post_types[] = 'YOUR CUSTOM POST NAME';
    	return $supported_post_types;
    }
    add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1);

    with:

    function avf_alb_supported_post_types_mod( array $supported_post_types ) {
    	$supported_post_types[] = 'specjalista';
    	return $supported_post_types;
    }
    add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1);

    Best regards,
    Nikko

    #1267432

    I’m sorry my mistake. I don’t know, I might have missed it. Thank you for your help.

    #1267454

    Hi,

    Glad Nikko could help! :)

    For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/

    If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)

    Enjoy the rest of your day!

    Best regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘ALB for new post type not working after wordpress 5.6 update.’ is closed to new replies.