Question: 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 

  1. Create a custom post type for books
    1. Hierarchal (like pages -- needed for reviews)
    2. Supports: Title, Synopsis (Content) , Book Cover (Featured Image)
    3. Uses Gutenberg editor ('show_in_rest' => true)
  2. Create a custom taxonomy for genre
    1. Hierarchal (like categories)
    2. Should be tied to books only.
  3. Create a custom meta box
    1. Custom meta fields include (but not limited to):
      1. Publisher
      2. Published date
      3. Page count
      4. Price
      5. These fields should be displayed with the book.
  4. 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.
  5. Display the average review rating

 

After this create:

Reviews Post Type Class

  1. Create a custom post type for reviews
    1. Non-hierarchal (like posts)
    2. Supports: Title, Review (Content)
  2. Create a custom meta box
    1. Custom meta fields include (but not limited to):
      1. Name (of reviewer)
      2. Location (city, state)
      3. Rating (1-5 stars as a dropdown or radio buttons)
      4. Book (id of book being reviewed – should be a dropdown ( using this function wp_dropdown_pages.) of existing books)
    2. Fields 1-3 should be displayed with the review.

Step by Step Solution

3.48 Rating (168 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

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... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!