Plugin Author
efreja
(@efreja)
Hello cjneuendorf,
Sorry for not answering earlier, I wasn’t notified by mail by WordPress : I must sort it out…
Thanks for using MSV, I hope you’ll sort it out!
Looking at the source of your page, I see that a line such as:
<script type='text/javascript' src='<em>yoursite</em>/wp-content/plugins/music-sheet-viewer/js/verovio-toolkit-light.js?ver=<em>yourwordpressversion</em>'></script>
is missing. It should have been inserted by the plugin in your page.
It’s the script that includes Verovio.
This script should have been enqueued by a php “wp_enqueue_script” call.
This call didn’t work probably due to something wrong on your website.
Either due to:
- A wrongly coded plugin
- A wrongly coded theme
I would first deactivate other plugins to see if it changes something.
If nothing on the plugin side, I’d then change the theme.
Hope it helps.
Etienne
Thank you for your reply. I had already deactivated a number of plugins, but I went and deactivated everything nonessential, and Music Sheet Viewer does display on my website now. I’ve reactivated only those plugins I know I need and I seem to be good to go.
Plugin Author
efreja
(@efreja)
Great, then. Waiting to see it in action on your website!
I have the same problem.
After I put the code under the text block, it just shows MusicSheetViewerPlugin 2.4
and nothing else.
Can you check it? https://promusicians.net/product/feel-it-still/
PS. I tried to switch off all plugins but it also didn’t work.
Plugin Author
efreja
(@efreja)
Hello,
The first thing I see is that the generated javascript (the place where you have the [pn_msv] tag) is surrounded by . Not necessary, but it’s not the problem..
In your case the behaviour is the same as for cjneuendorf : The verovio javascript isn’t enqueued properly. And the page you sent me shows that contrarily to what you say, there are many plugins installed : woocommerce, product-options-for-woocommerce, wc-product-table-lite, widget-options, kingcomposer, ajax-search-for-woocommerce, jetpack ..
One of these may not be strictly compliant to plugin writing rules…