-
AuthorPosts
-
May 16, 2023 at 11:40 am #1407559
Hello,
we have just updated enfold theme on a staging website from 4.5.4 to 5.6.2.
The website uses the custom post types ui plugin to create the cpt «arbeiten». We are using the enfold layout architect on those pages. Since the update the layout on all «arbeiten» is broken.
I have attached two screenshots to identify the problem. As you can see there is a whole lot of markup missing around the text section below the hero image. This missing markup is the same on all «arbeiten» postst. I tried to resave those pages but it stays the same.
Do you have any idea on how i can fix that?
May 16, 2023 at 11:44 am #1407561I have something else which is interesting for you but not related to my question above.
If you search for something in the support forum here and the entry (probably) returns no results, the following error message appears and the page crashes:There has been a critical error on this website.
May 17, 2023 at 4:33 am #1407686Hi,
Thank you for the inquiry.
You may need to add this filter in the functions.php file to re-enable ALB support for the custom post type.
function avf_alb_supported_post_types_mod( array $supported_post_types ) { $supported_post_types[] = 'arbeiten'; return $supported_post_types; } add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1);Make sure to replace “arbeiten” with the actual name or slug of the custom post type.
Have you tried using a different browser when searching in the forum? We will forward the issue to our channel.
Best regards,
IsmaelMay 17, 2023 at 8:23 am #1407709Hi,
thank you for your really quick answer.
I tried your suggested code and everything looks like before and is fixed.Thank you very much.
Regarding the search: I tried it today and now it is also working on every browser.
I guess this was a local problem on my machine.Best regards,
KayaMay 17, 2023 at 9:49 am #1407723Hi Kaya,
I’m glad that Ismael was able to assist you. :)
Thank you for choosing Enfold, and I wish you a fantastic day ahead!Best regards,
Nikko -
AuthorPosts
- The topic ‘Layout broken after update to 5.6.2’ is closed to new replies.
