title, content, feature images

in my testimonials section the title, and content do not show. the feature images show with extra image attached to each one. I’m new to php and word press. using WP 4.9 (here is my code)

What People Are Saying About Brad
‘testimonials’, ‘orderby’ => ‘post_id’, ‘order’ => ‘ASC’ ) ); ?>

<?php while( $loop->have_posts() ) : $loop->the_post(); ?>

<?php if ( has_post_thumbnail() ) {
the_post_thumbnail( array() );

<img src=”<?php bloginfo(‘stylesheet_directory’); ?>/assets/img/brennan.jpg” alt=”Brennan”>
</div><!– end col –>
<div class=”col-sm-8″>

<?php the_content; ?>
<cite>&mdash;<?php the_title; ?></cite>

</div><!– end col –>

</div><!– row –>
<?php endwhile; ?>

Read more here:: title, content, feature images

Leave a Reply

Your email address will not be published. Required fields are marked *