WP Book is a WordPress plugin. This is an assignment project from the WordPress Course offered by rtCamp.
-
Custom Post Type - Book: Create and manage books easily with a dedicated custom post type.
-
Custom Hierarchical Taxonomy - Book Category: Organize books into hierarchical categories for better classification.
-
Custom Non-Hierarchical Taxonomy - Book Tag: Add tags to books for flexible categorization.
-
Custom Meta Box: Easily input and save book meta information such as Author Name, Price, Publisher, Year, Edition, URL, etc.
-
Custom Meta Table: Utilize a custom meta table to efficiently store and retrieve book meta information.
-
Admin Settings Page:
-
Shortcode [book]: Use the
[book]
shortcode to display book information with attributes like id, author_name, year, category, tag, and publisher. -
Custom Widget: Add a custom widget to the sidebar to showcase books from selected categories.
-
Dashboard Widget: Display a dashboard widget highlighting the top 5 book categories based on count.
-
Internationalization (i18n): The plugin is internationalized for easy translation into different languages.
- Download the plugin ZIP file.
- Upload the ZIP file through the WordPress admin interface or extract it to the
/wp-content/plugins/
directory. - Activate the plugin through the 'Plugins' menu in WordPress.
- After activation, you can start creating and managing books using the dedicated Book post type.
- Configure plugin settings in the Books menu under the admin dashboard.
Use the [book]
shortcode with attributes to display book information.