Support » Plugin: Latest Posts Widget » More link addition?

Viewing 1 replies (of 1 total)
  • Never mind.

    I put in place the following in functions.php:

    // Replaces the excerpt "more" text by a link
    function new_excerpt_more($more) {
           global $post;
    	return '<a class="moretag" href="'. get_permalink($post->ID) . '"> . . . Read the rest of this Post.</a>';
    }
    add_filter('excerpt_more', 'new_excerpt_more');

    …based on the codex page: http://codex.wordpress.org/Customizing_the_Read_More

    would be cool if that was a function built-into the plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘More link addition?’ is closed to new replies.