Lewe ChordPress
Search…
⌃K

[chordpress-jtab] (2.x)

Obsolete

Note, that this shortcode is not supported anymore in Lewe ChordPress version 3.0.0 and higher.
The [chordpress-jtab] shortcode utilizes the open source jTab library to display chord diagrams and notation. You can find more details about it here: https://jtab.tardate.com/

Format

[chordpress-jtab parameter="value" ...]

Parameters

Parameter
Description
Default
buttontext
When using form=”true”, this is the text shown in the button for an online conversion of a jTab phrase
Show jTab
color
Color of the diagram. Use CSS code, e.g. #990000.
none
form
Set to “true” to show an input box with a button to convert a jTab phrase right one your page.
false
id
If you want to address the element with your own code, you can use this if to identify the DOM object. (This does not work when you use form=”true”)
none
phrase
Tha jTab phrase you want to have converted (find details here).
5

Examples

[chordpress-jtab phrase="G / C / D"]
[chordpress-jtab form="true" buittontext="Convert" phrase="C Em Am"]