BACK TO DIRECTORY

Include Content By Shortcode

by kashanshah

5.0
(4 ratings)

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.

Screenshots

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

Plugin Details

Active Installs
50
Total Downloads
2,519
Version
0.5
Requires WP
4.0.1
Requires PHP
5.2.4
Tested Up To
6.6.7
Added
2018-05-26
Last Updated
2024-10-25 3:46am GMT

Ratings

5
4
4
0
3
0
2
0
1
0