Create Form
- Go to your WordPress Install
- Head to /admin | /wp-login | /wp-admin
- Login to your account
- Navigate to “Posts” OR “Pages“
- Click the “Add New” button
- Put a title in the “Title” section
- Click the “Text” button on the body field
- Enter the following code
- <form action=”../../wp-content/mailFORMID.php” method=”post”>
- Followed By Your Fields (Add As Many)
- For Text Lines:
- <section id=”ID”>
- <h6 class=”l6″><label for=”ID”>FieldName:</label></h6>
- <input id=”ID” class=”contactInput” name=”ID” type=”text” placeholder=”TEXT” />
- </section>
- For Buttons:
- <section id=”formButton”>
- <p>TEXT BEFORE BUTTON:<input type=”checkbox” value=”INEMAIL” name=”ID”><br /></p>
- </section>
- For DropDown Menus:
- <section id=”ID”>
- <h6 class=”l6″><label for=”ID”>TEXT BEFORE DropDown:</label></h6>
- <select name=”NAME” size=”1″>
- <option value=”VALUE ON EMAIL”>TEXT IN DropDown</option>
- <option value=”VALUE ON EMAIL 2″>TEXT IN DropDown 2</option>
- </select>
- </section>
- For Text Area
- <section id=”ID”>
- <h6 class=”l6″><label for=”ID”>TEXT BEFORE TEXT AREA:</label></h6>
- <textarea id=”ID” name=”NAME” placeholder=”TEXT”></textarea>
- </section>
- For Text Lines:
- Then you will need to include the “Submit Button”
- <section>
- <h6><button class=”contactButton” name=”send” type=”submit”>Send Form</button></h6>
- </section>
- </form>
- Enter Tags, Categories, Add Featured Emails, and any other settings
- Click the “Publish” button
- Your Done!
Get Emails
- Download the theme folder from your dashboard on DonaldLouch.ca
- Extract “modernsherbet1.0.zip” File
- Open your FTP client
- Login to your FTP account
- From your “public_html” folder navigate to /YOUR WORDPRESS INSTALL/wp-content
- Drag and Drop “mailContactForm.php” file from the “modernsherbet1.0” folder
- Change the name from “mailContactForm.php” to “mailFORMID.php“
- Open File
- Add your email (Line 14)
- Add/Edit fields (After Line 3)
- $NameForFieldsBelow = $_POST[‘FieldIDFromForm’]
- Save the file
- Duplicate when having multiple forms and change the file name after each duplication
- Your Done!