Code method for replacing text?
-
HI!
Looking to do a replace text on my site. In particular for internal links.
Trying to avoid plugins ( for a multitude of reasons!) and I’m looking for a neat way to do this with code.
In particular it will be replacing words with links. For example any copy on the site that says “lorem ipsum men’s bags lorem ipsum” – will become “lorem ipsum men’s bags lorem ipsum”… Hope this makes sense!
Good idea? Bad idea? I’m certain it can be done cleanly and efficiently without the bloat of plugins and any useful features being behind a paywall ??
As always, indebted to your kindness, help, advice and support!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.