-
AuthorPosts
-
December 11, 2020 at 3:07 pm #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');
December 11, 2020 at 3:13 pm #1266553Hi,
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!
YigitDecember 11, 2020 at 9:00 pm #1266668Unfortunately, it didn’t help.
December 14, 2020 at 9:14 am #1267044Hi likefps,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- 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 ). - Click ” Submit “.
- 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,
NikkoDecember 14, 2020 at 6:24 pm #1267232This reply has been marked as private.December 15, 2020 at 6:43 am #1267377Hi 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,
NikkoDecember 15, 2020 at 11:38 am #1267432I’m sorry my mistake. I don’t know, I might have missed it. Thank you for your help.
December 15, 2020 at 1:04 pm #1267454Hi,
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 -
AuthorPosts
- The topic ‘ALB for new post type not working after wordpress 5.6 update.’ is closed to new replies.