• Resolved twentytwoo

    (@twentytwoo)


    Hi Guys,

    This problem is killing me. I’m trying to add some code to a page, of course I’m in HTML mode. Let’s just say for this example I’m trying to add this:

    <?php
    Echo "Hello, World!";
    ?>

    On the front end, the page is displaying:

    Echo “Hello, World!”;
    ?>

    How do I trouble shot this?

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Do you mean you’re trying to add this code through the WordPress post editor?

    You can’t use PHP in the post editor unless you use a plugin like Exec-PHP.

    Thread Starter twentytwoo

    (@twentytwoo)

    Oh god that’s frustrating. Wish I knew that before playing around with it for a couple of hours.

    Cheers Asechrest

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘passing code through a page’ is closed to new replies.