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: https://www.youtube.com/watch?v=SB-zz7ClleU&list=PLlgSvQqMfii43fgFEUia0ooe-7usYdpXc

Backup to tutorial: https://www.youtube.com/watch?v=D1aYbayFpfU&list=PLlgSvQqMfii4l2cVV1TZ7j_kHs_2qmf4b

Join our private Facebook group today! https://www.facebook.com/groups/wplearninglab
//*
Here are 20+ reasons why I host all my sites with SiteGround: https://wplearninglab.com/siteground-wordpress-hosting-review/
//*
Post videos of your WordPress success using the hashtag #WPLLCommunity!

Get on the Unofficial Ultimate Guide To Elementor course waiting list here (no obligation): https://elementor.convertri.com/elementor-guide-waiting-list

Here’s the link for Elementor Pro (aff): https://wplearninglab.com/recommends/elementor

Grab your free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL

Download your exclusive 10-Point WP Security Checklist: http://bit.ly/10point-wordpress-hardening-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: http://www.youtube.com/subscription_center?add_user=wplearninglab

source