I made a plugin to allows admins to set various variables I use in my themes (was created from the YourFirstPlugin). The ones that allow the user to enter content, for example I have an option to enter content into the footer, the links will not work.
If I put in a link <a href='linkURL'>Link</a> it will put it in the footer as <a href="%27linkURL%27">Link</a>
If I put in a link <a href="linkURL">Link</a> it will put it in the footer as <a href="%22linkURL%22">Link</a>
BUT, if I put in a link <a href=linkURL>Link</a> (no ' or " around the link URL) it works just fine.
Here are some snippets of code as an example of how I coded this in the plugin;
That didnt seem to help, I tried ".$pref["nbw_theme_options_opt_the_04"]." ".$pref['nbw_theme_options_opt_the_04']." and ".$pref[nbw_theme_options_opt_the_04]." in both the plugin and theme.
Inside the database <a href="linkURL">Link</a> is stored as <a href=& quot;linkURL& quot;>Link</a> (without the space between & and quot;