Monday, 29 March 2010

WordPress Plugins!

I found a simple contact form plugin that I edited slightly for each of the pages that needed a contact form. These pages were:

- contact page
- party booking
- wedding catering
- sandwich king
- homepage
- cakes to order

The main contact form has the most required fields with, name, email, subject and message. The subject field is needed within this form, as it is a general contact so could be for anything. This form is inserted within the edit box of the page.


The contact forms for the party and wedding pages were cut down to only have the form fields, name, email and message.


And the subject was set to automatically appear as wedding catering or party bookings for ease for the user. These forms are inserted within the edit box of the page.


The rest of the contact forms had to be inserted within sidebars as they needed to be positioned within the page. Sidebars were set up in the functions.php with a simple line of code.


The code was then called within the page.


And then the sidebar appeared in the themes – applications within the wordpress dashboard and then by adding the contact form code within it, it would then appear on the page in the required position.


The homepage contact form simply consists of an email field, as it is to join the mailing list so this was all that was needed. The subject again was set as mailing list, and the email address was changed to send to mailinglist@.


The cake to order contact form only has the form fields, email and message. Name was omitted due to the space available within the page and this was the field that was least important. The subject was set to automatically appear as cakes to order for ease for the user.


The sandwich king contact form has the fields, name, email and what is your favourite sandwich and why? The subject will appear as sandwich king for ease.

No comments: