Coinwidget Shortcode Plugin 1.1

Updated the shortcode plugin to fix an issue where the code would fail due to it trying to append elements to comments in the page.

Issue 4 was reported some time ago as a bug in the plugin. It was causing me some trouble when using different WordPress themes.

Changed this document.lastChild.firstChild.appendChild(x) into this document.body.appendChild(x) in coin.js which was failing because the lastChild either had no firstChild or could not append children.

Leave a comment

Your email address will not be published. Required fields are marked *