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

Plugin: post-content-shortcodes (Used by 589 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
n*h*y*t*e*a*a.com (WP 7.0.2) βœ… F 2026-07-26 02:55:54
r*b*d*u*.com πŸ‘€ F 2026-07-25 23:01:19
d*t*c*l*e*t.cz βœ… F 2026-07-25 20:53:26
a*h*v*l*e*u*t*m*u*l*e*.com βœ… F 2026-07-25 19:14:01
s*a*r*o*n*.info βœ… F 2026-07-25 13:46:56
o*j*a.si βœ… F 2026-07-25 04:53:12
a*s*s*c*e*.org βœ… F 2026-07-25 04:51:56
p*r*s*l*c*.com (WP 6.9.4) βœ… F 2026-07-25 04:10:53
f*r*p*l*c*f*c*s.org βœ… F 2026-07-25 02:48:13
t*c*t*c*.com (WP 6.4.8) ⚠️ F 2026-07-25 01:13:45
k*a*n*3*z*k.pl (WP 5.8.13) ⚠️ πŸ”“ F 2026-07-24 18:53:15
f*n*e*m*d*a.com (WP 7.0.2) βœ… F 2026-07-24 17:43:20
s*l*u*s*m*.com (WP 7.0.2) πŸ‘€ F 2026-07-24 12:59:18
i*n*v*t*v*c*a*m*.com βœ… F 2026-07-24 10:27:39
m*s*y*h*m*o.com (WP 7.0) βœ… C 2026-07-24 09:07:41
c*n*e*t*r*u*p*i*r.com βœ… F 2026-07-24 08:31:58
p*s*c*n*r*l*d*c*t*o*c*n*e*.com βœ… F 2026-07-24 06:36:39
p*s*c*n*r*l*d*c*t*o*.com βœ… F 2026-07-24 06:36:39
c*b*t*s*i*l*.com (WP 5.3) ⚠️ B 2026-07-24 04:41:57
m*d*e*t*a*m*r*m*r*e*s.org βœ… F 2026-07-24 02:29:25
s*e*e*a*s*e*.com (WP 7.0.2) βœ… D 2026-07-24 01:41:37
v*n*t*s.se (WP 4.9.3) ⚠️ πŸ‘€ F 2026-07-23 23:56:30
f*n*n*e*m*s*a*t*p.com βœ… F 2026-07-23 21:39:23
d*n*u*r*-*e*t*l*r*c*i*e.c*.uk βœ… F 2026-07-23 19:51:53
m*r*a*a*i*t*l*t.com βœ… F 2026-07-23 16:13:00
m*n*e*b*a*.es πŸ‘€ F 2026-07-23 12:58:12
s*e*c*l*r*f*r*n*e.com (WP 7.0.2) βœ… D 2026-07-23 11:28:29
c*i*f*a*k*t*r.com βœ… A 2026-07-23 06:11:22
p*o*f*r*h*u*h*.com (WP 7.0.2) πŸ‘€ C 2026-07-23 05:43:01
f*a*h*u.de βœ… F 2026-07-23 04:06:08
d*n*e*w*t*r*c*r*.com (WP 7.0.2) βœ… F 2026-07-23 03:14:42
p*t*r*a*l*s.com (WP 7.0.2) πŸ‘€ F 2026-07-23 01:57:53
m*n*a*m*o*t*.com (WP 6.9.4) βœ… F 2026-07-23 01:54:46
w*l*r*d*o.com (WP 7.0.2) βœ… F 2026-07-23 01:21:22
w*l*p*o*e*t.com (WP 7.0.2) πŸ‘€ F 2026-07-23 01:21:22
c*t*s*u*a*.com βœ… F 2026-07-22 23:50:59
c*t*s*s*u*h*e*t.com βœ… F 2026-07-22 23:50:59
c*t*s*s*u*h*a*.com βœ… F 2026-07-22 23:50:59
c*t*s*s*n*a*c*s.com βœ… F 2026-07-22 23:50:59
c*t*s*n*c*.com βœ… F 2026-07-22 23:50:59
c*t*s*k*n*s*o*n*y.com βœ… F 2026-07-22 23:50:59
c*t*s*h*w*i*.com βœ… F 2026-07-22 23:50:59
c*t*s*h*r*r*.com βœ… F 2026-07-22 23:50:59
c*t*s*f*e*e*i*k.com βœ… F 2026-07-22 23:50:59
c*t*s*c*u*a*i*t*.com βœ… F 2026-07-22 23:50:59
c*t*s*c*n*r*l*a*l*y.com βœ… F 2026-07-22 23:50:59
m*n*y*u*b*d*d*t.com (WP 7.0.2) βœ… F 2026-07-22 23:43:32
l*g*i.ph (WP 6.8.6) βœ… F 2026-07-22 19:26:38
a*u*t*n*e*a*h*e*e.org (WP 5.2.21) ⚠️ F 2026-07-22 15:45:07
b*t*e*f*i*s*i*i*g.com πŸ”“ F 2026-07-22 15:26:08
m*h*w*r*.net (WP 4.3.1) ⚠️ πŸ‘€ F 2026-07-22 15:12:42
c*r*o*o*p*a*.com πŸ“‘ F 2026-07-22 12:58:15
v*t*r*r*v*t*.com (WP 7.0.2) βœ… D 2026-07-22 09:09:58
g*o*a*d*w*s*n*r*m*.org βœ… F 2026-07-22 08:34:20
w*b*r*p*b*i*l*b*a*y.org (WP 7.0.2) βœ… D 2026-07-22 06:26:47
l*o*p*e*.com (WP 6.6.5) βœ… F 2026-07-22 02:39:12
g*i*e*i*e*l*f*s*.ca (WP 6.8.6) πŸ‘€ D 2026-07-22 02:38:00
s*a*h*n*e*t*o*r*s*u*c*s.com βœ… F 2026-07-22 00:30:47
c*d*r*u*.be βœ… F 2026-07-21 21:30:00
l*e*c*-*e*s*n.de (WP 5.9.1) ⚠️ πŸ‘€ F 2026-07-21 21:02:34
c*p*u*c*m*c*o*.org (WP 7.0.2) πŸ‘€ D 2026-07-21 19:51:32
m*t*o*s*a*t*p.com βœ… F 2026-07-21 19:05:54
l*-*c.fr (WP 6.9.1) πŸ‘€ F 2026-07-21 19:03:06
c*e*c*c*n*t*u*t*r*.com (WP 7.0) βœ… C 2026-07-21 18:37:58
w*r*z*n*s*f*t*.org βœ… B 2026-07-21 17:45:38
u*l*e*.com βœ… F 2026-07-21 17:45:35
c*u*t*y*l*b*i*l*.org βœ… D 2026-07-21 15:35:39
t*x*e*i*n*t*o*.org (WP 6.9.5) πŸ‘€ F 2026-07-21 11:40:42
u*s*t*.com βœ… F 2026-07-21 11:06:44
s*k*r*.net βœ… C 2026-07-21 10:19:40
a*c*e*s*h*r*.com (WP 5.5.18) ⚠️ πŸ‘€ F 2026-07-21 10:14:01
s*m*v*.com βœ… F 2026-07-21 09:37:17
m*t*l*u*t*n*.com βœ… F 2026-07-21 09:36:40
f*m*l*e*b*t*i*b*l*f*b*y*r*.de (WP 7.0.2) πŸ‘€ F 2026-07-21 05:43:10
s*m*v*.org βœ… F 2026-07-21 05:43:09
u*w.edu βœ… F 2026-07-21 04:32:32
f*t*h*e*t*r*.com βœ… F 2026-07-20 20:21:08
p*d*f*a*e*o*k.org (WP 7.0.2) βœ… A 2026-07-20 19:43:49
m*s*k*r*g*o*.ru πŸ‘€ F 2026-07-20 15:47:10
n*t*a*y*a*l*y*h*l*r*n*c*o*r.org (WP 7.0.2) πŸ‘€ C 2026-07-20 14:25:26
h*l*y*o*d*a*k*t*.com (WP 6.4.8) ⚠️ D 2026-07-20 10:53:49
p*r*h*p*f*i*.com βœ… B 2026-07-20 04:20:15
k*s*.com βœ… F 2026-07-20 03:35:47
v*n*i*h*.net (WP 6.0) ⚠️ F 2026-07-20 02:30:38
f*r*e*m*c.com βœ… D 2026-07-20 01:01:46
h*r*a*d*q*a*e*d*t*o*s.org (WP 5.9.13) ⚠️ F 2026-07-20 00:40:50
u*e*p*o*e*f*l*s.com (WP 7.0.2) βœ… D 2026-07-19 23:23:47
1*i*s*i*u*o.org πŸ”“ πŸ‘€ F 2026-07-19 23:12:38
p*d*c*s.org (WP 7.0.2) βœ… A 2026-07-19 23:06:07
s*e*b*h*h*f.de (WP 4.5.33) ⚠️ F 2026-07-19 22:59:38
j*l*.pro (WP 5.8.13) ⚠️ πŸ‘€ F 2026-07-19 22:55:32
e*b*-*h*i*a*d.org (WP 7.0.2) βœ… F 2026-07-19 22:21:23
m*t*r*e*k*i*h*s.org βœ… F 2026-07-19 21:04:40
o*e*p*y*i*j*u*n*l.com (WP 6.9.5) πŸ‘€ F 2026-07-19 20:23:16
t*c.o*g.my πŸ‘€ F 2026-07-19 19:50:21
d*f*n*e*a*y*r*i*e.com βœ… F 2026-07-19 18:50:47
s*l*n*a*o*p*e*n*.pl βœ… F 2026-07-19 14:49:28
m*l*c*r*.com βœ… C 2026-07-19 13:37:35
m*l*n*e*t*r*r*s*s.com βœ… F 2026-07-19 11:01:40
k*l*w*e*u*s*r*a*.com βœ… F 2026-07-19 09:15:14

Top 50 Plugins

Plugin Count
elementor 1,785,060
contact-form-7 1,769,562
elementor-pro 1,058,206
woocommerce 819,771
revslider 614,568
jetpack 460,717
js_composer 424,461
wp-rocket 341,988
essential-addons-for-elementor-lite 267,768
complianz-gdpr 260,954
gravityforms 258,025
google-site-kit 232,366
cookie-law-info 231,344
instagram-feed 227,249
sitepress-multilingual-cms 212,529
header-footer-elementor 209,451
google-analytics-for-wordpress 208,128
bluehost-wordpress-plugin 193,296
elementskit-lite 182,857
gutenberg 167,430
cookie-notice 151,062
litespeed-cache 142,724
gtranslate 126,629
wpforms-lite 126,201
the-events-calendar 123,516
gutenberg-core 121,761
astra-sites 115,393
popup-maker 111,022
woocommerce-payments 110,846
tablepress 102,699
honeypot 98,277
astra-addon 94,821
wp-smushit 91,887
duracelltomi-google-tag-manager 91,135
layerslider 90,368
all-in-one-seo-pack 90,325
coblocks 90,053
bb-plugin 86,911
akismet 85,544
premium-addons-for-elementor 85,431
cleantalk-spam-protect 83,524
ml-slider 83,069
mailchimp-for-wp 82,767
megamenu 81,059
woocommerce-gateway-stripe 80,305
fusion-builder 77,966
jet-engine 77,786
ewww-image-optimizer 77,287
wp-pagenavi 77,000
smart-slider-3 76,992

Top 50 Themes

Theme Count
hello-elementor 624,626
Divi 501,637
astra 419,486
flatsome 136,845
Avada 122,485
generatepress 115,808
pub 84,815
oceanwp 81,606
kadence 79,580
enfold 69,690
salient 65,787
twentyseventeen 54,790
bb-theme 53,022
betheme 52,693
twentytwentyfour 52,641
blocksy 51,410
cocoon-master 50,064
dt-the7 45,837
twentytwentyfive 45,047
h4 42,308
woodmart 41,010
neve 38,606
Avada-Child-Theme 37,195
gox 36,255
bridge 31,778
twentytwentyone 30,648
lightning 30,251
twentytwenty 29,019
swell 28,406
bricks 26,552
Impreza 26,292
Newspaper 24,354
twentytwentythree 22,363
epik-redesign 19,287
twentytwentytwo 19,003
uncode 18,731
twentysixteen 17,753
pro 17,600
sydney 16,725
storefront 16,504
Total 14,593
hello-theme-child-master 14,065
factory-templates-4 13,741
extendable 13,397
themify-ultra 13,074
hestia 12,721
yootheme 12,665
yith-wonder 12,547
porto 12,093
jupiter 11,716