What is the best practice plugin or duplicate page.php
-
What is the best practice for adding php content to a page?
Example say you have a calculator you want to provide your users. On one page they enter the values then click Calculate, which takes them to a results page.
I have done this with duplicating the page.php of the template and making input.php and results.php then applying those to templates to the two pages for the input and the results respectively.
I also have made a plugin and am having issues making the plugin appear on the input page.
So my question is what is the best practice for this type of functionality on a web site?
Thanks in advance for your input
Dean-O
- The topic ‘What is the best practice plugin or duplicate page.php’ is closed to new replies.