WPMinds Skill Assessment Task
Custom WordPress plugin to manage reviews with CPT, meta fields, and a frontend slider with shortcode support.
by Muhammad Ahmad · github.com/ahmad4372/wp-minds-skill-assessment-task · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ahmad4372/wp-minds-skill-assessment-task/archive/refs/heads/main.zipCustom WordPress plugin to manage reviews with CPT, meta fields, and a frontend slider with shortcode support.
Description
This plugin allows you to manage reviews with a custom post type, meta fields, and a frontend slider with shortcode support.
Features
- Custom post type for reviews
- Meta fields for review content, author name, and author tagline
- Frontend slider for displaying reviews
- Shortcode support for displaying reviews
- Settings page for plugin configuration
Installation
- Upload
plugin-name.phpto the/wp-content/plugins/directory or navigate to wp-admin > Plugins > Add New > Upload Plugin - Activate the plugin through the 'Plugins' menu in WordPress
Frequently Asked Questions
Will it work with any theme?
Yes, this plugin is designed to work with any theme.
How to use the shortcode?
Use the shortcode [wpmsat_reviews] to display the reviews slider. Visit setting page for more details.
Changelog
0.1.0
Initial release.
Developer Note
I have used the following to make plugin scalable and maintainable:
- Composer style Autoloader
- Singleton Pattern
- Object-Oriented Programming
- Namespace
- DRY principle
- WordPress Coding Style / Standard
Code is well abstracted into seprate file and proper folders. I have also added proper comments and documentation to the code. I have not used any AI tools to generate the plugin. But I have used WP-CLI to generate the plugin skeleton. This plugin also contains unittest files which was generated by WP-CLI. I have not added any test related to this plugin.