cmiwebstudio
Member
Posted 2 years ago #
I want to be able to add links in wordpress with the option of them being external, however, the current system adds target="_blank" which is not valid xhtml strict code. I would prefer it inserted onclick="window.open(this.href);return false;" which is valid code. How can I modify this function?
cmiwebstudio
Member
Posted 2 years ago #
that's cool, but I don't want to have the server make another call to load the javascript that swaps out the invalid code on the fly,... i'd rather just have wordpress insert the correct code in the admin. anyone know what file I can modify?
cmiwebstudio
Member
Posted 2 years ago #