內容簡介
這個 WordPress 外掛可動態載入 Web 元件或 JavaScript 函式庫到網站的任何文章或頁面中。
只需在想要載入 Web 元件或 JavaScript 函式庫的文章或頁面內加入短碼。
此短碼可以使用 URL 或元件名稱來呼叫:
[load-webcomponent src="<URL>"]
[load-webcomponent name="<identifier>"]
每個元件名稱對應的 URL 可在設定頁面設定。你可以在管理區的設定菜單中找到設定頁面。
支援
請前往Github repo查看支援資訊。
外掛標籤
開發者團隊
原文外掛簡介
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="
[load-webcomponent name="
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.
