Created
January 9, 2017 07:06
-
-
Save antiden/28f7285cbd05e648822f0cc20820b730 to your computer and use it in GitHub Desktop.
WP ACF Field
This file contains 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
<?php if(get_field('logo')) { ?> | |
<?php echo get_field('logo', $post_id) ?> | |
<?php } ?> | |
<?php if(get_field('logo')) { ?> | |
<?php the_field('logo') ?> | |
<?php } ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment