Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if( $excerpt ) {
- $sStrippedPost = strip_tags($post->post_excerpt);
- echo '
- <p>';
- echo substr($post->post_excerpt, 0, LEGNTE);
- if(strlen($post->post_excerpt) > LENGTE){
- echo '
- <a href="$post->PERMALINKHIER">Lees meer »</a>';
- }
- echo '
- </p>';
- }else
- the_excerpt();
- } ?>
Add Comment
Please, Sign In to add comment