Created
December 1, 2011 17:02
-
-
Save imagehat/1418214 to your computer and use it in GitHub Desktop.
EE snippet for appending read more link inside last closing html tag
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
{exp:low_replace | |
regex="yes" | |
find="(<\/(.*)>)(\s+)$" | |
replace="SPACE<a class='more' href='{title_permalink=bulletin}'>[read more]</a>$1" | |
} | |
{blog_excerpt} | |
{/exp:low_replace} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment