Directory / plugin

Load Web Components

v0.1.1 · by Friese

WordPress plugin for loading web components and other JavaScript libraries via shortcodes within the content of a post or page.

About this plugin

Dynamically load web components or JavaScript libraries to any post or page on your WordPress website.

Just add a shortcode to the content of a post or a page, for which you want to load a web component or JavaScript library.
The shortcode can be called with an URL or with the name of the component:

  • [load-webcomponent src="<url>"]
  • [load-webcomponent name="<identifier>"]

The corresponding URLs for each name can be set on the settings page. You will find the settings page in the Settings menu in your administration area.

Support

Please have a look at the Github repo.

Plugin tags