I want to load the post content only with no title, date, comment, etc info. Is there a way to grab the post only?
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php endwhile; ?>
<?php endif; ?>
Simply replace:
<?php get_template_part( 'content', get_post_format() ); ?>
With:
<?php the_content(); ?>
The former is looking for something like content-status.php or content-aside.php or most likely, in the case of a plain old 'post', content.php in your theme root.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With