Is there any way of only showing a grid if it's filled with content? I'm settings up the pages so that you either can choose to simply put the content in the content editor OR choose to create a grid with LayGridder – or both. I'm showing the grid in the page.php
template with <?php the_laygrid($id, $type); ?>
.
But at the moment, an empty div for LayGridder is displayed regardless of if the grid has any content or not, which affects the layout a bit since the empty div is taking up a bit of space.
So I'm wondering if there's any technique that you can use to see if the grid has any content and then conditionally output the markup for it depending on that boolean?