SOLUTION:
You have to put your code inside this loop
<?php if(have_posts()): while(have_posts()): the_post(); ?> //your code for the content <?php echo wpautop( the_content() ); ?> <?php endwhile; endif;?>
SOLUTION:
You have to put your code inside this loop
<?php if(have_posts()): while(have_posts()): the_post(); ?> //your code for the content <?php echo wpautop( the_content() ); ?> <?php endwhile; endif;?>