[wordpress插件] Beatport Discography shortcodeBeatport Discography简码

wordpress 插件 文章 2020-03-02 12:30 548 0 全屏看文

AI助手支持GPT4.0

评分
96
描述

WordPress plugin that adds a shortcode on posts or pages to read the artist discography using the Beatport API.

WordPress插件,可在帖子或页面上添加简短代码,以使用Beatport API阅读艺术家唱片。

This plugin gets the feed on request and on the fly, so there is no need to save in database or do any updates.

此插件可应要求并即时获取提要,因此无需保存在数据库中或进行任何更新。

As soon as a release is out on beatport it will be on the list.

一旦Beatport发行了版本,它就会出现在列表中。

There are three different types of feed:

有三种不同类型的供稿:

– Artist Feed
    

–艺术家提要
    

– You can get list of tracks or releases
    

–您可以获取曲目列表或发行版本
    

– If getting list of tracks, you have the option to enable/disable the sound player.
    

–如果获取曲目列表,则可以选择启用/禁用声音播放器。
    

– Artist Bio

–艺术家传记

– Label Feed
    

–标签供稿
    

– You can get list of tracks or releases
    

–您可以获取曲目列表或发行版本
    

– If getting list of tracks, you have the option to enable/disable the sound player.

–如果获取曲目列表,则可以选择启用/禁用声音播放器。

– Release Details Feed
    

–发布详细信息供稿
    

– Gets a detailed view of a release by ID.

–按ID获取版本的详细视图。

You can find the release id on beatport.com in the URL.
        

您可以在URL的beatport.com上找到发行版ID。
        

For example: If you go to beatport and click on a release, the url on your browser will be something like this http://www.beatport.comelease/sonntag/1092381.

例如:如果您转到Beatport并单击一个发行版,则浏览器上的URL将类似于以下http://www.beatport.comelease/sonntag/1092381。

Where the ID is the numbers at the end of it.

该ID是其末尾的数字。

It’s very easy to use:

使用非常简单:

    • Install the plugin
    • 安装插件

    • Activate
    • 激活

    • Create a new post or page
    • 创建新帖子或页面

    • Click the icon with the green Beatport logo on the toolbar
    • 单击工具栏上带有绿色Beatport徽标的图标

    • Type in your artist name, or the artist name you want to show the discography on your wordpress site.
    • 输入您的艺术家姓名,或您要在wordpress网站上显示唱片目录的艺术家姓名。

    Done.

    完成。

    This version will get a JSON object with the following information

    此版本将获得具有以下信息的JSON对象

      • Artist Biography
      • 艺术家传记

      • Release Detail
      • 发布详细信息

      • Release Art Cover
      • 发布艺术封面

      • Release Artists (If it’s a compilation, this will get an array with all artists included in the compilation)
      • 发行艺术家(如果是汇编,这将得到一个包含所有汇编中包含的艺术家的数组)

      • Catalogue Number
      • 目录编号

      • Label
      • 标签

      • Release Date
      • 发布日期

      • Buy link which will direct the user to the release page on beatport.com
      • 购买链接,它将把用户引导到beatport.com上的发布页面

      This will be displayed on on or two columns depending on the page width.

      这将显示在两列或两列上,具体取决于页面宽度。

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

e.g.

例如

    1. Upload plugin-name.php to the /wp-content/plugins/ directory
    2. plugin-name.php 上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

下载地址
https://downloads.wordpress.org/plugin/beatport-discography-shortcode.1.3.8.zip
-EOF-

AI助手支持GPT4.0