Skip to content

_Just a quick reply to https://www.zylstra.org/blog/2020/01/12339/._ Technically, you …

Just a quick reply to https://www.zylstra.org/blog/2020/01/12339/.

Technically, you could, I think, make those changes “permanent” by hooking into semantic_linkbacks_excerpt, which lets you filter the very same excerpt text. (You could then look for a pattern and replace it, or append something based on what’s already there, and return the modified string. More elaborate filtering is possible, too, by using one of the earlier hooks and essentially overriding the plugin’s own callback function.)

Being able to fetch and display the text surrounding a keyword (or link) would be cool, though. Let’s see if we can come up with something …

Now supporting Webmention – Interdependent Thoughts
www.zylstra.org