Auto Page Links (request)
-
I’m looking to have a plugin that does the following:
Automatically creates links to pages from my post with exact matches for the page name within the text. Example: “Toby is a great dog”. If one of my pages had the title “Toby”, then a link would automatically be created for the word “Toby” to the corresponding page.
I tried this myself, but realized I am no good whatsoever at regular expression matching. I also cannot find a way to build the page url (since you can change the URL path in the Permalink Options). I also realized that with the method I was using, it performed a query for every post to get the list of pages (ideally the list of pages should only be grabbed once and then used for every post).
- The topic ‘Auto Page Links (request)’ is closed to new replies.