In the most recent tutorial we created a custom custom loop to use in Elementor so that we could display advanced custom fields (ACF) data right in the loop. In this tutorial we’re going to enhance that loop.

In websites built with ACF there are often fields that are not required, which means the post creator doesn’t have to fill out every field, like where they were when they first heard Thriller by Michael Jackson.

The trouble is that page designs rely on all fields being present so that the design looks as it should.

With what I’m going to show you today you can show/hide ACF data based on lots of conditions and when you “hide” the fields they don’t take up any space on the page.
Previous tutorial where we built the post loop in this tutorial:

Backup to tutorial:

Join our private Facebook group today!
Here are 20+ reasons why I host all my sites with SiteGround:
Post videos of your WordPress success using the hashtag #WPLLCommunity!

Get on the Unofficial Ultimate Guide To Elementor course waiting list here (no obligation):

Here’s the link for Elementor Pro (aff):

Grab your free 17-Point WordPress Pre-Launch PDF Checklist:

Download your exclusive 10-Point WP Security Checklist:

I hope this information helps you! If you have any questions leave a comment below or ping me @WPLearningLab on Twitter.

WP Learning Lab Channel: