• jrinco11

    (@jrinco11)


    hey ya’ll – So I’m trying to add a bunch of php to a new page in wordpress 2.5.1, but when i save and preview it, it just displays all the text, like ‘<?php echo “test”; ?>’ as opposed to just ‘test’

    is there some option i need to turn on to not treat stuff as actual text like that? thanks!

Viewing 1 replies (of 1 total)
  • whooami

    (@whooami)

    you cant use php inside pages and posts like that — you need a plugin.

Viewing 1 replies (of 1 total)

The topic ‘Adding php code to a page just saves it as ‘text’, not ‘code’’ is closed to new replies.