admin管理员组

文章数量:1122832

I have a query loop that disappears (by design) when it has no results (by not including a "No Results" block). I would like to find a way of making the Heading that precedes the query loop also disappear at the same time.

The reason is that this pattern (Heading/Query loop) is repeated on 100 different posts, only some of which have any results. I want the Heading block to appear ONLY when the query loop has results.

本文标签: Can I make a Heading block above a query loop block disappear when that query loop has no results