Version 7.0
Make sure your connection is secure ("httpS:" instead of just "http:"). Click the logo above for a secure connection.
Here's a Sample Comment Form that you can use.
1) Open the file: comment-submit.php (via FTP or your webhost's "File Manager", under "public_html" folder) Change the email address to your email address, and the domain name (red font below) that is in the comment-submit.php file. The code block to edit in the comment-submit.php file is:
// Send email notification to the Admin without exposing their email address //CHANGE THIS TO YOUR ADMIN EMAIL, INSIDE THE ‘ ‘ $adminEmail = 'YOUR-EMAIL@YOUR-DOMAIN.com'; $subject = "New comment on: {$postSlug}"; $body = "Name: {$name}\nEmail: {$email}\nMessage: {$message}\n\nApprove in CMS."; // Use a generic From address so the Admin's email is not exposed , //CHANGE THE NO-REPLY EMAIL ADDRESS TO YOUR DOMAIN, INSIDE THE < > $headers = "From: Website Notifications <no-reply@YOUR-DOMAIN.com>\r\n"; $headers .= "Reply-To: {$email}\r\n"; // reply goes to commenter
2) Open this "Sample Comment Form " web Page from the:
2.1) Dashboard >
2.2) Manage Pages >
2.3) Find the Title: "03-Sample Comment Form"
2.4) Under "Actions" select "Edit"
5) On the Content Editor, switch to "Source" code,
6) Then copy the entire code below the line by highlighting the code block, (then press "Control + C" to copy it to the clipboard)
7) Add a New Page, or Add a New Post, and then paste the code you copied (press Control = V to paste what's in your clipboard).
8) Go ahead and test this Comment Form and check your email. (This comment form is also what is used in the "Feedback" Page).
Tips:
-----------Front End: Published Page Mode, You will see the ACTUAL COMMENT FORM --------------
-----------Back End: On Edit Page Mode, COPY ALL THE CODE BELOW THIS LINE--------------
Thank you for visiting our website!
Leave a Comment