Title: Post Format Gallery Widget
Author: Eduardo Zulian
Published: <strong>2013-يىلى 10-ئۆكتەبىر</strong>
Last modified: 2013-يىلى 23-ئۆكتەبىر

---

قىستۇرما ئىزدە

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/post-format-gallery-widget.svg)

# Post Format Gallery Widget

 يازغۇچى [Eduardo Zulian](https://profiles.wordpress.org/eduardozulian/)

[چۈشۈر](https://downloads.wordpress.org/plugin/post-format-gallery-widget.1.1.zip)

 * [تەپسىلاتلار](https://ug.wordpress.org/plugins/post-format-gallery-widget/#description)
 * [باھالاشلار](https://ug.wordpress.org/plugins/post-format-gallery-widget/#reviews)
 *  [ئورنىتىش](https://ug.wordpress.org/plugins/post-format-gallery-widget/#installation)
 * [ئىجادىيەت](https://ug.wordpress.org/plugins/post-format-gallery-widget/#developers)

 [قوللاش](https://wordpress.org/support/plugin/post-format-gallery-widget/)

## چۈشەندۈرۈش

The Post Format Gallery Widget plugin creates the possibility for you to display
images from your galleries inside posts saved under the format ›Gallery‹. You can
select the number of images to display, the size of these images, shuffle their 
orders, the target of links (image file, permalink to attachment, permalink to post
or maybe no linking), show captions and use one copy of the basic WordPress style
for galleries, which will allow you to set up easily a number of columns.

**Important**: your theme must support the [Gallery post format](https://codex.wordpress.org/Post_Formats#Adding_Theme_Support),
otherwise it won’t work.

## ئورنىتىش

 1. Upload `post-format-gallery-widget` directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ›Plugins‹ menu in WordPress
 3. Go to ›Widgets‹ menu and drag it to your sidebar

## FAQ

  The widget only shows this message: «Your theme does not support the Gallery post
format. Please add this support so you can choose your posts.»

Yes, that’s it. You have to [enable support for the gallery post format](https://codex.wordpress.org/Post_Formats#Adding_Theme_Support)
on your theme. This plugin will only search for galleries inside a post saved under
the post format Gallery.

  Can I add / remove / change gallery classes?

Yes. Just use the `pfgw_gallery_classes` filter in your `functions.php` file:

    ```
    /**
     * Add a new class to the gallery container
     *
     * @param array $classes 
     */
    function mytheme_change_pfgw_classes( $classes ) {
        $classes[] = 'my-class';
        return $classes;
    }
    add_filter( 'pfgw_gallery_classes', 'mytheme_change_pfgw_classes' );
    ```

  Does it only work with posts? What about other post types?

The default type is `post`. However, you can use `pfgw_post_types` filter in your`
functions.php` file and then add or remove how many post types you wish. Just remember
that [your theme must support](https://codex.wordpress.org/Post_Formats#Adding_Post_Type_Support)
these post types as well.

    ```
    /**
     * Add another post type to our gallery query
     *
     * @param array $post_types The post types for the query 
     */
    function mytheme_add_post_types( $post_types ) {
        $post_types[] = 'page';
        return $post_types;
    }
    add_filter( 'pfgw_post_types', 'mytheme_add_post_types' );
    ```

## باھالاشلار

بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.

## تۆھپىكار ۋە ئىجادكار

«Post Format Gallery Widget» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا
تۆھپە قوشقان.

تۆھپىكار

 *   [ Eduardo Zulian ](https://profiles.wordpress.org/eduardozulian/)

[«Post Format Gallery Widget» نى تىلىڭىزغا تەرجىمە قىلىڭ](https://translate.wordpress.org/projects/wp-plugins/post-format-gallery-widget)

### ئىجادىيەتكە قىزىقامسىز؟

[كودقا كۆز يۈگۈرتۈپ](https://plugins.trac.wordpress.org/browser/post-format-gallery-widget/)،
[SVN خەزىنە](https://plugins.svn.wordpress.org/post-format-gallery-widget/) تەكشۈرۈپ
ياكى [RSS](https://plugins.trac.wordpress.org/log/post-format-gallery-widget/?limit=100&mode=stop_on_copy&format=rss)
ئارقىلىق [ئىجادىيەت خاتىرىسى](https://plugins.trac.wordpress.org/log/post-format-gallery-widget/)
گە مۇشتەرى بولغىلى بولىدۇ.

## ئۆزگىرىش خاتىرىسى

#### 1.1

 * Make style unique for our widget using class `.widget_post_format_gallery`

#### 1.0

 * First version.

## Meta

 *  Version **1.1**
 *  ئاخىرقى يېڭىلانغان ۋاقىت **13 يىل بۇرۇن**
 *  ئاكتىپ ئورنىتىش سانى **20+**
 *  WordPress نەشرى ** 3.6 ياكى يۇقىرى **
 *  **3.6.1** دا سىنالغان
 *  تىل
 * [English (US)](https://wordpress.org/plugins/post-format-gallery-widget/)
 * بەلگە
 * [gallery](https://ug.wordpress.org/plugins/tags/gallery/)[post format](https://ug.wordpress.org/plugins/tags/post-format/)
   [sidebar](https://ug.wordpress.org/plugins/tags/sidebar/)[widget](https://ug.wordpress.org/plugins/tags/widget/)
 *  [ئالىي كۆرۈنۈش](https://ug.wordpress.org/plugins/post-format-gallery-widget/advanced/)

## دەرىجە

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/post-format-gallery-widget/reviews/#new-post)

[بارلىق ئىنكاسنى كۆرسەت](https://wordpress.org/support/plugin/post-format-gallery-widget/reviews/)

## تۆھپىكار

 *   [ Eduardo Zulian ](https://profiles.wordpress.org/eduardozulian/)

## قوللاش

چۈشەندۈرۈشىڭىز بارمۇ؟ ياردەم لازىممۇ؟

 [قوللاش مۇنبىرىنى كۆرسەت](https://wordpress.org/support/plugin/post-format-gallery-widget/)

## ئىئانە

بۇ قىستۇرمىنىڭ ياخشىلىنىشىنى قوللامسىز؟

 [ بۇ قىستۇرمىغا ئىئانە قىلىش ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=H28V8F5PHSZHA)