Title: Custom Post Display
Author: Cris Puno
Published: <strong>6 de junio, 2012</strong>
Last modified: 12 de agosto, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/custom-post-display.svg)

# Custom Post Display

 By [Cris Puno](https://profiles.wordpress.org/crispuno/)

[Download](https://downloads.wordpress.org/plugin/custom-post-display.2.0.0.zip)

 * [Details](https://pe.wordpress.org/plugins/custom-post-display/#description)
 * [Reviews](https://pe.wordpress.org/plugins/custom-post-display/#reviews)
 *  [Installation](https://pe.wordpress.org/plugins/custom-post-display/#installation)
 * [Development](https://pe.wordpress.org/plugins/custom-post-display/#developers)

 [Support](https://wordpress.org/support/plugin/custom-post-display/)

## Description

You can use the Custom Post Display plugin to display the contents of any custom
post type in your WordPress site, either as a widget or anywhere in your content
using a shortcode.

Features include:

 * Widget and [custom_post_display] shortcode for placing anywhere (including the
   block editor via the Shortcode block)
 * Options to order by Post Title, Date and Menu Order
 * Inclusion of Featured Image with centered, left or right alignment
 * Customize number of posts displayed
 * Specify number of words per post excerpt

More information and a demo can be found at [my site](https://www.crispuno.ca/?p=228).

## Screenshots

[⌊Widget options.⌉⌊Widget options.⌉[

Widget options.

[⌊Sample output.⌉⌊Sample output.⌉[

Sample output.

## Installation

 1. Download and unzip the file.
 2. Upload the Custom Post Display folder to your WordPress plugins folder
 3. Log in to WordPress and go to Plugins
 4. Click on the Activate link for Custom Post Display.
 5. Go to Appearance > Widgets and add the Custom Post Display widget to your sidebar,
    or use the [custom_post_display] shortcode in any post or page.

## FAQ

### Can I use this widget for Posts and Pages?

Yes, you have the option to choose Posts or Pages when you choose a custom post 
type. You can actually just use this widget to display recent posts or pages.

### How do I use the shortcode?

Add [custom_post_display] to any post or page. You can pass options, for example:

    ```
    [custom_post_display posttype="product" postnum="5" postlength="20" byorder="name" sorter="ASC" show_image="1" image_pos="left" moretext="Read more"]
    ```

Available attributes: posttype, postnum, postlength, byorder (empty for date, menu_order,
or name), sorter (ASC or DESC), show_image (1 or 0), image_pos (centered, left, 
right) and moretext.

### Can I choose which posts to feature?

Yes, if you have the Page Attributes box enabled for your custom post type (or Post/
Page), when you edit that post, just enter a number in the Order box.
 Number your
posts according to the order you want them to appear, then, in the Widget options,
just choose ‘Menu Order’ in the ‘Order By’ field and choose your Sort order.

## Reviews

![](https://secure.gravatar.com/avatar/f6f742e513f80653f575cf82032717b83fee1966d357637b9f6a105a705acdc5?
s=60&d=retro&r=g)

### 󠀁[Works good](https://wordpress.org/support/topic/works-good-514/)󠁿

 [huntvinyl](https://profiles.wordpress.org/huntvinyl/) 12 de agosto, 2026

Easy way to show custom posts on the site. Works well for what I need it to do.

![](https://secure.gravatar.com/avatar/3cb221ac7e5b3ee1c2a591e0495e9f3d177d116655f01f4b8b0e3bd31fc54fc8?
s=60&d=retro&r=g)

### 󠀁[Very useful](https://wordpress.org/support/topic/very-useful-1298/)󠁿

 [aaab456](https://profiles.wordpress.org/aaab456/) 15 de junio, 2017

This plugin is as easy as imagined.

![](https://secure.gravatar.com/avatar/4b1de0c8ef1706981d3d5c0934a8c79aed657420d6a7719f62003fb59a758268?
s=60&d=retro&r=g)

### 󠀁[Works well](https://wordpress.org/support/topic/works-well-637/)󠁿

 [cassettehead](https://profiles.wordpress.org/cassettehead/) 3 de septiembre, 2016

Works well for my site. Hope you have an additional feature to use a shortcode instead
of a widget.

![](https://secure.gravatar.com/avatar/20a37e118b8bd72fd0a2e75f7fe62557bbdb57df5e9c73a9ffc4bf2e6123bd45?
s=60&d=retro&r=g)

### 󠀁[Awesome](https://wordpress.org/support/topic/awesome-2881/)󠁿

 [keetykat](https://profiles.wordpress.org/keetykat/) 3 de septiembre, 2016

Needed a plugin to display the custom posts in a widget for a project I have and
this one works like a charm.

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/custom-post-display/reviews/)

## Contributors & Developers

“Custom Post Display” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Cris Puno ](https://profiles.wordpress.org/crispuno/)

[Translate “Custom Post Display” into your language.](https://translate.wordpress.org/projects/wp-plugins/custom-post-display)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/custom-post-display/),
check out the [SVN repository](https://plugins.svn.wordpress.org/custom-post-display/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/custom-post-display/)
by [RSS](https://plugins.trac.wordpress.org/log/custom-post-display/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.0

 * Compatibility rewrite for modern WordPress and PHP 8
 * Fixed fatal error on PHP 8 by removing create_function()
 * Replaced the deprecated PHP4-style widget constructor with __construct()
 * Added a [custom_post_display] shortcode so the plugin works in post content and
   the block editor, not just widget areas
 * Escaped all output and sanitized all saved options
 * Replaced a direct database query with get_post_types()
 * Added direct-access protection and internationalization
 * Confirmed compatibility with WordPress 7.0

#### 1.2

 * Replaced deprecated WP Widgets construct
 * Added option for thumbnail alignment

#### 1.1

 * Fixed issue with missing word trimmer function

#### 1.0

 * Initial release

## Meta

 *  Version **2.0.0**
 *  Last updated **2 semanas ago**
 *  Active installations **40+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **7.0.4**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/custom-post-display/)
 * Tags
 * [custom post type](https://pe.wordpress.org/plugins/tags/custom-post-type/)[custom post widget](https://pe.wordpress.org/plugins/tags/custom-post-widget/)
   [shortcode](https://pe.wordpress.org/plugins/tags/shortcode/)
 *  [Advanced View](https://pe.wordpress.org/plugins/custom-post-display/advanced/)

## Ratings

 3.7 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/custom-post-display/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/custom-post-display/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/custom-post-display/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/custom-post-display/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/custom-post-display/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/custom-post-display/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/custom-post-display/reviews/)

## Contributors

 *   [ Cris Puno ](https://profiles.wordpress.org/crispuno/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/custom-post-display/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.crispuno.ca/?page_id=306)