Title: Add string to permalink
Last modified: August 19, 2016

---

# Add string to permalink

 *  [Bootje](https://wordpress.org/support/users/bootje/)
 * (@bootje)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-string-to-permalink/)
 * In my posts, I have at the end an authors avatar and descripion. I want to link
   from the blog list (Written by “author”) to the author description. The link 
   would be “permalink()” plus “#author”.
 * Such a stupid question but can’t find the answer. How do I add #author after 
   the permalink? I just thought `<a href="<?php the_permalink().'#author' ?>"`
 * But this doesn’t work…

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

 *  [Jannick Bolten](https://wordpress.org/support/users/jannickbolten/)
 * (@jannickbolten)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-string-to-permalink/#post-1709634)
 * What’s wrong with this?
 * `<a href="<?php the_permalink(); ?>#author">Linktext</a>`
 *  Thread Starter [Bootje](https://wordpress.org/support/users/bootje/)
 * (@bootje)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/add-string-to-permalink/#post-1709638)
 * Found it…
 * had to use get_permaplink():
 * `a href="<?php echo get_permalink().'#author-box' ?>"`

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

The topic ‘Add string to permalink’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Bootje](https://wordpress.org/support/users/bootje/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/add-string-to-permalink/#post-1709638)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
