abcjs
abcjs copied to clipboard
Using tablature and Wordpress plugin
I am impressed with the tablature functionality, but am having difficulty using it in the ABC Notation Wordpress plugin. The problem is that square brackets cannot be passed in the WP shortcode attributes, so something like this won't work:
[abcjs options="{tablature: [{instrument: 'violin',label: 'Mandolin',tuning: ['G,', 'D', 'A', 'E']}]}"]
...
[/abcjs]
I have tried using [
and ]
in place of "[" and "]", but this doesn't help. Is there any way to work around this?
I'll look into it. I think the first problem is that I haven't updated the WordPress plugin to use tablature, so that's my first step.
Thanks for reporting this!
The WordPress plugin is updated and supports tablature now.
I looked into the brackets and I guess the answer is to use [
and ]
like you mention. The plugin works with that now.
It seems like there could be a more convenient way to do the brackets. I'm open to suggestions.