Core functionality plugin for Bookstore Lite theme. This plugin provides the book custom post type, taxonomies, and meta boxes required for the theme to function.
Description
Bookstore Core is a free, GPL-licensed plugin that provides the essential functionality for running a bookstore website with WordPress. It works standalone or alongside the premium Bookstore Pro Tools plugin.
Features
π Custom Post Type: Book
- Dedicated book post type with full WordPress integration
- Gutenberg/Block Editor support
- REST API support for headless implementations
- Archive and single page templates
π·οΈ Taxonomies
- Book Categories – Hierarchical categories for organizing books
- Book Tags – Non-hierarchical tags for flexible book labeling
π Book Details Meta Box
Add detailed information to each book:
- Author – Book author name
- ISBN – International Standard Book Number
- Publisher – Publishing company
- Pages – Total page count
π Developer Friendly
- Clean, well-documented code
- WordPress coding standards
- Hooks and filters for customization
- REST API endpoints
Installation
Method 1: Admin Upload
- Download the plugin zip file
- Go to WordPress Admin β Plugins β Add New
- Click “Upload Plugin”
- Select the zip file and click “Install Now”
- Activate the plugin
Method 2: FTP Upload
- Extract the plugin zip file
- Upload the
bookstore-corefolder to/wp-content/plugins/ - Go to WordPress Admin β Plugins
- Find “Bookstore Core” and click “Activate”
Usage
Adding a Book
- Go to Books β Add New
- Enter the book title
- Write the book description/content
- Set a featured image (book cover)
- Fill in the Book Details meta box:
- Author
- ISBN
- Publisher
- Pages
- Select categories and tags
- Click Publish
Managing Categories
- Go to Books β Categories
- Add new categories with names and descriptions
- Organize hierarchically if needed
Managing Tags
- Go to Books β Tags
- Add tags for flexible book labeling
REST API
The plugin exposes the following REST API endpoints:
Books
GET /wp-json/wp/v2/books
GET /wp-json/wp/v2/books/{id}
Categories
GET /wp-json/wp/v2/book_category
GET /wp-json/wp/v2/book_category/{id}
Tags
GET /wp-json/wp/v2/book_tag
GET /wp-json/wp/v2/book_tag/{id}
Developer Hooks
Actions
do_action('bookstore_core_before_register_post_type');
do_action('bookstore_core_after_register_post_type');
do_action('bookstore_core_before_register_taxonomy');
do_action('bookstore_core_after_register_taxonomy');
Filters
apply_filters('bookstore_core_post_type_args', $args);
apply_filters('bookstore_core_category_taxonomy_args', $args);
apply_filters('bookstore_core_tag_taxonomy_args', $args);
Frequently Asked Questions
Is this plugin required for Bookstore Lite theme?
Yes, the Bookstore Lite theme requires this plugin to function properly. Without it, the book-related features will not work.
Can I use this plugin with other themes?
Yes! Bookstore Core works with any WordPress theme. You may need to add custom templates to display books properly.
Does this plugin include e-commerce features?
No, this is a free core plugin with basic functionality. For e-commerce features like:
- Price management
- VIP membership
- eBook sales
- Pre-orders
Please upgrade to Bookstore Pro Tools.
Is the plugin translation ready?
Yes, the plugin is fully translation ready. Translation files should be placed in the /languages/ directory.
Requirements
- WordPress 5.8 or higher
- PHP 7.4 or higher
Changelog
1.0.0
- Initial release
- Book custom post type
- Book categories and tags taxonomies
- Book details meta box
- REST API support
Support
- Email: 1601800014@qq.com
- Website: https://wp.mianka.xyz
License
This plugin is licensed under GPL v2 or later.
Upgrade to Bookstore Pro Tools for advanced features! π
User Reviews