Creating a WordPress Page using PHP code
I have created a page that people can use to sign up to become part of my blog with their own custom page. The form values will be put in a database and pulled again on a custom page that would be created for them. I want that page to be created automatically, but i dont want it to be just a file, but rather an actual WordPress page.
So would anyone know if that is possible? If so what would the php code for that be?
And for my 2nd question; I want to place a custon php file in my theme directory, but of course when i go to mydomain.com/mypage.php i get a 404 error. So my question would be is what am i supposed to include on my page? or how can i make it as much of a part of the theme as lets say the page.php.
Thanks in advance,
- The topic ‘Creating a WordPress Page using PHP code’ is closed to new replies.