Skip to content

Instantly share code, notes, and snippets.

@crondeau
Created December 29, 2016 00:22
Show Gist options
  • Save crondeau/7726edf51fbd831d8f3c62196431f1ee to your computer and use it in GitHub Desktop.
Save crondeau/7726edf51fbd831d8f3c62196431f1ee to your computer and use it in GitHub Desktop.
When using ACF, it's handy to a single textfield and then get WP to apply the_content filter.
<?php echo apply_filters('the_content', get_field('name_of_your_acf') ) ; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment