Plugin Author
Arnan
(@adegans)
Nothing was changed in how the plugin works.
No changes, no new features. Just compatibility fixes.
In the code %link% is still replaced by a full url, just as before.
Hi Arman, Thanks for the reply!
Is it possible that something within the WP code base changed that impacted this?
In the template I have <a href="%link%" class="url"></a>
but in the front-end that is producing (for example):
<a href="<a href="http://claraiannotta.com/works/chamber-music/al-di-la-del-bianco/" target="_self">More information »</a>" class="url"></a>
It looks like somewhere there is a default link style with the text “More information »” (pulled I guess from the “Page Link” field in the Language options) and the whole anchor tag is being added including that target attribute.
Plugin Author
Arnan
(@adegans)
%link% in itself isn’t all that unique, it;s possible another plugin or theme does a trick with it.
Events adds no class=”url” to it anyway. So if that was a thing… Then something else is hindering events 😉
The class="url" is being added by me in the template:
<a href="%link%" class="url"></a>
That means the %link% tag is being substituted by:
<a href="http://claraiannotta.com/works/chamber-music/al-di-la-del-bianco/" target="_self">More information »</a>
I accept it could be something else, but it seems unlikely. All was working well for two years until the recent update of Events —> 2.3 & WP —> 4.2.1 (no other plugins changed at that time).
Plugin Author
Arnan
(@adegans)
Events 2.3 is only a compatibility and security update. No features were changed or added.
Meaning that if %link% replaces to a formatted html tag, it did so before the update, too.
It’s been so long that I didn’t even remember what %link% did and had to look it up after your initial post 😉
Weird. Oh well, I’ll just deal with how it is. If ever you do any expansion work on the plugin, a URL only tag would be useful. But thanks in any case for the help and the work!