Share books, reviews, and highlights
Bookshelf adds a Books section to your site. Your books appear on a shelf of covers or as cards with details. Each book can have a star rating, author, and review, and you can save highlights — passages from a book — with personal notes.
Before you start
- You need an Administrator account on a site running Marketers Delight 6.0 or later.
- Bookshelf also requires WordPress 6.2 or later and PHP 7.4 or later.
- Install and activate the Bookshelf Drop-in.
Add a book
- Go to Books → Add New.
- Enter the book's title in the post title field.
- Fill in Star Rating, Book Author, and optionally a Review Title (if set, it replaces the book title on the book's page).
- Write your review in the post content area.
- Add a featured image as the book cover.
- Publish the book.
Configure the Bookshelf page
The Bookshelf page shows all your books. Go to Books → Books Settings to control how it works.
| Setting | What it does |
|---|---|
| Page Slug | The URL of the Bookshelf archive. Default: bookshelf |
| Bookshelf | Shelf display shows covers on shelves. Book with details shows covers with author, rating, and highlight count. |
| Book Action | Open book page navigates to the book's page. Popup preview opens a card with details, an excerpt, and the latest highlight. |
| Book Pages | Create a page for every book, or only for books with a review or highlights. A book without a page does not link anywhere. |
Add highlights
A highlight is a passage you saved from a book, with an optional note, chapter, page number, and topics.
- Open a book in the editor.
- Find the Highlights box and select Add Highlight.
- Enter the passage and any personal details.
- Save the book.
Highlights appear in a numbered section on the book's page. Each highlight also gets its own page, and Highlight Topic archives group highlights by topic. Book pages and highlight pages are indexed so visitors can browse from the shelf to a book to a passage.
Show books elsewhere
Use the MD → Bookshelf widget (Appearance → Widgets) to show a grid of covers in any widget area. Set the title, description, number of books (default 6), books per row (default 3), and sort order.
The [book] shortcode embeds one book or a list in any post or page:
[book id="123"]— one book by its ID[book id="123,456"]— a comma-separated list of IDs[book type="excerpt"]— show books with their excerpt instead of a cover grid[book count="6"]— number of books to show (default 6)
Check the result
Visit your Bookshelf page at the slug you set in Books Settings. Your covers should appear on shelves or as cards. Open a book to confirm the rating, author, and review are visible. If you use a caching plugin, clear its cache and reload.
