I wanted limited excerpt (40 words) with readmore link...I used this code below:
<?php echo apply_filters('the_excerpt',get_the_excerpt().'<a href="'.get_permalink().'"> read more </a>'); ?>
any help appreciated.
|
I wanted limited excerpt (40 words) with readmore link...I used this code below:
any help appreciated. |
|||
|
You can use the default filter for the length of
|
|||||
|
|
Just an addition to Bültge's answer. You can also alter the "Read more" text:
|
|||
|
|
|
thanks everybody, I solved my problem.... in function.php
in category.php
|
|||
|
|
the_excerpt();on WP Codex. – its_me Jul 16 '12 at 8:38