Support

Account

Home Forums General Issues How to show a POST_OBJECT title Reply To: How to show a POST_OBJECT title

  • Hi @jarv81178

    You need to use this code <?php the_title(); ?> to show the post object title. It should be like this:

    if( $post_object ): 
        echo 'xx';
        // override $post
        $post = $post_object;
        setup_postdata( $post );
        the_title();
        echo 'Conference Streams: '.get_sub_field('conferencestream');
        wp_reset_postdata();
    endif;

    Also, please make sure that you set the “Select multiple values?” option to “No”.

    I hope this helps.