• Hello,

    I wonder if anyone can help me with this problem:

    I’ve created a extra textfield in a custom post type with the add_meta_box() function. It creates a extra input field and the input I put there will echo perfect in the loop.

    The problem is special entitys I write in the input field is getting rewritten to the icons.

    Like this:
    &.rsaquo; = ›
    &.euro; = €
    &.amp; = &

    (without the points but it will rewrite the code if I dont make the typo)

    I need to keep the special entitys in the input since it will put up W3C errors when it is rewritten. I’ve tried to fix it by using plugins like Magic Fields 2 but exactly the same problem appears. Strange thing is that in the normal WYSIWYG editor it doesn’t rewrite special entitys to characters.

    Anyone got some code snippet or tip to fix this?

The topic ‘WordPress rewriting special entitys’ is closed to new replies.