[wordpress插件] ChordChartWP和弦图

wordpress 插件 文章 2020-03-23 06:10 560 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This is a wordpress shortcode for the javascript library chordography2 (https://chordography2.blogspot.com/).

这是javascript库chordography2(https://chordography2.blogspot.com/)的wordpress简码。

It is easy to use, plug and play, and can be intensively costumized with several parameters.

它易于使用,即插即用,并且可以通过几个参数集中使用。

The database of chords are designed for guitar and are only the major non-chromatic chord “A,B,C,D,E,F,G”.

和弦数据库是为吉他而设计的,仅是主要的非彩色和弦“ A,B,C,D,E,F,G”。

This

这个

will grow and will be updated in the future.

将会增长并在将来进行更新。

To visualize a chord from the database write

要可视化数据库中的和弦,请写

[chordChart title="C"]

  [chordChart title =“ C”]

For more chords from the database

有关数据库中的更多和弦

[chordChart title="A,B,C,D,E,F,G"]

  [chordChart title =“ A,B,C,D,E,F,G”]

For custom chords

用于自定义和弦

[chordChart title="Am7,DM7" frets="x02010,x57675" labels="xx2x1x,x13241"]

  [chordChart title =“ Am7,DM7” frets =“ x02010,x57675” labels =“ xx2x1x,x13241”]

For mixed of chords from database and custom chords

用于混合数据库和自定义和弦

[chordChart title="C,D,Em" frets=",,022000" labels=",,x12xxx"]

  [chordChart title =“ C,D,Em” frets =“ ,, 022000” labels =“ ,, x12xxx”]

For chord in higher position of the neck you could use parantheses to define them

对于在脖子较高位置的和弦,您可以使用括号定义它们

[chordChart title="C" frets="8(10)(10)988" labels="134211"]

  [chordChart title =“ C” frets =“ 8(10)(10)988” labels =“ 134211”]

User could also ignore the label parameter but then the barre sign will not be rendered for E-shape and A-shape chords.

用户也可以忽略label参数,但是对于E形和A形和弦,不会显示巴雷音符。

To change the style, you could use parameter such as style=”pretty” or cellHeight=34, etc.,.

要更改样式,可以使用诸如style =” pretty”或cellHeight = 34等参数。

in the short code.

在短代码中。

The other parameter can be found in the chart.data.js file

另一个参数可以在chart.data.js文件中找到

安装步骤

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

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

e.g.

例如

    1. Upload the plugin files ‘ChordChartWP’ to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件“ ChordChartWP”上传到 / wp-content / plugins / 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

下载地址
https://downloads.wordpress.org/plugin/chordchartwp.zip
-EOF-

AI助手支持GPT4.0