Could you check if the option “Replacing with <\/a> in JavaScript code” (under “Extra Settings”) is enabled?
Thread Starter
Daniel
(@dhoffmann)
yes, I reactivate the plugin now and you can see the error here:
http://celtic-rock-radio.de (scroll down in the green area).
The problem occurs since 1.5, Before it worked and when I deactivate it works too.
Thread Starter
Daniel
(@dhoffmann)
is there is a missing “>” anywhere?
It’s technical, but the reason was caused by the new parse attributes function. This was nescessary to solve some bugs. Officially attribute values cannot contain < or >.
In your case you could create a workaround by adding this function to the functions.php file in your theme folder:
function external_link_js_template_fix($created_link, $original_link, $label, $attrs = array()) {
if (isset($attrs['href']) && strpos($attrs['href'], '<%= encodeURIComponent(song.artist.name) %') !== false) {
$created_link = str_replace('<%= encodeURIComponent(song.artist.name) %', '<%= encodeURIComponent(song.artist.name) %>', $created_link);
}
return $created_link;
}
add_filter('wpel_external_link', 'external_link_js_template_fix', 10, 4);
Thread Starter
Daniel
(@dhoffmann)
Hi, thanks for help, but it broke another plugin with social icons in my sidebar, even if I didn’t want it in widgets. I’ll turn it off in this site. Daniel
Did the additional code (function.php) broke the social sidebar?
What do you mean by “broke”?
Thread Starter
Daniel
(@dhoffmann)
Hi, formatting was not as expected. It was not the additional code.
Another problem I ran into was, that I use mycred for my community. Using “links” didn’t work when this plugin was activated.
http://mycred.me
I want to point out, that my site is very special (lots of plugins) and I have your plugin running on many other sites without any probelm! Thanks a lot for this!
Daniel
Does it work well when you deactivate the other plugin?