Last active
October 22, 2020 11:26
-
-
Save jenhuls/041978a44141b21636d7c46fb3837a78 to your computer and use it in GitHub Desktop.
[ACF Text Field for Shortcode] #ACF #WordPress #shortcode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This allows a shortcode to be used in an ACF text field. | |
<?php | |
$revslider_shortcode = get_field( 'revolution_slider_shortcode' ); | |
echo do_shortcode($revslider_shortcode); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment