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
c*t*s*a*t*l*p*v*l*e*.com βœ… F 2026-06-10 05:59:42
t*r*z*u.kz βœ… F 2026-06-10 02:07:17
a*m*n*p*g*-*r*m*w*r*.m*c*a*l*n*.jp πŸ’€ F 2026-06-09 23:21:19
s*a*h*l*s*l*e*.org (WP 7.0) πŸ”“ F 2026-06-09 19:06:20
c*n*o*c*o*a*a*a*a*d*.c*m.br (WP 4.8.25) ⚠️ F 2026-06-09 06:05:55
g*l*e*y*o*e.c*m.au (WP 7.0) βœ… A 2026-06-08 19:21:53
f*e*w*l*i*e*a*e*t*r*m*r*u*g.de πŸ”“ F 2026-06-08 07:30:12
o*4*f*f*y.org βœ… D 2026-06-08 06:49:48
h*l*.j*s*e*t*o*n*c*.com (WP 6.2.2) ⚠️ F 2026-06-07 20:31:56
m*t*e*h*o*a*d*i*c*l*a*y.com (WP 4.7.2) ⚠️ F 2026-06-07 18:23:49
i*s*i*u*i*n*l.p*l.ca βœ… F 2026-06-07 08:28:43
m*t*h*w*b*o*n.a*t*o*b*z*.c*.uk (WP 7.0) βœ… F 2026-06-07 06:38:57
o*e*a*i*n*.r*f*n*n*c*m*u*i*y.com βœ… F 2026-06-07 06:11:21
d*a*e*t*e*e*n.de βœ… F 2026-06-07 05:52:20
n*w*.p*a*m*-*k*i*g.com βœ… F 2026-06-07 01:36:09
m*m*n*o*a*.de (WP 7.0) βœ… D 2026-06-06 20:26:37
w*l*n*s*c*p*a*n.com (WP 7.0) βœ… F 2026-06-06 16:39:54
a*e*c*t*p*.q*.ca πŸ”“ F 2026-06-06 13:12:35
e*s*.i*v.pt βœ… B 2026-06-06 10:42:23
t*e*i*e*a*e*s*o*s*.com βœ… F 2026-06-06 07:54:10
o*k*a*l*b*a*y.s*6*.b*.ca βœ… F 2026-06-06 05:57:40
t*c*n*l*g*f*r*e*r*i*g.s*6*.b*.ca βœ… F 2026-06-06 05:57:40
o*k*a*c*u*s*s.s*6*.b*.ca βœ… F 2026-06-06 05:54:31
t*e*e*s*e*i*l.com βœ… F 2026-06-06 02:09:00
m*i*r*r*f*i*m.s*6*.b*.ca βœ… F 2026-06-06 01:13:04
t*c*f*r*e*r*i*g.s*6*.b*.ca βœ… F 2026-06-06 01:13:04
e*r*h*n*s.org (WP 7.0) βœ… F 2026-06-05 21:49:14
s*p*o*t*o*l*a*n*n*.s*6*.b*.ca βœ… F 2026-06-05 20:35:52
a*m*r*o*.ru (WP 4.7.33) ⚠️ F 2026-06-05 16:30:36
c*n*r*l*i*r*r*.s*6*.b*.ca βœ… F 2026-06-05 15:46:48
s*j*d*.ca (WP 6.9.4) βœ… D 2026-06-05 11:45:39
f*i*n*s*f*o*d*s.com (WP 7.0) βœ… F 2026-06-05 11:23:58
m*l*e*f*r*y.com πŸ”“ F 2026-06-03 22:03:42
m*l*e*f*r*i*s.com βœ… F 2026-06-03 22:03:42
g*r*e*z*u*1.w*e*g*n*.com βœ… F 2026-06-03 20:09:45
d*p*r*e*.e*h*e*r*.es (WP 6.5.8) βœ… F 2026-06-03 19:28:18
s*9*8.p*d*.co βœ… F 2026-06-03 18:03:03
f*e*b*o*t*a*k*t*n*.com βœ… F 2026-06-03 16:03:43
w*l*l*f*q*d.c*m.au βœ… F 2026-06-03 15:13:22
i*e*m*t*.com (WP 6.9.4) βœ… F 2026-06-03 12:17:31
m*s*e*t*x*u*d*.com βœ… F 2026-06-03 07:16:06
t*e*r*g*n*l*a*e*m*s*.com (WP 6.7.1) βœ… F 2026-06-03 06:53:36
a*t*r*p*i*s*r*e*.com (WP 6.6.5) βœ… F 2026-06-02 22:12:04
e*e*t*o*c*p*.com (WP 6.9.4) βœ… F 2026-06-02 17:17:56
m*c*n*t*u*u*a.com (WP 6.3.8) ⚠️ F 2026-06-02 17:17:46
s*l*-*u*g*r.com (WP 7.0) βœ… F 2026-06-02 17:00:27
f*u*d*t*o*c*u*c*o*i*.com (WP 4.4) ⚠️ F 2026-06-02 14:40:39
p*s*a*e*s*a*.com (WP 7.0) βœ… F 2026-06-02 12:40:29
m*e*a*o*g*o*n*a*n*o*e.com (WP 6.9.4) βœ… F 2026-06-02 12:04:23
d*i*k*k*o*.com βœ… F 2026-06-02 08:39:42
m*t*r*i*e*r*n*a*s.com βœ… F 2026-06-02 05:47:08
s*m*n*t*u*k*n*.com βœ… D 2026-06-02 03:09:01
z*o*e*.pl βœ… F 2026-06-02 02:32:48
f*r*i*c*n*u*t*n*.com (WP 7.0) βœ… F 2026-06-01 23:03:09
s*a*t*p*i*j*.fr βœ… F 2026-06-01 21:43:56
s*n*e*n*r*o*l*n*c*.com (WP 6.9) βœ… D 2026-06-01 17:15:53
f*i*d*r*c*.org (WP 6.1.10) ⚠️ F 2026-06-01 17:00:40
f*r*x*n*k*d*t*u*h.com βœ… F 2026-06-01 16:32:05
c*r*l*n*o*y*c*p*e*t*n*.com (WP 4.8.25) ⚠️ πŸ”“ F 2026-06-01 14:54:37
r*o*0*.ru (WP 4.9.13) ⚠️ F 2026-06-01 13:35:10
w*m*a*e*.com (WP 6.9.1) βœ… B 2026-06-01 08:56:50
p*i*t*f*r*r*n*s.com (WP 7.0) βœ… F 2026-06-01 06:47:42
c*r*t*n*r*g*t*n*u*a*c*.com βœ… F 2026-06-01 05:50:23
s*h*o*.h*l*f*m*l*.org βœ… F 2026-06-01 04:41:40
f*o*s*n*e*o*r.com (WP 4.7.3) ⚠️ B 2026-06-01 04:37:25
1*w*r*d*t*u*h.com βœ… F 2026-06-01 03:40:11
r*c*n*s*f*o*e*f*.be βœ… F 2026-06-01 03:01:25
v*i*.s*r*m*d*a*c*a*d*a*i*s*o*.org (WP 6.4.8) ⚠️ F 2026-06-01 02:54:09
0*6.com (WP 4.8.20) ⚠️ F 2026-06-01 02:43:40
g*o*i*s*r*y.by βœ… F 2026-05-31 21:48:29
i*n*r*0*.com βœ… F 2026-05-31 20:31:25
i*i*r*g*n*a*e*r*v*l*a.com (WP 6.3.8) ⚠️ F 2026-05-31 14:05:17
c*n*d*a*a*i*t*r*a*a*i*e.com (WP 6.3.8) ⚠️ F 2026-05-31 13:48:23
c*r*i*l*g*a*s*c*a*e*o*n*a.com (WP 5.3) ⚠️ B 2026-05-31 12:47:16
t*a*f*n*x.com βœ… F 2026-05-31 11:51:29
e*t*e*e*m*s.nl (WP 6.9) βœ… B 2026-05-31 11:32:13
e*h*c*t*p*s*b*o*s.fr βœ… F 2026-05-31 10:57:29
s*d*a*e.com (WP 5.8.13) ⚠️ F 2026-05-31 09:51:19
d*t*h*s*c*l*o*t*r.com βœ… F 2026-05-31 05:37:56
l*b*u*a*t*m*t*v*c*n*e*.com (WP 7.0) βœ… F 2026-05-31 05:17:27
h*n*u*d*i*i*n.de βœ… F 2026-05-31 03:14:08
t*i*a*i*.com βœ… F 2026-05-31 03:03:58
a*u*a.b*a*i*n*w*b.c*m.br (WP 4.8.2) ⚠️ F 2026-05-31 02:33:01
d*u*e*d*c*.nl βœ… D 2026-05-31 02:15:06
r*s*o*e*o*m*n*.com (WP 7.0) βœ… F 2026-05-31 00:54:15
t*-*r*c*e*.de (WP 6.9.4) βœ… F 2026-05-31 00:44:51
g*i*a*m*k*n*.c*m.au βœ… D 2026-05-31 00:18:44
s*i*h*n*w*i*a*.de (WP 7.0) βœ… F 2026-05-30 22:08:39
i*o*o.com (WP 6.9.4) βœ… F 2026-05-30 20:10:46
p*e*e*h*z*o*s.be βœ… F 2026-05-30 18:49:36
k*o*v*l*e*r*h*c*i*i*.com βœ… F 2026-05-30 17:17:34
t*x*r*b*e*b*f*a*o.com βœ… F 2026-05-30 16:12:55
k*l*u*b*t*c*a*t*r*e*e*t*.de βœ… F 2026-05-30 15:04:15
l*n*w*p*s.com βœ… F 2026-05-30 11:44:39
c*a*w.org βœ… F 2026-05-30 09:24:27
g*o*t*b*s*o*y.de (WP 6.9.4) βœ… F 2026-05-30 09:15:00
a*t*r*a*n*u*t*i*s.com βœ… F 2026-05-30 09:01:56
a*l*r*o*o*e.de (WP 7.0) πŸ“‘ F 2026-05-30 07:09:34
l*a*n.s*6*.b*.ca βœ… F 2026-05-30 06:33:47
r*a*g*a*a*h*m*s.com βœ… F 2026-05-30 06:17:42

Top 50 Plugins

Plugin Count
elementor 1,796,741
contact-form-7 1,766,546
elementor-pro 1,047,260
woocommerce 815,042
revslider 616,486
jetpack 466,278
js_composer 431,474
wp-rocket 333,316
essential-addons-for-elementor-lite 293,145
gravityforms 266,592
complianz-gdpr 255,931
cookie-law-info 230,628
instagram-feed 227,636
google-site-kit 221,594
sitepress-multilingual-cms 220,708
google-analytics-for-wordpress 213,613
header-footer-elementor 209,754
elementskit-lite 206,554
bluehost-wordpress-plugin 190,677
gutenberg 162,083
gutenberg-core 159,164
cookie-notice 150,869
the-events-calendar 131,142
litespeed-cache 130,431
wpforms-lite 129,343
gtranslate 127,652
astra-sites 119,407
popup-maker 115,819
woocommerce-payments 112,815
tablepress 108,825
coblocks 99,308
honeypot 97,125
astra-addon 95,116
wp-smushit 93,343
duracelltomi-google-tag-manager 93,328
all-in-one-seo-pack 93,096
LayerSlider 91,463
bb-plugin 90,683
premium-addons-for-elementor 86,707
megamenu 86,279
akismet 85,938
cleantalk-spam-protect 83,757
mailchimp-for-wp 83,585
woocommerce-gateway-stripe 82,978
ml-slider 80,826
fusion-builder 79,481
borlabs-cookie 79,231
ewww-image-optimizer 78,903
wp-pagenavi 78,615
formidable 77,926

Top 50 Themes

Theme Count
hello-elementor 614,199
Divi 509,746
astra 422,824
flatsome 132,849
Avada 124,112
generatepress 119,667
pub 109,731
oceanwp 83,251
kadence 78,264
enfold 71,684
salient 66,622
twentytwentyfour 58,741
h4 56,268
twentyseventeen 56,055
bb-theme 55,201
cocoon-master 52,071
betheme 51,693
blocksy 50,524
dt-the7 46,049
twentytwentyfive 43,672
neve 39,246
Avada-Child-Theme 37,532
gox 33,400
woodmart 33,232
bridge 32,813
twentytwentyone 32,058
lightning 31,414
twentytwenty 29,980
swell 28,566
Impreza 26,363
bricks 25,959
twentytwentythree 23,984
Newspaper 23,408
sydney 23,318
voxel 22,439
twentytwentytwo 19,960
epik-redesign 19,270
uncode 19,069
kubio 18,843
sinatra 18,674
twentysixteen 18,163
storefront 17,841
pro 17,833
Total 14,695
extendable 14,576
yith-wonder 14,035
hello-theme-child-master 13,314
themify-ultra 12,964
factory-templates-4 12,913
yootheme 12,910