Hello! Here's a question: there is a contact form on the site, it was taken from Webdesignmaster from the lessons, or rather the PHP script itself, screwed it into landing pages - everything works fine, the messages reach. I add it to Wordpress Website, it works, but only on the main page, although the form itself and all the scripts for its work are in the footer, which also exists on all pages, but nevertheless the whole thing only works with the main one. What on Openserver'e that with the hosting works all the same. Maybe this is some kind of wordpress feature? Or just I do not catch up?
2 answers
In general, in wordpress, I would advise using Contact Form 7.
If you really need this particular script, then arrange it in a function in the functions.php file of the ForasLump and ajax themes in a different way. It is necessary to read, for example, here - http://wp-kama.ru/id_2018/ajax-v-wordpress.html
- oneProbably it is worth exploring for the future, so that later it would be easier, thank you very much) - Webear
|
All the solution was found, all that "/" should be put in the URL to the mail.php file))
|

