So I've been poking around the codex and tinkering a bit with plugins. What I want to do is simple:
- Create a function that displays a form
- Display it on it's own page using the theme's header and footer
- Accessible by guests
- Post to the same page or another and display results of the post
I see there are hooks to add stuff into an admin area but how do I create a new page (not a post) that hooks into a custom controller / form handler that I write inside of a plugin, display of the form for that specific page and also react to handle the submit data?
Once I can understand how this works, I will be able to integrate my custom development (yay)!
Any hints would really help! Thanks!