In this video tutorial we look at how to add PHP to any page within your Wordpress website. To read the full article go to: www.atinyrhino.com/blog/wordpr... or visit our homepage at: www.atinyrhino.com/
This is exactly what I was looking for thank you for sharing! I followed your guide and its working great. I just wanted a little more control over my front page. I created a child theme, duplicated and renamed the page.php to page_custom_frontpage.php pdating the Template Name and applied to my front page - great stuff
Great tutorial it works really good for me until I decide to place a form inside the template! I have been trying for several days and the form display really good but when submitted I get this error "Sorry but that page doesn't exist" and nothing is sent to the database. "outside Wordpress the form and database work perfect". Any suggestions?
Just in case someone still struggles to find where phpfile.php can be found and copied - it is done (or at least can be done) not in your WP panel where you add pages, posts and etc. but in your hosting account panel (where all your information and website data is stored). Hosting account -> File manager -> Your website folder -> wp-content -> themes. Then copy a .php page, rename it and follow remaining steps from the video. (However, I'm not sure how correct is this way. At leats nothing crashed and now I'm working on new page so good luck!)