Load Web Components Load Web Components

Load Web Components

Created by: Onno Gabriel

Rating:
Downloaded: 1k times

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.

Screenshots

  • Settings page, where identifiers and URLs of web components or JavaScript libraries are defined.

Categories

Get New Themes & Resources