I have a custom post type called "Blog", in my templates I looping over the blog type and doing the following,
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<section class="news">
<h2 class="title"><?php echo strtolower(the_title()); ?></h2>
<h4><?php userphoto_the_author_thumbnail();?> Posted By <?php the_author(); ?> - <?php the_date("l jS M Y"); ?></h4>
<p class="tags">
<?php $tags = wp_get_post_tags($post->ID); ?>
<?php foreach ($tags as $tag) : ?>
<a href="<?php echo $tag->slug; ?>"> <?php echo $tag->name; ?> </a> |
<?php endforeach; ?>
</p>
<?php the_content("Read More"); ?>
</section>
<?php endwhile; endif; ?>
My post consists of this content,
Hello World I am teaser
<!--more-->
Hello World I am a the content
I am expecting the output to looks like this,
Hello Word I am teaser
<a href="link_url">Read More</a>
However what I am getting is the following,
Hello World I am teaser
Hello World I am a the content