Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a single plugin showcasing the author's publications using the following requirements: Books Post Type Class Create a custom post type for books Hierarchal
Create a single plugin showcasing the author's publications using the following requirements:
Books Post Type Class
- Create a custom post type for books
- Hierarchal (like pages -- needed for reviews)
- Supports: Title, Synopsis (Content) , Book Cover (Featured Image)
- Uses Gutenberg editor ('show_in_rest' => true)
- Create a custom taxonomy for genre
- Hierarchal (like categories)
- Should be tied to books only.
- Create a custom meta box
- Custom meta fields include (but not limited to):
- Publisher
- Published date
- Page count
- Price
- These fields should be displayed with the book.
- Custom meta fields include (but not limited to):
- On the page that displays the book, also display the reviews for that book. This can be in a list using WP_QueryLinks to an external site. or widget.
- Display the average review rating
After this create:
Reviews Post Type Class
- Create a custom post type for reviews
- Non-hierarchal (like posts)
- Supports: Title, Review (Content)
- Create a custom meta box
- Custom meta fields include (but not limited to):
- Name (of reviewer)
- Location (city, state)
- Rating (1-5 stars as a dropdown or radio buttons)
- Book (id of book being reviewed – should be a dropdown ( using this function wp_dropdown_pages.) of existing books)
- Fields 1-3 should be displayed with the review.
- Custom meta fields include (but not limited to):
Step by Step Solution
★★★★★
3.48 Rating (168 Votes )
There are 3 Steps involved in it
Step: 1
Author Publications Plugin This plugin creates a comprehensive system for authors to showcase their publications on their WordPress website Features Books Post Type Custom post type for representing b...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started