Post Content Shortcodes Wordpress Plugin is used by 206 websites. Among 206, 0 site is within top 10,000 and 10 sites are within top 100,000 websites.

Wordpress Plugin Information of

Plugin Meta Name Plugin Meta Information
Plugin Name
Plugin Description Adds shortcodes to display the content of a post or a list of posts.
Detail Plugin Description

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 <h2> tags, but you can use the post-content-shortcodes-title filter to modify the title output.

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

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_excerptandexcerpt_lengtharguments also apply to the post-list shortcode. If you setshow_excerptto 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 theexcerpt_lengthvalue. Theexcerpt_lengthis measured in words, so if you would like each excerpt to display no more than 50 words, you would set theexcerpt_lengthparameter 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 thepost-listshortcode, ifshow_excerptis set to 0 or false, no content will be shown in the list (as opposed to the behavior of theshow_excerptparameter in thepost-content` shortcode).

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.

More Information Wordpress Official Plugin Repository

Top 100 Websites built with Wordpress plugin

28,568 favicon of BOLTAI.COM BOLTAI.COM
Palm Beach Research Group - Safe Investing Strategies, Investment Advice & Analysis
Applicant Tracking System & Hiring Software | ApplicantStack
35,059 favicon of STREFA.PL STREFA.PL
Domeny, Hosting, Sklepy, E-mail, VPS, SSL
BusinessDay |
The Adam Carolla Show – A Free Daily Comedy Podcast from Adam Carolla | The Adam Carolla Show – A Free Daily Comedy Podcast from Adam Carolla
LandlordZONE – Rental | Property | Knowledge for landlords, rental property owners, tenants and property professionals.
Best Engineering & Top MBA Colleges in Nashik, India - Sandip Foundation
Free Kindle Books, Kindle Tips, News & Commentary | Kindle Nation Daily |
98,348 favicon of UMW.EDU UMW.EDU
University of Mary Washington | Where Great Minds Get To Work
CreativeCrunk - Energize Your Web Experience
111,354 favicon of ASSENNA.COM ASSENNA.COM | Politics, Culture, Religion
Durham College - Oshawa, Ontario, Canada
140,144 favicon of PASSLOT.COM PASSLOT.COM
PASSLOT.COM - Custom hacked xxx passwords! Thousands of free xxx passwords! The best free xxx password site on the web! - Learn How to Learn Anything Faster
Cupom de desconto e Ofertas - 1001 Cupom de descontos
157,511 favicon of MOTORNEWS.GR MOTORNEWS.GR
Ειδήσεις από το χώρο του μηχανοκίνητου αθλητισμού( F1, MotoGP, WRC ) - motornews
163,022 favicon of HUELLAS.MX HUELLAS.MX
Huellas de México -
Vanyaland - Music. Boston & Beyond
Korean Drama – Korean Drama News | Replay Episode | Review & Preview
191,526 favicon of WSPINANIE.PL WSPINANIE.PL | Największy polski serwis wspinaczkowy
Marathisrushti | Marathi Articles, People, Culture, Food, Literature, Videos… and much more…..
Trade Show Displays, Banners, Exhibits & Booths Toronto, Canada
224,998 favicon of LEPAYS.BF LEPAYS.BF
Editions Le Pays - Actualités au Burkina Faso et dans le monde
Positive Thinking,Personal Growth Magazine,Motivational Tips from Experts - Life Positive
Gold IRA Rollover | How Self Storage IRA Works
Rubies & Radishes
AmazonSimpleAdmin - WordPress Plugin for Amazon Affiliates
283,537 favicon of WAJIHAH.COM WAJIHAH.COM
Wajihah ITS | A New World of Possibilities..
Web des Objets - Le site des objets connectés
Lightspeed Systems: School Web Filter & Mobile Management
Applicant Tracking System & Hiring Software | ApplicantStack
317,292 favicon of TEKSERVE.COM TEKSERVE.COM
Tekserve NYC Store | Business Technology Consultants | Apple Repair
326,437 favicon of THEBLOOM.COM THEBLOOM.COM
Shenandoah Apple Blossom Festival — 10 Days | 40+ Events | Something For Everyone!
PSG | Site non-officiel - Le PSG : Paris Saint-Germain : News, Transferts, Calendrier, Effectif, Résultats…
Psychotherapy Networker | Your source for community, learning and excellence
356,614 favicon of SHREEMAA.ORG SHREEMAA.ORG
Devi Mandir
Strefa Walking Dead | Polski Fan Zone The Walking Dead – Żywe Trupy
Graduate Programs | Psychology, Environmental Studies, Education, MBA
Tactical Walls
B Squared Online Media - Home
The Kitchy Kitchen
10th Annual Colfax Marathon 2015 - Denver Colorado marathon
417,192 favicon of ARYQTV.TV ARYQTV.TV
ARYQTV Home - ARY QTV, Live channel, Videos, Online Quran, Articles on Islam
Home - Australian Ageing Agenda
Your online guide to markets and fairs in Cape Town
Palm Beach Letter | Safe Investing Strategies, Investment Advice & Analysis
Silver City Tour of the Gila | New Mexico's premier road race
449,162 favicon of MASTANEH.IR MASTANEH.IR
خانه - مستانه
MobiAdzone Official Website - Just another WordPress site
Craig Garber - Direct Response Marketing's Finest
Fratelli d'Italia – Alleanza Nazionale |
Alquiler de barcos en Ibiza –
480,043 favicon of TABLETPC.IT TABLETPC.IT
Tablet PC Italia
Babamama infó - Baba-mama Infó, Kismamák és anyukák helyi információs oldala, kismama divat, bababoltok, webáruházak, gyermekorvosok, védőnők,
509,179 favicon of WINKEIBA.JP WINKEIBA.JP
Pokladypodná - komunitní web pro detektory kovů, hledání a sběratelství | Detektory kovů, hledání, nálezy a sbíráníDetektory kovů, hledání, nálezy a sbírání
522,307 favicon of SOCRATO.COM SOCRATO.COM
Learning Analytics and Test Scoring Software | Socrato
RouterHosting | Dedicated Servers and VPS
High Definition & High Resolution HD Wallpapers
540,572 favicon of ENMAST.COM ENMAST.COM
EnMast - Small Business Community | Small Business Tools, Templates, Help and Resources.
HOME - Earnest Home co.
The Nest i/o | P@SHA's Technology Incubator
NextHop| Nigerian Entertainment Platform for Entertainment Observers - NextHop
568,228 favicon of REDSTAGE.COM REDSTAGE.COM
Redstage | Magento Ecommerce Development & Magento Support
588,809 favicon of CPQD.COM.BR CPQD.COM.BR
CPqD | Transformando em Realidade
602,370 favicon of COGSTATE.COM COGSTATE.COM
Cogstate - Leaders in optimizing the measure of cognition
610,186 favicon of UNIMOL.IT UNIMOL.IT
DVLA Auctions
Schwedenstube: Urlaub in Schweden - Reisen und Tourismus
653,723 favicon of PACIM.COM PACIM.COM
A Creative Full Service Digital Agency in Hong Kong | PacificLink iMedia
Business SMS Gateway With Reliability Guarantee | directSMS
Comment participer au blog de la banque
Consuelo Mack WEALTHTRACK: The right track to your financial health. : WealthTrack
Discover how to make money from online trading, including futures trading, forex trading, day trading, commodities trading and stock trading with Anna Coulling.
Credit Cards for Travel
Progettare | Architettura Città Territorio
ABCs Of Attraction | The #1 Dating Bootcamp For Asian Men
760,920 favicon of WELUVNY.COM WELUVNY.COM
LifeRaft - Navigating Social
Il sito ufficiale della Pallacanestro Trieste 2004
Home - Antioch University Seattle
Welkom | Anna van Rijn College
House of Delegates Democratic Leader David Toscano
30,000,000 favicon of 1WD.TV 1WD.TV
Homepage - - Freelance Web Designer Training
Discover Alternative Medicine Now - News, Articles & Holistic Practitioner Directory
Fx trader Mark Boardman
30,000,000 favicon of FFYS.LU FFYS.LU
Food for your Senses
30,000,000 favicon of MXCC.EDU MXCC.EDU
Middlesex Community College - Middletown, CT
Asian Players » Asian athletes and female sports stars
Exchange your Paypal funds to cash in just a few minutes.
The Best of Dubai Lifestyle|Dubai Culture|Cherry Pick Dubai
AnyAudience Store | AnyAudience Store
30,000,000 favicon of Y-AXIS.COM Y-AXIS.COM
Immigration and Visa Consultants, India | Y-Axis Overseas Careers
West Coast Seeds Organic Heirloom non GMO seeds
30,000,000 favicon of AUTOLIFT.INFO AUTOLIFT.INFO
IME – AUTOLIFT Railway Lifting Equipment
Toko AC: Info harga Jual ac murah LG Sharp Panasonic samsung dll
Arrête ton char | Langues & Cultures de l'Antiquité