ACF: Adding a Body Class from the Options Page
WordPress already does a pretty great job of adding several helper classes to the body element to assist within styling and functionality. But what if you’d...
WordPress already does a pretty great job of adding several helper classes to the body element to assist within styling and functionality. But what if you’d...
When using the relationship ACF field, this snippet will exclude items of the specified CPT that don’t have an attached featured image.
This code example helps set a conditional that will retain the ‘full’ image size within an ACF gallery if the uploaded item is a GIF (thus...
In a previous post, I showed an example of how to retrieve taxonomy images that are attached via Advanced Custom Fields. However, what if you want...