Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

post object

<?php
$featured_post = get_field('featured_post');
if( $featured_post ): ?>
    <h3><?php echo esc_html( $featured_post->post_title ); ?></h3>
<?php endif; ?>
Source by www.advancedcustomfields.com #
 
PREVIOUS NEXT
Tagged: #post #object
ADD COMMENT
Topic
Name
9+6 =