wordpress snippets last updated   : July 14, 2014
we now have 634 snippets

Add post class to posts with read more link

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will add a post class to posts that contain a read more link.

read more

Add “Read More” permalink to the end of the_excerpt

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will add a “read more” permalink at the end of the excerpt much like the_content does.

read more

Fix the read more link when using query_posts

wordpress snippet

When using query_posts to customize the query you may find that the “read more…” link no longer functions. Fixing this issue will require you to reset the $more variable. Add the following snippet just before the loop and things will start functioning properly again.

read more

Read more link trick

wordpress snippet

This little trick will allow you to change the text within the more link. When creating a post after you click the more button wordpress places a HTML comment change the text after the word more to change the text displayed within the more link.

read more
jqsnipp.com | we just launched jquery snippets website