Title: Custom Post Display
Author: Cris Puno
Published: <strong>6 ژوئن 2012</strong>
Last modified: 12 آگوست 2026

---

جستجوی افزونه‌ها

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

# Custom Post Display

 توسط [Cris Puno](https://profiles.wordpress.org/crispuno/)

[دانلود](https://downloads.wordpress.org/plugin/custom-post-display.2.0.0.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/custom-post-display/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/custom-post-display/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/custom-post-display/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/custom-post-display/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/custom-post-display/)

## توضیحات

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).

## عکس‌های صفحه

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

Widget options.

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

Sample output.

## نصب

 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.

## سوالات متداول

### 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.

## نقد و بررسی‌ها

![](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 آگوست 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 ژوئن 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 سپتامبر 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 سپتامبر 2016

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

 [ خواندن تمامی 5 نقد و بررسی‌ ](https://wordpress.org/support/plugin/custom-post-display/reviews/)

## توسعه دهندگان و همکاران

“Custom Post Display” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

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

[ترجمه “Custom Post Display” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/custom-post-display)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/custom-post-display/)،
[مخزن SVN](https://plugins.svn.wordpress.org/custom-post-display/) را بررسی کنید،
یا از طریق [RSS](https://plugins.trac.wordpress.org/log/custom-post-display/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/custom-post-display/) مشترک
شوید.

## گزارش تغییرات

#### 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

## اطلاعات

 *  نگارش **2.0.0**
 *  آخرین به‌روزرسانی **2 هفته پیش**
 *  نصب‌های فعال **40+**
 *  نگارش وردپرس ** 5.0 یا بالاتر **
 *  آزمایش‌شده تا **7.0.4**
 *  نگارش PHP ** 7.4 یا بالاتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/custom-post-display/)
 * برچسب
 * [custom post type](https://fa.wordpress.org/plugins/tags/custom-post-type/)[custom post widget](https://fa.wordpress.org/plugins/tags/custom-post-widget/)
   [shortcode](https://fa.wordpress.org/plugins/tags/shortcode/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/custom-post-display/advanced/)

## امتیازها

 3.7 از 5 ستاره.

 *  [  امتیاز 4 5-ستاره     ](https://wordpress.org/support/plugin/custom-post-display/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/custom-post-display/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/custom-post-display/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/custom-post-display/reviews/?filter=2)
 *  [  امتیاز 2 1-ستاره     ](https://wordpress.org/support/plugin/custom-post-display/reviews/?filter=1)

[بررسی شما](https://wordpress.org/support/plugin/custom-post-display/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/custom-post-display/reviews/)

## مشارکت کنندگان

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

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/custom-post-display/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://www.crispuno.ca/?page_id=306)