Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #1365777

    it seams to be an error only on one installation of mine. All other Enfold 5.1.2 do not have this.
    look for example on :

    the last articles are not inside the content template-search container – so they look “unlayouted” – outside the normal container for the articles.

    does anybody got this too? And has an idea what could be the reason for it.
    I already disabled all plugins – and even cleared my customizations in my child-theme functions.php. – it is only that installation ???


    Hey Guenter,

    Thank you for the inquiry.

    We encountered this problem before and in one case, it turned out to be an issue with the post content, specifically the color section. I think the user enabled the excerpt or content in the search results. The issue in your installation might be different. Please check the following thread.


    Did you add any html tags to the post titles?

    Best regards,


    Yes you are right with that tip. on the last article – just before the layout is messed up – there was a codeblock inside with a functions.php code. All tags are closed correct – but there are comments inside that code. But even if there are non closed tags i thought that with : “display codeblock as code snippet” the codeblock encapsulates the whole thing so that nothing carries over to the outside anyway.

    it was that line here :

    $output .= "<article class='slide-entry flex_column {$style} {$post_class} {$grid} {$extraClass} {$thumb_class} post-format-{$post_format}' {$markup_article}>";

    i had to do this :

    $output .= "<article class='slide-entry flex_column {$style} {$post_class} {$grid} {$extraClass} {$thumb_class} post-format-{$post_format}' {$markup_article}/>";

    or behind that line :
    ( btw. double quotes will not work here)

    $output .= '</article>';

    yes now they are closed – but as mentioned above i thougt that the codeblock element will encapsulate it to be save in this way.

    • This reply was modified 4 days, 2 hours ago by  Guenni007.

    Hi Guenni,

    Thank you for the update.

    Good to know that the suggestion helped. What are the contents of the code block?

    Best regards,


    you can see here the page :
    you can see on the bottom that code-block. It is a part of postslider.php.
    And yes – i can see that the articel tag wasn’t closed before – but i do often post parts of code elements inside that code-block element. Never before i recognised such a result. But errors never occurred on the page/post itself; only in the search results page that error occurred.

    So can be closed – i only test now if the error occurs with Enfold code-block element only – or if it is due to the prism script to beautify codeblock element.


    Glad to hear that you have this sorted out, shall we close this then?

    Best regards,

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.