I would like to build a few .php pages in order to process a form and then present API errors and thank-yous. Is that possible on the WP CMS? What would I need to do in order to make that happen?
As an alternative solution, I would like to process a form wholly within a WordPress page. Is it possible to have wordpress php functions and other php notation on the same page? For example, may I start a session before the header is called?
Fatal error: Call to undefined function get_header() in /home/afalik/globalcitizenyear.org/wp-content/themes/deMar/DoDirectPaymentReceipt.php on line 83
The get_header() function is the first problem but I can’t think why that would be undefined?
It seems that you are calling the .php page directly. To use WordPress functions you have to include “wp_load.php” file exists in the WordPress root directory.
The best way to do this is to create page templates based on your wordpress theme. Customize the page template however you want with your custom PHP code.
Now create a page in wordpress using that page template. That should do the trick.
i am looking for some function using which the default user registeration pattern can be changed, i.e. when new user try to create a user by default wordpress ask a username and email. and sends the password to the user given email.
i need to have function to enter their password manually rather then randomly generated password
My question how to sort this out? Does WordPress have any quick edit for this rather than changing wp-login.php to get this functionality.
Shall be very thankful.
I had posted this question in “How to and troubleshoot” but no buddy answered it.