Title: Books Custom Post Type (Genre, Authors and Series)
Author: DannyCooper
Published: <strong>30 ژانویه 2025</strong>
Last modified: 13 آگوست 2026

---

جستجوی افزونه‌ها

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

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

 توسط [DannyCooper](https://profiles.wordpress.org/dannycooper/)

[دانلود](https://downloads.wordpress.org/plugin/books.1.2.7.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/books/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/books/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/books/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/books/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/books/)

## توضیحات

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).

## بلوک‌ها

این افزونه 1 بلوک ارائه می‌دهد.

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

## نصب

 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.

## سوالات متداول

### 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.

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“Books Custom Post Type (Genre, Authors and Series)” نرم افزار متن باز است. افراد
زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

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

[ترجمه “Books Custom Post Type (Genre, Authors and Series)” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/books)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/books/)، [مخزن SVN](https://plugins.svn.wordpress.org/books/)
را بررسی کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/books/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/books/) مشترک شوید.

## گزارش تغییرات

#### 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

## اطلاعات

 *  نگارش **1.2.7**
 *  آخرین به‌روزرسانی **3 روز پیش**
 *  نصب‌های فعال **40+**
 *  نگارش وردپرس ** 6.0 یا بالاتر **
 *  آزمایش‌شده تا **7.0.4**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/books/)
 * برچسب
 * [author](https://fa.wordpress.org/plugins/tags/author/)[books](https://fa.wordpress.org/plugins/tags/books/)
   [Genre](https://fa.wordpress.org/plugins/tags/genre/)[series](https://fa.wordpress.org/plugins/tags/series/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/books/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

[بررسی شما](https://wordpress.org/support/plugin/books/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/books/reviews/)

## مشارکت کنندگان

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

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/books/)