plugin-icon

Include Content By Shortcode

作者:kashanshah·
This plugin allows you to include content from a custom post type by using a shortcode. You can also add custom CSS and JS to the included content.
评级
5/5
版本
0.5
活跃安装
50
最后更新
Oct 25, 2024
Include Content By Shortcode

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.

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.6.4
这个插件是可用的下载,适用于您的站点。