
內容簡介
**摘要:**
- 使用 Gutenberg blocks 可嵌入 Discogs 用戶的收藏品、想要清單、個人資料、收藏價值和自定義清單,擁有大量自定義選項。
- 透過 Discogs API 提供支援,需具有有效的 Discogs 帳戶和個人訪問權杖。
- 提供前端排序、篩選和分頁選項,方便瀏覽大量標題。
- 可顯示任何公開個人檔案的用戶的數據,不僅限於自己的。
**問題與答案:**
1. 使用者收藏
問:使用者如何展示收藏品?
答:可以以網格或清單方式展示收藏品。
2. 使用者想要清單
問:使用者如何展示想要清單?
答:可以以網格或清單方式展示想要清單。
3. 使用者收藏價值
問:如何展示使用者的收藏價值?
答:可以以簡單的 4 列表格方式展示收藏價值。
4. 使用者個人資料
問:如何展示使用者個人資料?
答:可以展示具備視覺吸引力的用戶個人資料區段,包括標題區、統計數據等。
5. 使用者清單
問:使用者如何展示自定義清單?
答:可以以網格或清單方式展示自定義清單。
6. 設置頁面
問:設置頁面提供了哪些功能?
答:提供了全球的用戶名和個人訪問權杖欄位、視覺 API 頻率限制界面、暫時快取界面和調試日誌功能。
7. 快取
問:快取的重要性在哪裡?
答:快取 Discogs API 調用可大幅降低頁面加載時間,並預防 API 打超出。
外掛標籤
開發者團隊
原文外掛簡介
Gutenberg blocks for Discogs Users to embed collections, wantlists, profiles, collection values, and custom lists with tons of customization options.
Take the music collection that you’ve spent a lifetime building and share it on your own website with total control over the look.
Powered by the Discogs API, this plugin requires a valid Discogs account and personal access token to use.
Options for front-end sorting, filtering, and pagination to easily navigate large sets of titles.
Display data from any user whose profile is set to public – not just your own.
USER COLLECTION
Display titles from a user’s Collection as grid or list
Choose default desktop column count
Built-in responsive layout adjustments for smaller screens
Control which fields are displayed
Artist, format, genres, image, labels, title, and year
Set default sorting, sort order, and per page options
Allow users to sort on front end or use default settings
Fetches 100 releases maximum per page with front-end pagination features
Works for any username with public collection
USER WANTLIST
Display titles from a user’s Wantlist as grid or list
Choose default desktop column count
Built-in responsive layout adjustments for smaller screens
Control which fields are displayed
Artist, format, genres, image, labels, title, and year
Set default sorting, sort order, and per page options
Allow users to sort on front end or use default settings
Fetches 100 releases maximum per page with front-end pagination features
Works for any username with public wantlist
USER COLLECTION VALUE
Display a user’s Collection Value in a simple 4-column table
Control which fields are displayed
Collection count, maximum value, median value, minimum value
Only works for username connected to personal access token
USER PROFILE
Display a visually-pleasing User Profile section featuring your Discogs profile data
Header section with banner graphic or background color
Statistics from Discogs database entries
Releases contributed, rated, in collection, for sale, and in wantlist
Control which fields are displayed
Avatar, banner, collection value, profile link, location, registration date, profile text, and all statistics mentioned above
Visual customization of colors and borders
Easy to style with CSS or inherits text colors from parent elements
Works for any public username (collection value requires matching username/token)
USER LIST
Display titles from a user’s custom List as grid or list
Choose default desktop column count
Built-in responsive layout adjustments for smaller screens
Control which fields are displayed
List Name and Description
Release Image, title, and comment
Built-in one click helper to retrieve all list IDs from user
Works for any username with public list
USER LISTS
Display a listing of a user’s lists (listception??)
Control which fields are displayed
List image, title, description, and link to list on Discogs
Works for any username with public lists
SETTINGS PAGE
Fields for providing username and personal access token to blocks globally
Visual API rate limit interface for keeping track of current rate limits
Transient cache interface for clearing outdated data
Debug log for tracking every API call to Discogs
CACHING
One of the most important features in this plugin is the ability to cache Discogs API calls in temporary transients. This has several benefits:
* Reduces the amount of times your token needs to “ping” Discogs, preventing API overages or your site being blocked for overuse
* Drastically reduces the page load time after data has been cached
Caching works for all blocks and types of API calls, WITH THE EXCEPTION of when users are allowed to sort/filter on the front-end (user collections and wantlists). Allowing sort parameters turns caching off, and will require an API call on every page load.
COMPATIBILITY
This plugin requires a minimum PHP version of 8.0
This plugin requires Gutenberg Editor to be activated
This plugin requires an active Discogs account and personal access token
NOTICE
Your use of this plugin as an individual and a site owner is governed by the terms outlined on Discogs’ “Terms of Use”.
*This plugin is not affiliated with, endorsed by, or built in collaboration with Discogs.
Support
If you have questions, need help, or just want to share feedback, I recommend using the Support tab on the WordPress.org plugin page. It’s the best way to reach out quickly and keep everything organized. I appreciate positive reviews if you liked this plugin or found it useful.
For general inquiries, you can also reach out at https://www.greyforest.digital/contact.
