Title: Remove author link
Last modified: August 20, 2016

---

# Remove author link

 *  [Mikeyvdb](https://wordpress.org/support/users/mikeyvdb/)
 * (@mikeyvdb)
 * [14 years ago](https://wordpress.org/support/topic/remove-author-link/)
 * I want to remove the link from the authors name. When it says posted by [name],
   you can click on the name and get all the posts from that author. How do i remove
   this, so it’s only text?

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years ago](https://wordpress.org/support/topic/remove-author-link/#post-2699026)
 * wht theme are you using?
 * do you want to change this in index and archive pages and single posts?
 *  Thread Starter [Mikeyvdb](https://wordpress.org/support/users/mikeyvdb/)
 * (@mikeyvdb)
 * [14 years ago](https://wordpress.org/support/topic/remove-author-link/#post-2699029)
 * I’m using a custom theme. And i want to remove it on single pages :).
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years ago](https://wordpress.org/support/topic/remove-author-link/#post-2699035)
 * custom as in
    – ‘self-made’ ? – or commercial? – or build for you by somebody?
 * in either case, you need to locate the code for the author output in the single.
   php template.
 * most author related functions have the word ‘author’ in the function call.
 * replace what you find with `the_author()`
    [http://codex.wordpress.org/Function_Reference/the_author](http://codex.wordpress.org/Function_Reference/the_author)
 * you can also paste the full code of single.php into a [http://pastebin.com/](http://pastebin.com/)
   and post the link to it here; how-to: [http://codex.wordpress.org/Forum_Welcome#Posting_Code](http://codex.wordpress.org/Forum_Welcome#Posting_Code)
 * if you are using a commercial theme, please contact the theme’s seller for support.
 *  Thread Starter [Mikeyvdb](https://wordpress.org/support/users/mikeyvdb/)
 * (@mikeyvdb)
 * [14 years ago](https://wordpress.org/support/topic/remove-author-link/#post-2699052)
 * [http://pastebin.com/Hd5pXC10](http://pastebin.com/Hd5pXC10)
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years ago](https://wordpress.org/support/topic/remove-author-link/#post-2699059)
 * try and find this function in functions.php of your theme:
 *     ```
       function twentyten_posted_on() {
       ```
   
 * then edit this a few lines further down:
 *     ```
       sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
       ```
   
 * change to:
 *     ```
       sprintf( '<span class="author vcard">%3s</span>',
       ```
   
 *  Thread Starter [Mikeyvdb](https://wordpress.org/support/users/mikeyvdb/)
 * (@mikeyvdb)
 * [14 years ago](https://wordpress.org/support/topic/remove-author-link/#post-2699061)
 * That didn’t work. This is what i have in my functions.php
 * function twentyten_posted_on() {
    printf( __( ‘ <span class=”meta-sep”>door %
   3$s</span>’, ‘twentyten’ ), ‘meta-prep meta-prep-author’, sprintf( ‘[<span class=”entry-date”>%3$s</span>](https://wordpress.org/support/topic/remove-author-link/%1$s?output_format=md)‘,
   get_permalink(), esc_attr( get_the_time() ), get_the_date() ),`
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years ago](https://wordpress.org/support/topic/remove-author-link/#post-2699066)
 * the code I was referring to would be in the line after what you just posted.
 * if this is not there, then I can’t see any other reference to ‘posted by [name]’
   in the posted single.php code;
 * is that appearing before or after the post content?
 * if you can’t post a link to your site, can you provide a screenshot of the problem?
 *  Thread Starter [Mikeyvdb](https://wordpress.org/support/users/mikeyvdb/)
 * (@mikeyvdb)
 * [14 years ago](https://wordpress.org/support/topic/remove-author-link/#post-2699072)
 * Link to the site: [http://www.ngnl.nl](http://www.ngnl.nl)

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

The topic ‘Remove author link’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 2 participants
 * Last reply from: [Mikeyvdb](https://wordpress.org/support/users/mikeyvdb/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/remove-author-link/#post-2699072)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
