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.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Clients need flexibility. Developers need a repeatable workflow that doesn’t have a steep learning curve. See how digital marketing agency Noiza found both with Advanced Custom Fields in our latest case study.https://t.co/BxQAy6COJt