-
AuthorPosts
-
September 6, 2019 at 9:40 pm #1135131
This is only happening on my custom post type, but the very first sections starts by pulling in the section close markup so all of my markup ends up outside the #wrap_all here.
What could be going on? Enfold is up to date and I went through and updated any of the custom code.September 6, 2019 at 10:59 pm #1135141Hey pippylu,
Have you tried disabling all active plugins to see if the issue resolves?
Best regards,
Jordan ShannonSeptember 7, 2019 at 2:51 am #1135180Yes, it still happens even with all plugins turned off.
September 7, 2019 at 6:32 pm #1135456Hi pippylu,
Does this still happen when you use the parent theme (Enfold)? instead of the child theme?
Best regards,
NikkoSeptember 8, 2019 at 4:03 pm #1135645Nope, it only happens in the child theme
September 9, 2019 at 4:58 am #1135786Hi pippylu,
Thanks for confirming, since you have modified section.php, the custom codes are causing the issue, you might just have missed something in the code and that if that’s fixed the issue should be resolved.
Best regards,
NikkoSeptember 9, 2019 at 10:10 pm #1136226Yes, but I already went through all the code and couldn’t find any issues. I literally strip the theme to nothing but the custom post type declaration and it’s still happening. Could it be something with the way the post type is configured?
September 9, 2019 at 10:34 pm #1136236Here is a dev site with all plugins turned off and child theme empty except for custom post type. Still happens…
September 10, 2019 at 2:51 pm #1136562Hi pippylu,
Thanks for providing the dev site.
I see what’s missing now, I have added this in your child theme’s functions.php:function avf_alb_supported_post_types_mod( array $supported_post_types ) { $supported_post_types[] = 'chinese'; return $supported_post_types; } add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1);For more information regarding this, you can refer to our documentation: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#alb-for-any-post-type
Best regards,
NikkoSeptember 10, 2019 at 5:23 pm #1136631Wonderful, thank you! That worked.
September 10, 2019 at 5:38 pm #1136645Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Weird markup output issue – sections’ is closed to new replies.
