插件特色

易于集成

简单的安装和配置,无需编码。

极速加载

Optimized performance and loading speed.

安全可靠

Following best security practices to protect your website.

易于定制

Flexible options to easily customize the plugin.

定期更新

定期更新,提供新功能和安全修复。

专业支持

Detailed documentation and professional technical support.

插件说明

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

  1. Download the plugin zip file
  2. Go to WordPress Admin → Plugins → Add New
  3. Click “Upload Plugin”
  4. Select the zip file and click “Install Now”
  5. Activate the plugin

Method 2: FTP Upload

  1. Extract the plugin zip file
  2. Upload the bookstore-core folder to /wp-content/plugins/
  3. Go to WordPress Admin → Plugins
  4. Find “Bookstore Core” and click “Activate”

Usage

Adding a Book

  1. Go to Books → Add New
  2. Enter the book title
  3. Write the book description/content
  4. Set a featured image (book cover)
  5. Fill in the Book Details meta box:
    • Author
    • ISBN
    • Publisher
    • Pages
  6. Select categories and tags
  7. Click Publish

Managing Categories

  1. Go to Books → Categories
  2. Add new categories with names and descriptions
  3. Organize hierarchically if needed

Managing Tags

  1. Go to Books → Tags
  2. 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

License

This plugin is licensed under GPL v2 or later.


Upgrade to Bookstore Pro Tools for advanced features! 🚀

用户评价

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注