How to use PHP in individual pages?
-
I have several pages and I want to write unique PHP code for each page, but I am unsure how to go about it. I was thinking about using exec-PHP, but it looks like it’s out of date. I am looking to write SQL queries with $wpdb for one page and different PHP for other pages. Does anyone know how to do this? Will I have to change the underlying code somewhere in wp-content or something?
If it helps, I am using a custom template (undertook the project after some has already been implemented so I am not 100% comfortable with it).
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to use PHP in individual pages?’ is closed to new replies.