Goal: To write a plugin to display quotes on WordPress site. It should work with existing site and upcoming WordPress upgrade.
Who can access this plugin?
Admin
How many modules in this plugin?
There are 3 modules in this plugin – display on left side bar
- Quote Categories
- Quote Authors
- Quotes
There will be 3 tables in database
In admin, I can see the menu as below, when I click on specific module, it directs to a page listing all items with relevant action buttons.
Functionality Back-end side
1. Quote Categories
Feature: Can add, edit and delete Category
TABLE COLUMNS: Category, Image
Category: text field
image: link
2. Quote Authors
Feature: Can add, edit and delete Quote Author
TABLE COLUMNS: Author, Image
Author: text field
Image: image link
3. Quotes
Feature: Can add, edit and delete Quote
TABLE COLUMNS: Quote, Category, Author, Language, Status, Audio
Creating/Editing quote screen contains:
Text area: free text fields 1500 words max – – required field
Quote categories: list all quote categories and sorted by name – required field
Quote Authors: list all quote authors and sorted by name – required field
Language: English, Vietnamese (default)
Audio: optional, if user creates quote with audio, on the front-end shall show audio icon and play sound when clicked.
HOW TO DISPLAY QUOTES ON FRONT-END
Display quotes on WordPress page using shortcode.
Create a blank page and put the shortcode
Publish the page => FE as below layout
Functionality Front-end side.
On the web page displays all quotes
There are dropdowns to Allow to filter by quote category, language, authors.
Shall have pagination (20 quotes/page)
Final deliverables
1- a zip file to upload in plugin
2- source code