Blocks for Discogs

外掛說明

This is a WordPress plugin displays your music collection from Discogs.com in a WordPress Block. If you’re using the Classic Editor, or a page builder such as Elementor, then you can still use its built in short code [blocks-for-discogs].

A live demo can be seen at https://danielr.io/projects/blocks-for-discogs-demo/

Installation and Usage

  1. Install and activate the plugin.
  2. Navigate to Blocks for Discogs in the admin menu
  3. Enter your Discogs.com username (required). If you don’t already have a discogs.com account, you can register for a free account [here] (https://accounts.discogs.com/register).
  4. Enter your Discogs.com token (required). You can view or generate a token here.
  5. If you’re using the WordPress Block Editor, then you can search for the Blocks for Discogs block. Your collection will automatically be displayed, so as long as you have entered a valid username & token.
  6. If you’re using the Classic Editor, or a page builder such as Elementor, then you can use the shortcode [blocks-for-discogs].

This plugin employs infinite scroll to seamlessly load your collection as you continue to scroll. This is important to consider, as you will want to avoid placing content below this block/short code.

Currently only one block per page is supported, and only the default collection will be displayed. If you add multiple blocks to one page, only the first block will display content.

Why isn’t my collection displaying?

Ensure that both username and token are entered correctly. You must also ensure that your collection is publicly accessible by going here and enabling “Allow others to browse my collection”.

Is it possible to …

Currently with the initial release it is not possible to sort the collection, select a custom created collection, want lists, for sale lists, or customize how the collection displays. This functionality is intended to be added in future releases.

螢幕擷圖

  • How the block appears on the front end
  • How the block appears in the Editor
  • View of the settings page

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Blocks for Discogs Display your collection from Discogs in a Gutenberg block or shortcode. Be sure to enter your user name and Discogs.com token in Blocks for Discogs settings.

使用者評論

2024 年 3 月 3 日
Since Discogs doesn't allow iframes to embed collections within websites, this plugin is superb to have. It really needs to be able to filter and sort collections as well pagination as an option instead of infinite scrolling to be practical. Hopefully will see this plugin develop.
2023 年 8 月 30 日
Easy to use - works out the box - and does what it says. Would be awesome if development continued on this! Would love to see additional options, such as being able to filter display to show only parts of a collection, for example "filter" by Genre.
2023 年 4 月 23 日
The sheer fact that this plugin exists is heartening. I'm looking forward to updated releases where we can hopefully have options on the display, sorting, pagination, etc. Thank you for creating this plugin!
閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Blocks for Discogs〉的開發相關工作。

參與者

將〈Blocks for Discogs〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0 – 2022-09-13

  • Initial plugin release.

1.0.1 – 2023-03-05

  • Allow hyphens and periods in usernames.