{"id":18636531,"date":"2025-09-10T19:11:54","date_gmt":"2025-09-10T19:11:54","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/text-fragment-functionality\/"},"modified":"2025-09-10T19:11:54","modified_gmt":"2025-09-10T19:11:54","slug":"text-fragment-functionality","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/text-fragment-functionality\/","title":{"rendered":"Text Fragment Functionality"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">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=&lt;search term&gt; (although this may change the highlight of the first occurrence)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/URI\/Reference\/Fragment\/Text_fragments<\/p>\n","protected":false},"template":"","class_list":["post-18636531","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18636531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18636531\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18636531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}