Created
December 11, 2009 13:26
-
-
Save investic/254206 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Recortar un teaser (o campo de cck) sin que rompa las etiquetas | |
print drupal_substr(strip_tags($teaser), 0, 200).'leer más'; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment