Executing PHP Code On WordPress Pages

If you weren’t already aware, HTML code can be displayed and executed in WordPress pages but if you try to execute PHP it doesn’t work. Here’s how to make it execute so you can create site maps and use other PHP code’s on your WordPress pages as well as displaying it

1. First you need to download the plugin from here, unzip it and upload it to your plugins folder.

2. Activate the plugin and then PHP code will execute on your pages, you can also display it as well.