How to Run PHP Code in WordPress



Hello everyone, Larry Snow here with another quick tutorial on how to run PHP Code in a WordPress Page or Post. I was presented with a challenge to retrieve data residing on a MySQL database and have it displayed on our client’s page. I decided to use PHP code since WordPress is built upon PHP but surprisingly without a plugin WordPress ignores the PHP code.

If you know of another way to run PHP code in WordPress post in the comments below

Web: http://larrysnow.me
Facebook: http://on.fb.me/Z37vG8
Twitter: http://www.twitter.com/lawrence_snow
Google +: http://bit.ly/YJTBob

LINK TO CODE: http://bit.ly/Z3cBlL

source

Reply


Build A Site Info