Title: Text Fragment Functionality
Last modified: September 10, 2025

---

# Text Fragment Functionality

 *  [lambchopsil](https://wordpress.org/support/users/lambchopsil/)
 * (@lambchopsil)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/text-fragment-functionality/)
 * Would it be possible for you to also include text fragment functionality so that
   it scrolls to the first occurrence of the search term on click-through? I believe
   the simplest way to leverage the browser and add more to the URL: #:~:text=<search
   term> (although this may change the highlight of the first occurrence)
 * [https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Fragment/Text_fragments](https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Fragment/Text_fragments)

The topic ‘Text Fragment Functionality’ is closed to new replies.

 * ![](https://ps.w.org/highlight-search-terms/assets/icon-128x128.png?rev=1112135)
 * [Highlight Search Terms](https://wordpress.org/plugins/highlight-search-terms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/highlight-search-terms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/highlight-search-terms/)
 * [Active Topics](https://wordpress.org/support/plugin/highlight-search-terms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/highlight-search-terms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/highlight-search-terms/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [lambchopsil](https://wordpress.org/support/users/lambchopsil/)
 * Last activity: [8 months, 2 weeks ago](https://wordpress.org/support/topic/text-fragment-functionality/)
 * Status: not resolved