I’m using WPSP to show Event Calendar events in the homepage, in a GeneratePress Element (but I hope to do it using a GP hook). I’m wondering if it’s possible to show a list only if it has content using a conditional?
I was sure I had already replied to your comment but seems not…
Does this apply only to posts-posts or also other post types? I tried it and couldn’t get it to work with the WPSP and Event Calendar events (post_type=tribe_events).
Also, if I manage this to work, how could I hide the container div, that’s even harder, right?