WordPress OSINT, maintenance or security needs? Reach out!
TLDWP

Plugin: post-content-shortcodes (Used by 672 domains)

Post Content Shortcodes

πŸ‘€ Curtiss Grymala πŸ“¦ v1.0.1.1 πŸ”— Plugin Homepage

This plugin adds two shortcodes that allow you to display either the content of a post or a list of posts within the content area of a post. This plugin should be fully compatible with all post types, as it simply uses the get_post() and get_posts() WordPress functions.

Post Content

The first shortcode is the [post-content] shortcode. Using that shortcode will allow you to display the content of one post within another post. This shortcode requires a single attribute with a key of β€œid”. To use this shortcode to display the content of a post or page with an ID of 25, you would use this shortcode like [post-content id=25]. This shortcode also accepts the following optional arguments:

  • post_name => null – The slug of the post that you want to pull. This can be used in place of the id attribute
  • show_image => false – Determines whether or not to display the featured image (if so, this appears before the content)
  • show_excerpt => false – Determines whether to default to showing the post excerpt instead of the post content (still falls back to post content if the excerpt is not set)
  • excerpt_length => 0 – If you would like to limit the length of the content/excerpt shown on the page, specify the maximum number of words that should be shown (a read more link will automatically be appended to any entries that exceed that limit).
  • image_width => 0 – The width, in pixels, to which the featured image should be sized
  • image_height => 0 – The height, in pixels, to which the featured image should be sized
  • show_title => false – Whether or not to show the post title at the top of the content. By default, the title is wrapped in

    tags, but you can use the post-content-shortcodes-title filter to modify the title output.

  • link_image => false (set this to true/1 if you would like to wrap the featured image in a link to the post) – Added in 0.6
  • view_template => null (if you are using the Views plugin, you can set the ID of an existing Content Template to be used in-place of the default list item output) – Added in 0.6
  • shortcodes => false – By default, this plugin strips shortcodes out of the post content/excerpt. If you would like to attempt to process/render shortcodes in the content, set this flag to true.

Post List

The second shortcode is the [post-list] shortcode. This shortcode does not require any arguments, but will accept the following arguments (most of which are the default arguments used with get_posts()):

  • numberposts => -1
  • offset => 0
  • category => null (can accept category slug [with quotes] or category ID [without quotes])
  • orderby => title
  • order => asc
  • include => null
  • exclude => null
  • meta_key => null
  • meta_value => null
  • post_type => 'post'
  • post_mime_type => null
  • post_parent => null
  • post_status => 'publish'
  • exclude_current => true
  • –blog_id => 0 (the numeric ID of the site from which to pull the posts)–
  • blog => null (can be set to the numeric ID or the blog name [slug] of the site from which to pull the posts – this replaces the old blog_id attribute)
  • show_image => false
  • show_excerpt => false
  • excerpt_length => 0
  • image_width => 0
  • image_height => 0
  • tax_name => null (the name of a taxonomy – e.g. β€œtag”, β€œcategory”, etc. – to be used to filter the list of posts) – Added in 0.6
  • tax_term => null (the list of term IDs or slugs to filter the list of posts – multiple IDs or slugs can be separated by spaces) – Added in 0.6
  • link_image => false (set this to true/1 if you would like to wrap the featured image in a link to the post) – Added in 0.6
  • ignore_protected => false (set this to true/1 if you would like the post list to exclude any password-protected posts) – Added in 0.6
  • view_template => null (if you are using the Views plugin, you can set the ID of an existing Content Template to be used in-place of the default list item output) – Added in 0.6

The first 13 arguments are standard arguments for the get_posts() function.

The exclude_current argument is not a standard argument for the get_posts() function. It is a custom argument for this plugin. When that argument is set to true, the current page or post will be excluded from the list of posts. If it is set to false, "false" or 0, the current page or post will be included in the post list.

The blog_id argument is also not standard. That argument allows you to pull a post from a site other than the current site when using WordPress multisite. Simply set that argument to the ID of the site from which you want to pull the post, and the post with the id you specify will be pulled from the blog/site with the blog_id you specify.

The show_image, image_width and image_height arguments only apply to the post-list shortcode. They determine whether to display the featured image and how to display it for each post within the list. If the image_width and image_height arguments are both set to 0 (which is the default), the β€œthumbnail” size will be used (assuming the show_image argument is set to 1 or β€œtrue”). If only one of the image_width or image_height arguments are set, the other argument will be set to 999999 to ensure that the specified dimension is met.

The show_excerpt and excerpt_length arguments also apply to the post-list shortcode. If you set show_excerpt to 1 or β€œtrue”, the post excerpt will be shown if it exists. If it doesn’t exist (or is empty), the post content will be shown (with HTML stripped out of it). You can truncate the length of the excerpts that are shown in the post list by setting the excerpt_length value. The excerpt_length is measured in words, so if you would like each excerpt to display no more than 50 words, you would set the excerpt_length parameter to 50. If you leave it set to 0 (which is the default), the entire excerpt or content will be shown in the post list. In the post-list shortcode, if show_excerpt is set to 0 or false, no content will be shown in the list (as opposed to the behavior of the show_excerpt parameter in the post-content shortcode).

The view_template argument can be a bit complicated to get working properly, and is still a bit experimental. Please use it at your own risk. Unfortunately, the standard [wpv-post-featured-image] and [wpv-post-url] shortcodes (and, by extension, the [wpv-post-link] shortcode) do not work properly, especially when trying to display content from another site in the network. There are three extra shortcodes created for use in your Content Template, the first two of which replace the [wpv-post-featured-image] and [wpv-post-url] shortcodes:

  • [pcs-thumbnail] – will output the post thumbnail (at the width/height you set in the post-content/post-list shortcode attributes)
  • [pcs-post-url] – will return/output the URL to the post
  • [pcs-entry-classes] – will add some additional classes to the entry wrapper. Accepts 2 parameters:
    • classes – a space-separated list of the CSS classes you want to apply to the entry
    • columns – a numerical value representing how many columns you want in the list (which will automatically add column-1, column-2, etc. to the list of entry classes, as well as adding a class of β€œfirst” to the first item in each row – for instance, if you have 6 items, and you use [pcs-entry-classes classes="foo bar entry" columns="3"], the class list for the first and fourth items will be foo bar entry column-1 first, the class list for the second and fifth items will be foo bar entry column-2 and the class list for the third and sixth items will be foo bar entry column-3)

I have created a Gist showing a simple example of a Views Content Template used with a Post List widget.

To read more about the other arguments, please visit the codex page for the get_posts() function.

If you are looking to display a list of attachments in a post, rather than displaying a list of posts or pages, you might want to check out the List Attachments Shortcode plugin instead.

Multisite – Pulling Posts From Another Blog

To pull a list of posts from another blog, simply provide the blog’s ID as the blog_id argument in the shortcode. With that argument, this plugin will pull a list of posts that match the other criteria you provided. If the blog_id argument is provided, and the blog_id doesn’t match the ID of the current blog, the exclude_current argument will be ignored (otherwise, this plugin would automatically exclude whatever post on the other blog happens to have the same ID as the current post).

When the list is displayed, shortlinks (that blog’s URL with ?p=[post_id]) will be used, rather than the proper permalink, since it would require a lot more resources to build the proper permalink.

The usage would look something like:

[post-list blog_id=12 post_type="page"]

When displaying a post list, you can use any post_type that is registered on that blog (that post_type does not have to be registered on the current site).

To display the content of a single post from another blog, again, simply provide the blog’s ID as the blog_id argument. That will pull the content of that post. Unfortunately, at this time, there is no way to invoke all of the plugins from the blog from which you’re pulling the content, so any shortcodes, filters, etc. that may be active on the source blog will not be parsed when the content is displayed on the current blog. Obviously, if all of the same plugins and themes are active (or, if any plugins/themes that introduce shortcodes and filters are active) on both the source blog and the current blog, then there is nothing to worry about.

The usage would look something like:

[post-content blog_id=12 id=25]

That would pull the content for the post with an ID of 25 from the blog with an ID of 12.

To Do

  • Add AJAX features to allow user to choose from a list of posts/sites, instead of requiring them to manually enter the ID
DomainExposuresHeadersLast Checked
g*r*e*z*u*.com βœ… F 2026-05-07 07:54:44
m*-*v*r*f*.com (WP 6.9.4) βœ… F 2026-05-07 07:35:38
b*s*c*m*u*e*.com βœ… F 2026-05-07 06:30:39
s*h*e*s.com (WP 6.7.5) βœ… F 2026-05-07 05:53:35
m*t*c*.com (WP 6.8.1) βœ… F 2026-05-07 05:45:16
b*o*.r*c*o*s*u*d.com (WP 6.9.4) βœ… F 2026-05-07 04:43:11
p*r*e*t*i*i*g*n*.com (WP 6.9.1) βœ… F 2026-05-07 02:17:33
r*f*o*m.w*e*g*n*.com βœ… F 2026-05-07 01:19:04
c*t*r*c*i*g.r*f*o*m.w*e*g*n*.com βœ… F 2026-05-07 01:19:04
a*n*e*z*a*r*y*y*z.com βœ… F 2026-05-07 00:49:27
a*s*r*l*a.s*m*.org (WP 6.4.3) ⚠️ F 2026-05-06 23:47:09
l*v*n*s*o*e*e*i*n*u*l*.com βœ… F 2026-05-06 22:05:42
a*i*e*e*a*l*r.com βœ… A 2026-05-06 21:53:05
d*e*d*e*-*e*e*n*f*e*-*e*e*l*g*e.de (WP 6.4.8) ⚠️ F 2026-05-06 21:47:49
t*e*t*e*d*-*o*r*n*.fr βœ… C 2026-05-06 21:31:58
a*t*c*e*e*.com βœ… F 2026-05-06 20:38:20
i*n*v*t*v*e*e*t*i*i*c.net βœ… F 2026-05-06 20:21:49
p*o*u*t*-*i*b*l*t*-*n*u*a*c*.com βœ… F 2026-05-06 17:56:23
c*m*u*i*y*b*o*h.com βœ… F 2026-05-06 16:54:06
d*n*u*r*-*e*t*l*r*c*i*e.com βœ… F 2026-05-04 13:23:10
f*c*a*k*d.com (WP 6.9) βœ… F 2026-05-04 11:46:50
b*r*e*o*u*t*u*b*i*e*e*t*.com (WP 5.8.1) ⚠️ F 2026-05-04 10:20:49
a*s*l*e*.com βœ… F 2026-05-04 09:44:14
p*r*h*a*l*b.com βœ… F 2026-05-04 09:07:44
c*e*t*n*o*s*r*c*i*n*n*.com (WP 6.9.4) βœ… F 2026-05-04 08:36:49
g*s*a*t*h*r*p*e*b*.com (WP 6.9.4) βœ… F 2026-05-04 08:23:42
i*m*g*a*i*n*u*p*r*.com βœ… F 2026-05-04 08:08:31
a*r*a*l*f*o*-*t.com βœ… F 2026-05-04 06:26:47
a*r*a*l*f*c*.com βœ… F 2026-05-04 06:26:47
a*r*a*l*f*.com βœ… F 2026-05-04 06:26:47
a*r*a*-*i*t*s*r*i*e.com βœ… F 2026-05-04 06:15:55
a*r*a*-*i*t*r*p*i*.com βœ… F 2026-05-04 06:15:55
h*g*f*o*t*e*.org βœ… F 2026-05-04 04:03:14
v*l*e*n*e*t.ca (WP 6.9.4) βœ… D 2026-05-04 02:08:16
s*c*e*s*u*e*u*a*i*n*o*u*i*n*.com (WP 6.9.4) βœ… F 2026-05-04 01:08:21
a*t*n*r*y*t*c*s.com (WP 6.0.11) ⚠️ F 2026-05-04 00:59:45
a*v*o*s*l*i*g.net βœ… D 2026-05-04 00:10:08
c*e*n*r*d*t*r*w.com βœ… F 2026-05-03 23:39:25
g*o*g*a*v*r*f*.com (WP 6.9.4) βœ… F 2026-05-03 23:17:09
g*o*g*s*u*y.com (WP 5.4.19) ⚠️ C 2026-05-03 22:26:04
s*b*a*.com βœ… F 2026-05-03 22:14:22
i*a*i*a*c*b*n*a*.com πŸ”“ F 2026-05-03 21:02:32
i*m*r*o*.o*g.cy (WP 6.7.1) βœ… F 2026-05-03 20:53:01
c*t*s*u*a*s*u*h.com βœ… F 2026-05-03 19:35:49
c*a*s*o*m*n*h*m*d*l*.com (WP 6.7.5) βœ… F 2026-05-03 17:45:23
m*s*e*a*r*.org (WP 6.9.4) βœ… F 2026-05-03 17:38:19
c*p*s*e*s.com (WP 6.8.5) βœ… F 2026-05-03 16:56:09
u*e*j.com (WP 6.5.8) πŸ”“ F 2026-05-03 16:25:26
h*m*.o*h*r*i*.net (WP 6.9.4) βœ… F 2026-05-03 16:19:18
m*s*s*c*e*s*e*e*l*d.com βœ… F 2026-05-03 15:58:08
1*o*l*-*o*c*.com βœ… F 2026-05-03 14:42:08
c*v*n*t*t*t*.com πŸ”“ F 2026-05-03 12:46:06
a*u*t*n*e*a*h*e*e.com (WP 5.2.21) ⚠️ F 2026-05-03 12:43:49
b*b*v*r*a*d.de (WP 6.9.4) βœ… F 2026-05-03 10:26:25
m*c*o*i*k.com (WP 5.8.13) ⚠️ F 2026-05-03 10:25:26
m*-*a*.com (WP 6.9.4) βœ… D 2026-05-03 07:49:38
g*o*p*i*t.church βœ… F 2026-05-03 07:03:17
m*s*y*o*n.l*d*w*l*g*l*e*y.com (WP 6.9.4) βœ… F 2026-05-03 04:52:23
c*s*c*w*o*s*l*i*g.in (WP 6.4.8) ⚠️ F 2026-05-03 04:50:49
s*n*e*c*c*l*u*a*o*.com (WP 5.8.13) ⚠️ F 2026-05-03 04:11:10
p*l*u*a.com βœ… F 2026-05-03 03:58:13
s*n*o*y*a*s.com βœ… F 2026-05-03 03:28:24
h*l*.j*s*i*e*o*n*c*.o*g.au (WP 6.2.2) ⚠️ F 2026-05-03 02:43:42
b*l*r*b*l*r*o*.com (WP 6.2.9) ⚠️ F 2026-05-03 00:51:45
g*o*g*s*u*y.ie (WP 5.4.19) ⚠️ C 2026-05-03 00:02:19
s*a*i*g.s*c*a*o.com (WP 5.8.13) ⚠️ D 2026-05-02 23:40:26
g*l*m*n*a*.com βœ… F 2026-05-02 23:29:00
g*l*m*n*l*w.com βœ… F 2026-05-02 23:29:00
t*a*e*c*e*t*v*.a*t*o*b*z*.c*.uk βœ… F 2026-05-02 23:17:06
l*y*t*c.eu βœ… F 2026-05-02 22:21:09
i*r*n*e*.org (WP 4.7.33) ⚠️ F 2026-05-02 22:15:46
u*e*t*e*t*u*k.com βœ… F 2026-05-02 21:22:57
u*e*f*r*s*r*b*c*e*t*u*k*.com βœ… F 2026-05-02 21:00:22
u*e*f*r*s*r*b*c*e*t*u*k.com βœ… F 2026-05-02 21:00:22
u*e*d*g*e*d*r*i*k.com βœ… F 2026-05-02 20:53:46
c*t*r*c*i*g.com βœ… F 2026-05-02 20:52:27
u*e*a*t*c*r*c*s.com βœ… F 2026-05-02 20:38:39
b*l*a*h*s*v*s.com (WP 6.9.4) βœ… F 2026-05-02 20:33:14
l*g*l*r*e*o*g*.paris (WP 6.9.4) πŸ”“ F 2026-05-02 20:07:58
b*k*r*f*e*d*a*i*o*e*t*l*.com (WP 6.9.4) βœ… F 2026-05-02 18:29:59
r*y*o*d*.s*6*.b*.ca βœ… F 2026-05-02 17:45:53
v*d*c*m*i*s*o*i*g.com βœ… F 2026-05-02 17:11:47
s*o*y*a*m*r.c*y*t*q*e*t.com (WP 5.4.19) ⚠️ F 2026-05-02 15:17:25
d*v*r*e*i*y.de βœ… F 2026-05-02 13:30:54
p*g*y.fr (WP 6.9.4) βœ… F 2026-05-02 13:04:26
l*t*.fr (WP 6.9.1) βœ… F 2026-05-02 12:19:02
c*d*r*i*l.s*6*.b*.ca βœ… F 2026-04-23 02:26:50
l*n*d*w*e.s*6*.b*.ca βœ… F 2026-04-23 02:26:50
d*n*a*t*r.s*6*.b*.ca βœ… F 2026-04-23 02:26:50
m*u*t*o*g.s*6*.b*.ca βœ… F 2026-04-23 02:26:50
l*k*h*l*.s*6*.b*.ca βœ… F 2026-04-23 02:26:50

Top 50 Plugins

Plugin Count
elementor 1,800,450
contact-form-7 1,770,416
elementor-pro 1,049,481
woocommerce 816,578
revslider 617,763
jetpack 467,002
js_composer 432,362
wp-rocket 334,096
essential-addons-for-elementor-lite 293,692
gravityforms 267,060
complianz-gdpr 256,646
cookie-law-info 231,313
instagram-feed 228,088
google-site-kit 222,053
sitepress-multilingual-cms 221,190
google-analytics-for-wordpress 214,049
header-footer-elementor 210,208
elementskit-lite 206,911
bluehost-wordpress-plugin 190,775
gutenberg 162,337
gutenberg-core 159,507
cookie-notice 151,371
the-events-calendar 131,527
litespeed-cache 130,994
wpforms-lite 129,550
gtranslate 127,925
astra-sites 119,573
popup-maker 116,091
woocommerce-payments 112,960
tablepress 109,187
coblocks 99,539
honeypot 97,392
astra-addon 95,313
duracelltomi-google-tag-manager 93,533
wp-smushit 93,516
all-in-one-seo-pack 93,320
LayerSlider 91,657
bb-plugin 90,822
premium-addons-for-elementor 86,880
megamenu 86,508
akismet 86,074
cleantalk-spam-protect 83,880
mailchimp-for-wp 83,756
woocommerce-gateway-stripe 83,116
ml-slider 81,034
fusion-builder 79,664
borlabs-cookie 79,520
ewww-image-optimizer 79,050
wp-pagenavi 78,797
formidable 78,063

Top 50 Themes

Theme Count
hello-elementor 615,573
Divi 510,726
astra 423,626
flatsome 133,744
Avada 124,341
generatepress 119,948
pub 109,942
oceanwp 83,460
kadence 78,474
enfold 71,844
salient 66,714
twentytwentyfour 58,958
h4 56,410
twentyseventeen 56,190
bb-theme 55,281
cocoon-master 52,095
betheme 51,820
blocksy 50,688
dt-the7 46,160
twentytwentyfive 43,814
neve 39,351
Avada-Child-Theme 37,622
gox 33,449
woodmart 33,292
bridge 32,878
twentytwentyone 32,115
lightning 31,449
twentytwenty 30,045
swell 28,597
Impreza 26,441
bricks 26,019
sydney 25,643
twentytwentythree 24,026
Newspaper 23,472
voxel 22,440
twentytwentytwo 19,980
epik-redesign 19,270
kubio 19,178
uncode 19,113
sinatra 18,819
twentysixteen 18,221
storefront 17,869
pro 17,861
Total 14,730
extendable 14,595
yith-wonder 14,041
hello-theme-child-master 13,356
themify-ultra 12,983
yootheme 12,936
factory-templates-4 12,927