Categories
WordPress

WordPress Major Plugin Exercise

In this exercise, please make a new WordPress installation in MAMP and install the following plugins:

  • Contact Form 7
  • Polylang
  • YARPP (Yet Another Related Posts Plugin)

Contact Form 7

Make a page called Contact and put in it a Contact Form 7 form with the following features:

  • The form is put into DEMO MODE (so you’re not actually sending mail while testing)
  • An initial message of Thank you for your interest in our imaginary little company.
  • Name and email address (required)
  • A subject field
  • A comments field (required)
  • A drop down menu that allows the user to choose from 5 different people the form will go to. Make sure that the users’ email addresses are not displayed in the code so spammers cannot harvest them. Use the Chrome Inspector to confirm that the email addresses are not output.
  • A quiz field (in place of a captcha) with one of four questions that load randomly and are easy to answer

When the form is submitted, make the “success” message at the bottom of the form say Thanks for your comments. We’ll get back to you as soon as possible.

 

Polylang

With the polylang plugin installed, set your site name and description in English, French, and another language of your choice.

Feel free to use Google translate if you don’t know French, or another language.

Now make one short page with a title of WELCOME. Set it as the home page of the site.

In that page, put in the phrase This page is in English.

Now figure out how to translate the title and text of your page into your two other languages. If you only know English, use Google Translate.

Figure out how to add Language Switching to your Main Menu.

 

Then remove it from the Main Menu, and do it as a Widget instead—with flags!

Make sure that when you switch languages, your site title and description change too.

Finally, download this WordPress site backup and import it into your test site. Choose IMPORT MEDIA in the process. Assign all posts to yourself. Delete the post with CONTACT in the title.

Make sure that whatever language the user is in, the main menu will show a link to the Home page and to each of the geographic categories imported with your data. Make sure that the Categories shown in the menu are translated into each of your languages.

Yet Another Related Posts Plugin (YARPP)

Use YARPP to add a YOU MIGHT ALSO LIKE section after each post, based on the data you imported in the previous step.

YARRP-Ida