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 creating a custom Divi module, this snippet will make the custom module available within the full-width section menu.
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...