跳到内容

Include Content By Shortcode

v0.5

kashanshah · 2018年5月26日 上架

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.

正在使用
40+
评分
5.0 / 5
累计下载
2,707
最近更新
2024年10月25日
4 条评价需要 WordPress 4.0.1+已测试到 6.6.12PHP 5.2.4+

贡献者

截图

Add a content
Add a content
Copy the shortcode generated for that content
Copy the shortcode generated for that content
Paste the shortcode in any post or page
Paste the shortcode in any post or page
The included content will appear where the shortcode would be pasted
The included content will appear where the shortcode would be pasted

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums