• amirs

    (@amirs)


    Hi. I’d like to use a php ‘include’ inside the body of my post. So for example, I’d like to say:

    <?php include(‘file.php’) ?>

    inside my post. But when I try doing this, WP immediately changes the <?php to <? php, invalidating it as php code…and it the only thing that shows up in the post body is this:

    <? php include(‘file.php’) ?>

    Is there a way to accomplish what I want (i.e. use php statements within a post body)?

    Thanks,
    Amir

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘php inside a post?’ is closed to new replies.