Title: Adding read more link
Last modified: August 20, 2016

---

# Adding read more link

 *  [prathamesh](https://wordpress.org/support/users/prathamesh/)
 * (@prathamesh)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/adding-read-more-link/)
 * I am using elbee-elgee theme i want to Modiy the theloop.php file so that the
   postinfo is displayed on another as whole post like read more link
    I have tried
   everything even changing the content with the excerpt and having the function
   function.php file my requirement is to get read more link without putting the
   more tag manually in the post i am posting the code here
 *     ```
       <?php
       	/* Start The Loop */ if (have_posts()) { while (have_posts()) { the_post(); ?>
       		<?php /* Permalink navigation has to be inside the loop */ if (is_single()) get_template_part('navigation'); ?>
       		<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
       			<?php lblg_before_post_title(); ?>
       			<?php if( !is_single() && !is_page() ) { ?><h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php echo strip_tags(get_the_title()) ?>"><?php the_title(); ?></a></h2>
       			<?php } else { ?><h1><?php the_title(); ?></h1><?php } ?>
   
       			<?php lblg_before_itemtext(); ?>
       			<div class="itemtext">
       				<?php
       				if ( is_archive() or is_search() or is_tag() ) {
       					the_excerpt();
       				} else {
   
       						the_excerpt();
       				}
       				wp_link_pages( array( 'before' => '<div class="post-pagination">Pages: ', 'after' => '</div>', 'next_or_number' => 'number'));
       				?>
       			</div>
       			<?php lblg_after_itemtext(); ?>
       			<!--
       				<?php trackback_rdf(); ?>
       			-->
       		</div>
       	<?php } /* End while */?>
       	<?php if(is_home() || is_archive()) get_template_part('navigation'); ?>
       	<?php } /*End loop*/ ?>
       ```
   
 * Thank you in advance

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/adding-read-more-link/#post-2411332)
 * try it with this in your theme’s functions.php: [http://codex.wordpress.org/Function_Reference/the_excerpt#Make_the_.22read_more.22_link_to_the_post](http://codex.wordpress.org/Function_Reference/the_excerpt#Make_the_.22read_more.22_link_to_the_post)
 *  Thread Starter [prathamesh](https://wordpress.org/support/users/prathamesh/)
 * (@prathamesh)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/adding-read-more-link/#post-2411333)
 * Like i said i have tried that also still not working
 *  [vjpo](https://wordpress.org/support/users/vjpo/)
 * (@vjpo)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/adding-read-more-link/#post-2411336)
 * No, you haven’t. The code that you posted in your [previous](http://wordpress.org/support/topic/read-more-linl?replies=5)
   topic is wrong :zzz
 *  [brightonmike](https://wordpress.org/support/users/brightonmike/)
 * (@brightonmike)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/adding-read-more-link/#post-2411339)
 * You can just do it manually using the permalink within the loop.
 *  Thread Starter [prathamesh](https://wordpress.org/support/users/prathamesh/)
 * (@prathamesh)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/adding-read-more-link/#post-2411340)
 * can u give the code???
    [@brightonmike](https://wordpress.org/support/users/brightonmike/)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Adding read more link’ is closed to new replies.

## Tags

 * [excerp](https://wordpress.org/support/topic-tag/excerp/)
 * [loop](https://wordpress.org/support/topic-tag/loop/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [prathamesh](https://wordpress.org/support/users/prathamesh/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/adding-read-more-link/#post-2411340)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
