Pym Shortcode version 1.3.1
Pym Shortcode version 1.3.1 brings you the latest version of Pym.js, as well as the following improvements:
- Adds an
id=""attribute to allow setting of custom IDs on embeds, for Github issue #21. Theid=""attribute is useful if you want to load a new embedded page inside the iframe and maintain Pym functionality. - Adds a
class=""attribute to allow setting custom of classes on embeds, for Github issues #22 and #23. Theclass=""attribute allows you to, among other things, add layout classes to embeds so they take a different shape on your page. - Adds a default class name
pymto all embed-containing<div>elements output by this plugin, and a filterpym_shortcode_default_classto allow changing the default class or removing it.