
內容簡介
這個外掛可以透過短代碼在多個文章或頁面中加入單一內容,類似 PHP 的「include」函數的概念。透過簡單的短代碼,可以加入 HTML、CSS 和 JS。例如,我的品牌標語「最優質的產品」要在多個頁面和文章中使用,就可以在 Included Content 中加入這個標語內容,然後外掛會產生一個短代碼代表這個內容。只要將這個短代碼貼在需要加入標語的地方,就可以將標語加入文章或頁面中。在加入內容時,也可以加入 CSS 和 JS,這些內容會一併包含在短代碼貼上的位置。如果未來需要更改標語,只需要在 Included Content 中修改,就會自動更改所有使用到該短代碼的地方。
外掛標籤
開發者團隊
原文外掛簡介
This plugin enables users to add the same content to multiple posts and pages using a shortcode. It functions similarly to PHP’s ‘include’ function.
Users can include HTML, CSS, and JavaScript in their content with a simple shortcode.
For example, if my brand’s tagline, “The Best Of Its Kind,” needs to be displayed on various pages and posts, I would add it to the Included Content section. The plugin will generate a shortcode for this content, which I can then place wherever I want the tagline to appear.
Additionally, CSS and JavaScript can be added alongside the HTML content, ensuring they are included wherever the shortcode is used.
In the future, if I change my tagline, I only need to update it in the Included Content section, and it will be updated everywhere the shortcode has been used.
