Support

Account

Home Forums Gutenberg Incorrect blocks displayed in search results

Unread

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.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.