PHP – WordPress – Add a Read More Link

This following PHP example helps you to Add a read more link in WordPress.

Code Example:

function new_excerpt_more($post) {
	return '<a class="more" href="'. get_permalink($post->ID) . '">' . 'Read More...' . '</a>';
add_filter('excerpt_more', 'new_excerpt_more');

Post to Twitter Post to Digg Post to Facebook Post to Google Buzz Send Gmail

Leave a Comment

Your email address will not be published. Required fields are marked *