For better performances, the CSS and JS resources of the plugin should be enqueued only when they are needed.
Not sure what's the best option here, but it's possible to perform a regexp on the_content and to enqueue the resources only when a link to wikipedia is used in the content of the post.
For better performances, the CSS and JS resources of the plugin should be enqueued only when they are needed.
Not sure what's the best option here, but it's possible to perform a regexp on
the_contentand to enqueue the resources only when a link to wikipedia is used in the content of the post.