Book Info
WordPress plugin assignment using Rabbit framework
by saeid6780 · github.com/saeid6780/veronalabs-books-plugin · website
★ 0stars
0forks
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/saeid6780/veronalabs-books-plugin/archive/refs/heads/dev.zipBook Info Plugin
About
A custom WordPress plugin developed with Rabbit Framework that provides advanced management for books, including custom post types, taxonomies, and a dedicated database table for storing ISBNs.
Requirements
- PHP 7.4 or higher.
- Composer
📖 Features
-
Custom Database Table
- Automatically creates
books_infotable on activation. - Stores ISBN numbers mapped to WordPress posts.
- Automatically creates
-
Custom Post Type: "Book"
- Dedicated post type for books.
- Includes two taxonomies:
- Publisher
- Authors
-
Meta Box for ISBN
- ISBN field integrated into the Book edit screen.
- On save, ISBN is validated and stored in the custom table.
-
Admin Table View
- Custom admin page displaying all records from
books_info. - Implemented with
WP_List_Tablefor native WordPress UI consistency.
- Custom admin page displaying all records from
🛠 Development Guidelines Followed
-
Framework & Architecture
- Built with Rabbit Framework.
- Implemented Dependency Injection and Service Architecture.
-
Version Control
- Full development tracked with Git.
- Regular commits and clean history maintained.
-
Internationalization (i18n)
- All strings wrapped in WordPress translation functions.
- Ready for multilingual environments.
-
Security
- All inputs/outputs sanitized and validated.
- Follows WordPress coding standards and security best practices.
🌍 Extra Features
- Multilingual Compatibility
- Fully internationalized, translation-ready.
- Code Quality & Design Patterns
- Uses Dependency Injection and Singleton Pattern where applicable.
- Maintainability
- Modular and clean service-oriented architecture.
📦 Installation
- Upload the plugin files to the
/wp-content/plugins/books-managerdirectory, or install via WordPress Plugin Manager. - Activate the plugin through the "Plugins" menu in WordPress.
- A new post type "Book" and taxonomies Publisher and Authors will be available.
- Manage ISBNs directly in the admin panel.