Title: Books Custom Post Type (Genre, Authors and Series)
Author: DannyCooper
Published: <strong>30. januar, 2025</strong>
Last modified: 13. august, 2026

---

Søg plugins

![](https://ps.w.org/books/assets/icon-256x256.png?rev=3618641)

# Books Custom Post Type (Genre, Authors and Series)

 Af [DannyCooper](https://profiles.wordpress.org/dannycooper/)

[Download](https://downloads.wordpress.org/plugin/books.1.2.7.zip)

 * [Detaljer](https://da.wordpress.org/plugins/books/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/books/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/books/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/books/#developers)

 [Support](https://wordpress.org/support/plugin/books/)

## Beskrivelse

Books CPT registers a **Book** post type for managing books in WordPress.

**Taxonomies**

 * **Genre** — hierarchical categories for book genres
 * **Series** — hierarchical categories for book series
 * **Authors** — assign one or more authors per book

**Book details**

Each book supports an excerpt, a series order field, and repeatable purchase links(
retailer + URL). Add links in the **Book details** meta box below the editor.

**Book Purchase Links block**

Insert the **Book Purchase Links** block on a book page or template to show a single
call-to-action button. Clicking it opens a dropdown of retailer links — so multiple
stores never clutter the page with separate buttons.

Find the block by searching **book** or **buy**, or browse the **Books** block category
in the inserter.

Customize the button text via **Button label** in the block settings sidebar when
the block is selected.

Preset retailers: Amazon, Apple Books, Barnes & Noble, Kobo, Google Play, Simple
Digital Download (when that plugin is active), and Other (custom label).

When Simple Digital Downloads is installed, choose **Simple Digital Download** as
a retailer and pick a download. The purchase dropdown shows it as **Buy Direct**
and sends buyers straight to Stripe checkout (or collects email for free downloads).

## Blokke

Dette plugin giver 1 blok.

 *   Book Purchase Links A buy button with a dropdown of bookstore links for the
   current book.

## Installation

 1. Upload the plugin zip via **Plugins  Add New  Upload Plugin**, or install from 
    the WordPress plugin directory.
 2. Activate **Book CPT**.
 3. Add or edit a book under **Books** in the admin menu.
 4. Add purchase links in the **Book details** meta box.
 5. Insert the **Book Purchase Links** block on the book template or single book page.

## FAQ

### Where do I add purchase links?

Edit a book and scroll below the editor to the **Book details** meta box. Use **
Add purchase link** to add retailer URLs.

### Can I customize the button label?

Yes. Select the Book Purchase Links block and change **Button label** under **Button
settings** in the block sidebar.

### How do I find the block in the editor?

Search for **book** or **buy** in the block inserter, or open the **Books** block
category.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Books Custom Post Type (Genre, Authors and Series)” er open source-software. Følgende
personer har bidraget til dette plugin.

Bidragsydere

 *   [ DannyCooper ](https://profiles.wordpress.org/dannycooper/)

[Oversæt “Books Custom Post Type (Genre, Authors and Series)” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/books)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/books/), tjek [SVN repository](https://plugins.svn.wordpress.org/books/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/books/)
via [RSS](https://plugins.trac.wordpress.org/log/books/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.2.7

 * Allow a custom label per Simple Digital Download purchase link, defaulting to
   the download title so multiple downloads are no longer all labelled Buy Direct
 * Distinguish existing Buy Direct links that share a label by appending the download
   title
 * Fix purchase dropdown rows rendering wider than the dropdown on themes without
   a box-sizing reset

#### 1.2.6

 * Use the WordPress dashicons-book icon for the Books admin menu

#### 1.2.5

 * Fix Books admin menu icon showing a white background box

#### 1.2.4

 * Show Buy Direct purchase links first in the retailer dropdown

#### 1.2.3

 * Add Simple Digital Downloads integration with direct checkout via Buy Direct 
   purchase links
 * Reorganize plugin files into includes/ and admin/ (books.php remains the main
   plugin file)
 * Remove unused book-cpt.php compatibility loader
 * Fix admin menu icon displaying at full size

#### 1.2.2

 * Enable revision support for books

#### 1.2.1

 * Enable excerpt support for books

#### 1.2.0

 * Restore books.php as the main plugin file (matches WordPress.org slug)
 * Keep book-cpt.php as a compatibility loader for recent installs

#### 1.1.9

 * Update plugin title to Books Custom Post Type (Genre, Authors and Series)

#### 1.1.8

 * Remove internal development notes from readme

#### 1.1.7

 * Add GitHub Action to deploy to WordPress.org on push

#### 1.1.6

 * Fix plugin URI to https://wordpress.org/plugins/books

#### 1.1.5

 * Rename block to Book Purchase Links for easier inserter discovery
 * Add Books block category and expand block search keywords
 * Update readme and plugin documentation

#### 1.1.4

 * Fix purchase links being cleared when meta box data is not submitted on save
 * Tighten REST API permissions for book meta fields
 * Widen purchase dropdown and raise z-index so it displays above surrounding content

#### 1.1.3

 * Move Book details and purchase links UI to the meta box below the editor
 * Improve admin layout for purchase link rows

#### 1.1.2

 * Fix block editor compatibility for book details fields

#### 1.1.1

 * Add Book details fields to the block editor

#### 1.1.0

 * Add purchase link meta with retailer presets
 * Add Purchase Links block with retailer dropdown UI

#### 1.0.0

 * Initial release with Book post type, Genre, and Series taxonomies

## Meta

 *  Version **1.2.7**
 *  Senest opdateret **2 dage siden**
 *  Aktive installationer **30+**
 *  WordPress-version ** 6.0 eller højere **
 *  Testet op til **7.0.4**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/books/)
 * Tags
 * [author](https://da.wordpress.org/plugins/tags/author/)[books](https://da.wordpress.org/plugins/tags/books/)
   [Genre](https://da.wordpress.org/plugins/tags/genre/)[series](https://da.wordpress.org/plugins/tags/series/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/books/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Din anmeldelse](https://wordpress.org/support/plugin/books/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/books/reviews/)

## Bidragsydere

 *   [ DannyCooper ](https://profiles.wordpress.org/dannycooper/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/books/)