Steps to show full post in Home Page – TechMaish WordPress theme

If you don’t have this theme, click here to download, navigate to Appearance–> Editor–> Index.php and follow the steps shown below,

Search for the following code,

<div class=”entry”>
<?php the_excerpt(); ?>
</div><!– .entry –>

Instead of <?php the_excerpt(); ?> add the following code

 <?php the_content(‘more…’); ?><div></div>

<?php wp_link_pages(array(‘before’ => ‘<div><strong><center>Pages: ‘, ‘after’ => ‘</center></strong></div>’, ‘next_or_number’ => ‘number’)); ?>

<?php the_tags(‘<div class=”post-tags”>Tags: ‘, ‘, ‘, ‘</div>’); ?>

I.e. should be like this

<div class=”entry”>
<?php the_content(‘more…’); ?><div class=”clear”></div>
<?php wp_link_pages(array(‘before’ => ‘<div><strong><center>Pages: ‘, ‘after’ => ‘</center></strong></div>’, ‘next_or_number’ => ‘number’)); ?>
<?php the_tags(‘<div class=”post-tags”>Tags: ‘, ‘, ‘, ‘</div>’); ?>
</div> <!– end of .entry –>

That’s it you are done..!

Update: If you wish to hide tags on homepage remove “<?php the_tags(‘<div>Tags: ‘, ‘, ‘, ‘</div>’); ?>”


Hi, you can follow me at Google + here

Share This Post

Recent Articles

Leave a Reply

© 2014 Chaetakadai.com. All rights reserved. · Entries RSS · Comments RSS
Powered by WordPress · and MyNewMachine.com