Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #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.

    #1135141

    Hey pippylu,

    Have you tried disabling all active plugins to see if the issue resolves?

    Best regards,
    Jordan Shannon

    #1135180

    Yes, it still happens even with all plugins turned off.

    #1135456

    Hi pippylu,

    Does this still happen when you use the parent theme (Enfold)? instead of the child theme?

    Best regards,
    Nikko

    #1135645

    Nope, it only happens in the child theme

    #1135786

    Hi 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,
    Nikko

    #1136226

    Yes, 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?

    #1136236

    Here is a dev site with all plugins turned off and child theme empty except for custom post type. Still happens…

    #1136562

    Hi 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,
    Nikko

    #1136631

    Wonderful, thank you! That worked.

    #1136645

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Weird markup output issue – sections’ is closed to new replies.