Book Manager Test
Wordpress Technical Task - Interview
by Candidate · github.com/fhadk/wordpress-technical-task · website
★ 0stars
5forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/fhadk/wordpress-technical-task/archive/refs/heads/master.zipWordPress Book Manager Plugin
Your Mission
Fork this repository and complete the WordPress plugin by submitting a Pull Request (PR).
Time limit: 12 hours from fork to PR submission
Requirements
Complete the book-manager.php file to create a WordPress plugin that:
Must Have Features
-
Custom Post Type "Book"
- Register
bookpost type - Slug:
/books/ - Supports: title, editor, featured image
- Register
-
Custom Fields (Meta boxes)
- Author name (text field)
- Publication year (number field, 4 digits)
-
Shortcode
[book_list]- Outputs all book titles as links
-
AJAX Button
- On single book page
- Shows alert: "Interested in [Book Title]"
Bonus Points (Optional)
- [ ] Publisher taxonomy
- [ ] ISBN field
- [ ] Basic CSS styling
Getting Started
Step 1: Fork this repository
Click the Fork button (top right of this page)
Step 2: Clone your fork
git clone https://github.com/YOUR_USERNAME/wordpress-book-manager-test.git
cd wordpress-book-manager-test