I’m having a problem pulling links in from custom fields, in that they don’t always work :(
I have a custom field for the user to enter a URL which is then applied to a button:
<a href="http://{featured_link_1}%22class=%22ctaButton" class="ctaButton first"><span>{featured_button_1}</span></a>When I enter a link with http:// at the beginning (eg. http://www.google.co.uk) it tries to go to http://mywebsite/www.google.co.uk
If I lose the http:// and just enter http://www.google.co.uk, the code gets completely screwed up - I’ve copied and pasted the result from Firebug:
<a href="http://a" class="ctaButton first">http://www.google.co.uk</a>
">My custom field has ‘Default Text Formatting’ set to ‘None’.
Any ideas anyone? Thanks in advance