Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/banjerr/guitar-chord-shortcodes-for-wordpress
Easily create guitar chord diagrams in a WordPress post or page with a shortcode and a few parameters.
https://github.com/banjerr/guitar-chord-shortcodes-for-wordpress
Last synced: about 2 months ago
JSON representation
Easily create guitar chord diagrams in a WordPress post or page with a shortcode and a few parameters.
- Host: GitHub
- URL: https://github.com/banjerr/guitar-chord-shortcodes-for-wordpress
- Owner: Banjerr
- Created: 2015-10-28T16:26:28.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-28T17:59:38.000Z (about 9 years ago)
- Last Synced: 2024-06-01T04:36:26.525Z (7 months ago)
- Language: PHP
- Size: 90.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
=== Guitar Chord Diagram Shortcode ===
Contributors: Myles English (Bijingus)
Tags: guitar, chord, shortcode, diagram
Requires at least: 3.0.1
Tested up to: 1.0
Stable tag: 1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.htmlEasily create guitar chord diagrams in a WordPress post or page with a shortcode and a few parameters.
== Description ==
Type the shortcode [guitar-chord] into any post or page with the parameters name, type, placement and fingering. Below is an example of an Em chord.
[guitar-chord name="E" type="minor" placement="0,2,2,0,0,0" fingering="0,1,2,0,0,0"]
The parameters name and type are only used to display the name and type of the chord.
Placement defines where the placement of the notes are on the fretboard. Notice how there are six numbers for placement and fingering? This is because there are six strings on the guitar. The numbers you use represent the frets.
In the case of the example Em chord above, the sixth string is open, fifth string second fret, fourth sting second fret, third string open and so on.
Fingering is similar, but defines the fingering numbers and does not affect placement.
It is important you only include six values for placement and fingering and separate each value with a comma. Do not include a comma at the end.
If a string is not to be played, use an "x" for that placement and fingering.
Here are some more examples:
[guitar-chord name="C" type="Major" placement="x,3,2,0,1,0" fingering="x,3,2,0,1,0"]
[guitar-chord name="A" type="m" placement="x,0,2,2,1,0" fingering="x,0,2,3,1,0"]
[guitar-chord name="A" type="m" placement="5,7,7,5,5,5" fingering="1,3,4,1,1,1"]
== Installation ==
1. Copy the plugin folder into your WordPress plugin directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. Use the shortcode [guitar-chord] with the appropriate parameters== Frequently Asked Questions ==
= The chord diagram isn't displaying correctly =
Double check every parameter is typed and speelled correctly. Also check that there are six comma separated values for fingering and placement and that there is no comma after the sixth value.
== Screenshots ==
1. This screen shot displays what the guitar chord diagrams will look like in a post or page.
== Changelog ==
= 1.0 =
* Release