Title: Just Post Preview Widget
Author: Alex Prokopenko / JustCoded
Published: <strong>29 اکتبر 2015</strong>
Last modified: 6 مارس 2017

---

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

![](https://ps.w.org/just-post-preview/assets/banner-772x250.png?rev=1470609)

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://ps.w.org/just-post-preview/assets/icon-128x128.png?rev=1470609)

# Just Post Preview Widget

 توسط [Alex Prokopenko / JustCoded](https://profiles.wordpress.org/aprokopenko/)

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

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

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

## توضیحات

This plugin is for developers who need easy to edit the complex layouts and insert
different post tile blocks inside the layout,
 sidebars or page builders. By default,
it has 3 pre-defined layouts; you can rewrite them in your theme or register custom
layouts. Unfortunately the pre-defined layouts have no styles inside. (Because they
will be overwritten in the theme 100% anyway).

#### Template files

To overwrite the pre-defined templates, you should create a folder with the name`“
just-post-preview”` in the root
 of your theme and copy required templates from 
the `/wp-content/plugins/just-post-preview/layous/` folder.

File names format: `jpp_layout_{layout key}.php`

You can find PHP comments on the top of the demo templates. They help your IDE to
show you autocomplete boxes for available variables.

#### Adding custom layout

To add a custom layout, you need to add a new filter hook in your theme functions.
php file:

    ```
    add_filter('jpp_post_preview_layouts', 'my_post_preview_layouts');
    function my_post_preview_layouts($layouts){
        $layouts['my_layout_key'] = 'My custom layout';
        return $layouts;
    }
    ```

After that hook you will need to create a template file in the `/path/to/theme/just-
post-preview` folder with the name `jpp_layout_my_layout_key.php`.

#### That’s all!

FILL FREE TO CONTACT ME IF YOU FIND ANY BUGS/ISSUES!

**ISSUES TRACKER**
 The project is also available on github. Please post your issues
or feedbacks there. https://github.com/aprokopenko/just-post-preview

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

[⌊Widget edit screenshot⌉⌊Widget edit screenshot⌉[

Widget edit screenshot

[⌊Using widget inside the SiteOrigin Page builder plugin⌉⌊Using widget inside the
SiteOrigin Page builder plugin⌉[

Using widget inside the SiteOrigin Page builder plugin

## نصب

 1. Download, unzip and upload to your WordPress plugins directory
 2. Activate the plugin within you WordPress Administration Backend
 3. That’s it – you can add a new widget now

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

  Installation Instructions

 1. Download, unzip and upload to your WordPress plugins directory
 2. Activate the plugin within you WordPress Administration Backend
 3. That’s it – you can add a new widget now

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

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

### 󠀁[i think it’s good](https://wordpress.org/support/topic/i-think-its-good/)󠁿

 [Alex Prokopenko / JustCoded](https://profiles.wordpress.org/aprokopenko/) 1 مارس
2017

We use SiteOrigin Page Builder plugin in our development and usually you need to
add preview of some post or content on some landing page. This plugins adds ability
to do that very quickly. And you can customize it for each site with custom templates
in a 15 minutes.

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

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

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

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

 *   [ Alex Prokopenko / JustCoded ](https://profiles.wordpress.org/aprokopenko/)

[ترجمه “Just Post Preview Widget” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/just-post-preview)

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

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

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

#### Version 1.1.1

    ```
    * Bug fix: Merged Pull Request from @rudibatt: missing break in templates load loop.
    ```

#### Version 1.1

    ```
    * New feature: Ability to search without specifying post type (beta)
    * New hook: You can control the templates source with new hook `jpp_post_preview_template`
    * Bug fix: PHP 7+ compatibility fix
    ```

#### Version 1.0

    ```
    * Plugin base with 3 pre-defined layouts
    ```

## اطلاعات

 *  نگارش **1.1.1**
 *  آخرین به‌روزرسانی **9 سال پیش**
 *  نصب‌های فعال **10+**
 *  نگارش وردپرس ** 4.0 یا بالاتر **
 *  آزمایش‌شده تا **4.8.30**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/just-post-preview/)
 * برچسب
 * [developer](https://fa.wordpress.org/plugins/tags/developer/)[layouts](https://fa.wordpress.org/plugins/tags/layouts/)
   [post preview](https://fa.wordpress.org/plugins/tags/post-preview/)[widget](https://fa.wordpress.org/plugins/tags/widget/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/just-post-preview/advanced/)

## امتیازها

 5 از 5 ستاره.

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

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

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

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

 *   [ Alex Prokopenko / JustCoded ](https://profiles.wordpress.org/aprokopenko/)

## پشتیبانی

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

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