Title: Change link text for &#8220;Permalink&#8221;
Last modified: July 13, 2026

---

# Change link text for “Permalink”

 *  Resolved [Joel](https://wordpress.org/support/users/jrisberg/)
 * (@jrisberg)
 * [3 weeks, 4 days ago](https://wordpress.org/support/topic/change-link-text-for-permalink/)
 * When displaying multiple FAQs on a page the use of repeated “Permalink” links
   with different destinations creates an accessibility issue. Is it possible to
   globally change the generic link text of “Permalink” links when they’re enabled
   for individual FAQs?
 * A more accessible alternative would be “Permalink to [FAQ Title]”.
 * Any workarounds available?
 * Thank you.

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

 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [3 weeks, 2 days ago](https://wordpress.org/support/topic/change-link-text-for-permalink/#post-18966275)
 * Hi Joel,
 * We can look into the possibility of adding an option to include the FAQ title
   to the permalink link text.
 * In the meantime, it is possible to modify the template for this in a non-destructive
   way (doesn’t touch the main plugin code and won’t be overwritten if you update
   the plugin) and set your own value/text there. We explain in detail how you can
   do this here:
 * [https://doc.etoilewebdesign.com/plugins/ultimate-faq/developer/](https://doc.etoilewebdesign.com/plugins/ultimate-faq/developer/)
 * The template you’d be looking for is faq-permalink.php. And you’d want to modify
   line 5, which is
 *     ```wp-block-code
       <?php if ( $this->get_option( 'include-permalink' ) == 'both' or $this->get_option( 'include-permalink' ) == 'text' ) { echo esc_html( $this->get_label( 'label-permalink' ) ); } ?>
       ```
   
 * The `echo esc_html( _$this_->get_label( 'label-permalink' ) );` part is what 
   outputs the “Permalink” text. You could perhaps get what you want by changing
   it to something like: `echo esc_html( _$this_->get_label( 'label-permalink' )).'
   to ' . esc_html( _$this_->faq_title );`.
 * So, for that full line:
 *     ```wp-block-code
       <?php if ( $this->get_option( 'include-permalink' ) == 'both' or $this->get_option( 'include-permalink' ) == 'text' ) { echo esc_html( $this->get_label( 'label-permalink' ) ) . ' to ' . esc_html( $this->faq_title ); } ?>
       ```
   
 *  Thread Starter [Joel](https://wordpress.org/support/users/jrisberg/)
 * (@jrisberg)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/change-link-text-for-permalink/#post-18979660)
 * Thank you. This solution worked well. We ended up using this code to make the
   link the title of each FAQ:
 *     ```wp-block-code
       <div class='ewd-ufaq-permalink'>		Link: <a href='<?php echo esc_attr( $this->permalink ); ?>'>				<?php if ( $this->get_option( 'include-permalink' ) == 'both' or $this->get_option( 'include-permalink' ) == 'text' ) { echo '"' . esc_html( $this->faq_title ) . '"' ;} ?>		<?php if ( $this->get_option( 'include-permalink' ) == 'both' or $this->get_option( 'include-permalink' ) == 'icon' ) { ?> <div class='ewd-ufaq-permalink-image'></div> <?php } ?>		</a></div>
       ```
   
    -  This reply was modified 1 week, 1 day ago by [Joel](https://wordpress.org/support/users/jrisberg/).

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fchange-link-text-for-permalink%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/ultimate-faqs/assets/icon-128x128.png?rev=1803957)
 * [Ultimate FAQ Accordion Plugin](https://wordpress.org/plugins/ultimate-faqs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-faqs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-faqs/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-faqs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-faqs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-faqs/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Joel](https://wordpress.org/support/users/jrisberg/)
 * Last activity: [1 week, 1 day ago](https://wordpress.org/support/topic/change-link-text-for-permalink/#post-18979660)
 * Status: resolved