Ultimate Guitar Tabs & Chords
DEPRECATED: A WordPress plugin that fetches tabs and chords from Ultimate Guitar
by Leo Toikka & Antti Kymén · github.com/l3ku/ultimate-guitar-tabs-chords · website
★ 5stars
5composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/l3ku/ultimate-guitar-tabs-chords/archive/refs/heads/master.zipAlso on Packagist as l3ku/ultimate-guitar-tabs-chords:
composer require l3ku/ultimate-guitar-tabs-chordsFrom the readme
Ultimate Guitar Tabs & Chords
A WordPress plugin that fetches tabs and chords from Ultimate Guitar by scraping HTML.
Installation
This plugin is yet not available via the wordpress.org plugins directory. Installation is done by navigating to the WordPress plugins directory and cloning the plugin git repository by cloning this project from GitHub:
.
If Composer is used in your project, this plugin can also be included by running composer require l3ku/ultimate-guitar-tabs-chords.
The plugin should now be available for activation in the WordPress admin plugins page. After activation, a new settings page (under "Settings") should be available with the name UG Tabs & Chords.
Usage
Add the plugin shortcode to the desired page or post. You can generate the plugin shortcode by using the shortcode generator available on the plugin settings page.
Tests
PHPUnit based unit tests are included in this project in the tests/ directory. Before running the tests, install the WordPress test suite by running the installation script in the plugin directory:
NOTE: the database user needs permissions to create tables
The tests can then be run by simply running the command phpunit.
Development