Title: Make &#8230; in [&#8230;] clickable
Last modified: August 19, 2016

---

# Make … in […] clickable

 *  [essdub](https://wordpress.org/support/users/essdub/)
 * (@essdub)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/make-in-clickable/)
 * Can the … in an excerpt be made clickable? As in, I’d like the … in the […] at
   the end of an excerpt to link to that post’s permalink. I looked in the codex
   but didn’t see any description of how to alter the actual excerpt. I’m also assuming
   I missed something there as well.
 * If someone could either point me to the right article or assist here, that’d 
   be super. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [wp_guy](https://wordpress.org/support/users/wp_guy/)
 * (@wp_guy)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/make-in-clickable/#post-759827)
 * Adding the following code to the functions.php of your theme should do the trick:
 *     ```
       function clickable_ellipsis($content){
   
       	$searchfor = '/\[(…)\]/';
       	$replacewith = '[<a href="'.get_permalink().'">$1</a>]';
   
       	$content = preg_replace($searchfor, $replacewith, $content);
       	return $content;
   
       }
   
       add_filter('the_excerpt', 'clickable_ellipsis');
       ```
   
 *  Thread Starter [essdub](https://wordpress.org/support/users/essdub/)
 * (@essdub)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/make-in-clickable/#post-759834)
 * Hmm. No dice. I plugged in your code just above another function (and made sure
   we have three periods in there and not that funky character that shows up in 
   your code) but my … are still just … and not clickable. You can see it at the
   bottom of this page: [http://epicmcc.org](http://epicmcc.org)
 *  [4k](https://wordpress.org/support/users/4k/)
 * (@4k)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/make-in-clickable/#post-759836)
 * try this [http://guff.szub.net/2005/02/26/the_excerpt-reloaded/](http://guff.szub.net/2005/02/26/the_excerpt-reloaded/)
 *  [wp_guy](https://wordpress.org/support/users/wp_guy/)
 * (@wp_guy)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/make-in-clickable/#post-759837)
 * yay… the funky character you mention is supposed to be an ellipsis character 
   which is different from three points “& # 8 2 3 0 ;” without the spaces… I’m 
   unable to paste it here without it converting to the actual ellipsis…
 * Like this:
 * [http://wpguy.com/files/code.txt](http://wpguy.com/files/code.txt)
 *  [wp_guy](https://wordpress.org/support/users/wp_guy/)
 * (@wp_guy)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/make-in-clickable/#post-759838)
 * Maybe it’ll be easier to use 4k’s suggested plugin… your call 😉

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Make … in […] clickable’ is closed to new replies.

## Tags

 * [excerpt](https://wordpress.org/support/topic-tag/excerpt/)
 * [permalink](https://wordpress.org/support/topic-tag/permalink/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [wp_guy](https://wordpress.org/support/users/wp_guy/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/make-in-clickable/#post-759838)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
