Title: Styling the Continue Reading link
Last modified: August 19, 2016

---

# Styling the Continue Reading link

 *  [Mooshu](https://wordpress.org/support/users/mooshu/)
 * (@mooshu)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/styling-the-continue-reading-link/)
 * I am having a problem with functions. I want to style the Continue Reading link,
   and have successfully written the function and the add filter code, as below:
 *     ```
       function read_more() {
       	return ' <a href="'. get_permalink() . '">' . __( '<span class="more-link">Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) . '</a></span>';
       }
   
       function continue_link( $output ) {
       	if ( has_excerpt() && ! is_attachment() ) {
       		$output .= read_more();
       	}
       	return $output;
       }
   
       remove_filter( 'get_the_excerpt', 'twentyten_custom_excerpt_more' );
       add_filter( 'get_the_excerpt', 'continue_link' );
       ```
   
 * This does add my styled link exactly where I want it, but the remove_filter function
   doesn’t remove the old Continue Reading link; I get both of them instead. It 
   may well be I’m not calling it properly, but having searched for three days, 
   I can’t figure out where the problem lies.
 * Any help would be much appreciated, thank you.

Viewing 1 replies (of 1 total)

 *  [waretz](https://wordpress.org/support/users/waretz/)
 * (@waretz)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/styling-the-continue-reading-link/#post-1584652)
 * Mooshu, Did you ever resolve this? I am getting the same behavior.

Viewing 1 replies (of 1 total)

The topic ‘Styling the Continue Reading link’ is closed to new replies.

## Tags

 * [continue reading link](https://wordpress.org/support/topic-tag/continue-reading-link/)
 * [functions](https://wordpress.org/support/topic-tag/functions/)

 * 1 reply
 * 2 participants
 * Last reply from: [waretz](https://wordpress.org/support/users/waretz/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/styling-the-continue-reading-link/#post-1584652)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
