WP Manifestindependent plugin directory
manifest / content / guitar-chord-sequence-plugin

Guitar Chord Sequence Plugin

A Wordpress plugin that allows the user to select a pre-saved set of guitar chords from a drop down menu and generates a guitar chord sequence.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/richardgourley/guitar-chord-sequence-plugin/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A Wordpress plugin that generates buttons on a Wordpress page that display different musical keys. On clicking a button for a specific key, chord sequences of 2,3 and 4 chords are generated.

The plugin is ideal for song-writers looking for inspiration or guitarists wishing to practice chords from different musical keys.

On generating chord sequences, the code is written to start with either a root major chord OR a root minor chord. The remaining chords are then shuffled before outputting chord sequences of 2,3 or 4 chords.

SKILLS COVERED

  • PHP OOP programming for Wordpress plugins.
  • Localizing a PHP array to use in a JS file.
  • Custom post type.
  • Inserting posts on plugin activation.
  • Registering activation hooks.
  • Enqueuing JS and CSS files the Wordpress way.
  • Gutenberg blocks - registering a block that displays the musical key buttons
  • Deactivation hooks.
  • Separating classes into model classes, init classes and deacivation classes.