Hi, I want to create my own forms in my wordpress websites. I am not overly fond of using Plug-In’s like Contact Form 7. I want the form to be able to send the email and also load the information from the sender in the database. I have asked a question like this before and a couple of people sent me emails about using the get_permalink() function. I am presently working with Twentythirteen Theme.
I would like some guidance on how to use this function properly. So my form set up is as follows:
<form method=”post” action=”get_permalink();” name=form></form>
In order to make get_permalink working do I load the template name, url into the space between the two brackets. e.g.
<form method=”post” action=”get_permalink(‘http://www.websitename.com/process_page.php’);” name=form></form>
If I do it this way, when the submit button is pressed on a form on my page will it get processed. Or is there something that I am missing, or should I be doing it another way.
I appreciate any help that is forthcoming. I have not uploaded the site yet but if I have any success I will definitely make another post and explain how to do it.
- The topic ‘.process-page.php in WordPress’ is closed to new replies.