[WordPress] 外掛分享: Easy Digital Downloads – Blocks

首頁外掛目錄 › Easy Digital Downloads – Blocks
100+
安裝啟用
★★★★★
5/5 分(1 則評價)
2219 天前
最後更新
問題解決
WordPress 5.0+ v1.0.1 上架:2018-11-19

內容簡介

EDD Blocks 在新的 WordPress 編輯器,即 Gutenberg 中新增了一個「下載」區塊。

「下載」區塊讓您可以在網站上顯示類似於 Easy Digital Downloads 提供的 [downloads] 簡碼的下載項目網格。該區塊提供下載項目的視覺化呈現,讓您在配置各種設置時實時預覽下載項目。

除了能夠顯示下載項目外,還可以顯示下載分類或下載標籤的網格。

要求

最新版的 Gutenberg 外掛程式,或 WordPress 5.0 或更高版本
Easy Digital Downloads

功能
顯示下載項目網格

設定每頁顯示的下載項目數量
設定每行顯示的下載項目數量
顯示或隱藏購買按鈕
顯示或隱藏價格
顯示或隱藏縮略圖圖像
顯示或隱藏節錄
顯示或隱藏完整內容
顯示或隱藏分頁
按「創建日期」、「收益」、「ID」、「價格」、「隨機」、「銷售量」、「Slug」或「標題」排序下載項目
按「升序」或「降序」排序下載項目
顯示特定分類的下載項目

顯示下載分類的網格

設定每行顯示的下載分類數量
顯示或隱藏下載分類縮略圖圖像
顯示或隱藏下載分類名稱
顯示或隱藏下載分類描述
顯示或隱藏下載分類計數
顯示或隱藏空的下載分類
按「計數」、「ID」、「名稱」或「Slug」排序下載分類
按「升序」或「降序」排序下載分類

顯示下載標籤的網格

設定每行顯示的下載標籤數量
顯示或隱藏下載標籤縮略圖圖像
顯示或隱藏下載標籤名稱
顯示或隱藏下載標籤描述
顯示或隱藏下載標籤計數
顯示或隱藏空的下載標籤
按「計數」、「ID」、「名稱」或「Slug」排序下載標籤
按「升序」或「降序」排序下載標籤

簡碼

Gutenberg 也提供了簡碼區塊,因此我們新增了 [download_categories] 和 [download_tags] 簡碼。每個簡碼都共享相同的屬性,模仿下載區塊的選項:

thumbnails

true (默認) | false

是否顯示縮略圖圖像。

title

true (默認)| false

是否顯示分類或標籤名稱。

description

true (默認) | false

是否顯示分類或標籤描述。

show_empty

true | false(默認)

是否顯示空字詞。

columns

1 | 2 | 3(默認) | 4 | 5 | 6

列數。

count

true (默認) | false

是否顯示每個字詞中下載項目的數量。

orderby

count(默認) | id | name | slug

按什麼方式排序字詞。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Easy Digital Downloads – Blocks」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

EDD Blocks adds a “Downloads” block to the new WordPress editor, also known as Gutenberg.
The Downloads block allows you to display a grid of Downloads on your site similar to the [downloads] shortcode already provided by Easy Digital Downloads. The Downloads block provides a visual representation of your downloads, allowing you to see a real-time preview of your downloads as you configure the various settings.
As well as being able to display downloads, a grid of Download Categories or Download Tags can be shown.
Requirements

The latest version of the Gutenberg plugin OR WordPress 5.0 or greater
Easy Digital Downloads.

Features
Display a grid of Downloads

Set how many downloads should show per page
Set how many columns of downloads should show
Show or hide the buy button
Show or hide the price
Show or hide thumbnail images
Show or hide the excerpt
Show or hide the full content
Show or hide the pagination
Order downloads by “Date Created”, “Earnings”, “ID”, “Price”, “Random”, “Sales”, “Slug” or “Title”
Order downloads in an “Ascending” or “Descending” order
Show downloads from a specific category

Display a grid of Download Categories

Set how many columns of download categories should show
Show or hide download category thumbnail images
Show or hide download category names
Show or hide download category descriptions
Show or hide download category counts
Show or hide empty download categories
Order download categories by “Count”, “ID”, “Name” or “Slug”
Order download categories in an “Ascending” or “Descending” order

Display a grid of Download Tags

Set how many columns of download tags should show
Show or hide download tag thumbnail images
Show or hide download tag names
Show or hide download tag descriptions
Show or hide download tag counts
Show or hide empty download tags
Order download tags by “Count”, “ID”, “Name” or “Slug”
Order download tags in an “Ascending” or “Descending” order

Shortcodes
Gutenberg also provides a shortcode block so we’ve added a [download_categories] and [download_tags] shortcode. Each shortcode shares the same attributes, mimicking the options of the Downloads block:
thumbnails
true (default) | false
Whether or not to show the thumbnail image.
title
true (default) | false
Whether or not to show the category or tag name.
description
true (default) | false
Whether or not to show the category or tag description.
show_empty
true | false (default)
Whether or not to show empty terms.
columns
1 | 2 | 3 (default) | 4 | 5 | 6
The number of columns.
count
true (default) | false
Whether or not to show the number of downloads in each term.
orderby
count (default) | id | name | slug
What to order the terms by.
order
ASC | DESC (default)
In which order to display the terms.
Shortcode examples
[download_categories count=”false” orderby=”name” order=”ASC” title=”false” columns=”4″]
[download_tags orderby=”id” order=”DESC” columns=”2″]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon