Home Forums Gutenberg Incorrect blocks displayed in search results


Incorrect blocks displayed in search results

  • Hello, I wanted to give a preview of the content on a page in the search results.

    I wrapped the_content() in my search loop in a div with a fixed height, and set overflow to scroll. Looks great! The problem is after the third search result the blocks from other pages seem to start being confused and display on the wrong results.

    I might get the banner block from one page, then the majority of the correct blocks, with maybe a few of the wrong ones mixed in as well.

    Any idea what could be happening here?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.