• Resolved benwhale

    (@benwhale)


    Please forgive me if I say something stupid, I’m slowly learning this.

    Following the instructions of Protection_From_Harvesters I have attempted to enter code into a page on my website.

    What I enter is <a href="mailto:<?php echo antispambot(the_author_meta('user_email')); ?>">email author</a>. The page does not display properly and if I view the source I find that the code I entered has become <a href="mailto:<?php echo antispambot(the_author_meta('user_email')); ?>“>email author</a>. So the webbrowser fails to see the closing " which has been converted into .

    I realise that this is most likely to WordPresses styling of quotes. How do I prevent this? I can’t seem to find documentation on it (which I think means I’m not looking in the right place).

Viewing 2 replies - 1 through 2 (of 2 total)
  • There is a bigger problem: you cannot enter php code in a WordPress page. There are plug-ins that allow you to insert php code into a page or post. You can also enter php code in a Template.

    Thread Starter benwhale

    (@benwhale)

    Ah I see thankyou adiant.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTML editor changes ” to “’ is closed to new replies.