dev-master
9999999-devA WordPress plugin that fetches tabs and chords from Ultimate Guitar
GPLv3 GPL-3.0+
The Requires
- php >=5.3.2
- sunra/php-simple-html-dom-parser ~1.5.2
by Antti Kymén
by Leo Toikka
wordpress wp tabs chords ultimate-guitar
A WordPress plugin that fetches tabs and chords from Ultimate Guitar
A WordPress plugin that fetches tabs and chords from Ultimate Guitar by scraping HTML., (*2)
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:
git clone git@github.com:l3ku/ultimate-guitar-tabs-chords.git
., (*3)
If Composer is used in your project, this plugin can also be included by running composer require l3ku/ultimate-guitar-tabs-chords
., (*4)
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
., (*5)
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., (*6)
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:, (*7)
bash bin/install-wp-tests.sh wordpress_test <DB_USER> <DB_PASSWORD> localhost latest
, (*8)
NOTE: the database user needs permissions to create tables, (*9)
The tests can then be run by simply running the command phpunit
., (*10)
This project is very new and the features of this plugin are still quite limited. Feedback, issues and PR:s are welcome! However, before submitting a pull request make sure that:
1. All tests complete successfully
2. The commits in your PR are logical entities (use git rebase -i
if necessary)
3. Your code is in line with WordPress plugin guidelines, WordPress coding standards and
the already existing plugin code
4. You clearly explain in the PR what is done and why, (*11)
A WordPress plugin that fetches tabs and chords from Ultimate Guitar
GPLv3 GPL-3.0+
wordpress wp tabs chords ultimate-guitar