How to remove the excerpt in the Dzonia Lite theme

I am using Dzonia Lite theme in my website. My front page shows all the latest posts. I am getting an excerpt at the end of each post.

Could anyone suggest me how to remove that excerpt at the end of the post.

Below is the code that I have in my template file

<div class="post_content">

    <?php if ((function_exists('has_post_thumbnail')) && (has_post_thumbnail())) { ?>

    <a href="<?php the_permalink(); ?>">

    <?php the_post_thumbnail('post_thumbnail', array('class' => 'postimg')); ?>

    </a>

    <?php } else {

    ?>

    <a href="<?php the_permalink() ?>"><?php echo inkthemes_main_image(); ?></a>

    <?php

    }

    ?>

    <?php the_excerpt(); ?>
    
    <div class="clear"></div>

    <?php wp_link_pages(array('before' => '<div class="page-link"><span>' . 'Pages:' . '</span>', 'after' => '</div>')); ?>

    <?php edit_post_link('Edit', '', ''); ?>

</div>

<a href="<?php the_permalink() ?>" class="continue"><?php _e('Continue reading &rarr;', 'dzonia'); ?></a>

<div class="tags">

<?php the_tags('Post Tagged with ', ', ', ''); ?>

</div>

</div>

Related posts

2 comments

  1. You just need to replace this line:

    <?php the_excerpt(); ?>
    

    With this line:

    <?php the_content(); ?>
    

    That should insert your post’s content instead of an excerpt.

  2. If you want just a read more link instead, replace <?php the_excerpt(); ?> with:

    <a href="<?php the_permalink() ?>">Read more</a>
    

    This will create the same link as the image, just with text.

Comments are closed.