[chordpress-chord]
The [chordpress-chord] shortcode accesses a Guitar Chord post and displays it as a diagram.
Format
[chordpress-chord parameter="value" ...]Parameters
| Parameter | Description | Default | Example |
|---|---|---|---|
| barre | Barre information for the chord | no value | 5,1,1 |
| chord | The ID of the Guitar Chord post | no value | 1303 |
| fingers | Finger settings for this chord | no value | (3,2,’2′),(4,3,’4′),(5,3,’3′) |
| frets | How many frets to show in the diagram | 4 | 5 |
| strings | How many strings to show in the diagram (usually 6 for guitar and 4 for banjo) | 6 | 4 |
| position | The first fret to show at the top of the diagram. Settings this to 1 shows the base fret at the top of the diagram. | 1 | 2 |
| title | The title to be displayed above the diagram | no value | My C Chord |
| tuning | The tuning of the strings, shown underneath the diagram | E,A,D,G,B,E | E,A,D,G,H,E |
Examples
[chordpress-chord chord="112"][chordpress-chord barre="5,1,1" fingers="(3,2,'2'),(4,3,'4'),(5,3,'3')" title="F# Major" tuning="E,A,D,G,H,E"]