Support » Plugin: Allow PHP in Posts and Pages » echo -ing HTML tags results in … nothing

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes, thats right, same with me here WP 3.5.1.

    print xxxxxxxxxxxxxxxxxxxx;
    print "[div class='top-box-left']";

    prints xxxxxxxxxxxx but no div class …. and a lot of errors instead. Same with print “[div class=\”top-box-left\”]”;

    This php plugin seems to be broken 🙁

    I got a solution!
    it makes me crazy, but yes, it works.

    we have to decode the unicode character…

    < is \u003C
    > is \u003E

    so, nilfisk8, your code will be…

    $left = json_decode('"\u003C"');
    $right = json_decode('"\u003E"');
    echo $left."div id='silverlightControlHost'".$right;
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘echo -ing HTML tags results in … nothing’ is closed to new replies.