Simple WordPress plugin given as pre-interview task which provides a form that will generate a certificate and emailed once it is filled and submitted. To download the certificate the user needs to click on the link in the sent email.
- Clone the repository
git clone git@github.com:ivanyankov/interview-wordpress-task.git - CD to the plugin directory.
- Run
composer install - Compress the folder and choose
.zipformat. - Go to your WordPress website plugins page.
- Click on the button
Add New - Click on the button
Upload Plugin>Choose File>Install Now
You can load the form on your webpage using the following [get_user_form]
- Download https://poedit.net/
- Open the
.pofile located in yourlanguagesplugin folder - Find the translation which you want to update and change it to the desired text
- Save the file
- Move the
.pofile and the.mofiles (the.mofile is automatically generated when you are ready translating and saving the.pofile) to yourlanguagesfolder - Re-upload the plugin