how to use php in WP
-
I’m very new to WP. I created a second page on my test blog and I wanted to simply put some php on that page that will display content from a database based on some variables.
I cannot figure out how to do this. I tried in the post editor (which I doubted would work) and all I get is the code displayed.
As I search this forum, I see plenty of references to PHP code but I can’t understand where I would put this in WP.
Npw, if there is some file that is specific to that page, that would be a good place to start but if i want numerous references to that php code with different functions (like blog entries only with URL queries) how can I do this? Am I making sense?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘how to use php in WP’ is closed to new replies.