Title: GridPics
Author: Nick Grant
Published: <strong>2014 年 4 月 7 日</strong>
Last modified: 2014 年 4 月 17 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# GridPics

 作者：[Nick Grant](https://profiles.wordpress.org/konduit/)

[下载](https://downloads.wordpress.org/plugin/gridpics.1.1.zip)

 * [详情](https://cn.wordpress.org/plugins/gridpics/#description)
 * [评价](https://cn.wordpress.org/plugins/gridpics/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/gridpics/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/gridpics/#developers)

 [支持](https://wordpress.org/support/plugin/gridpics/)

## 描述

GridPics allows you to upload pictures, and display them in a responsive grid using
shortcodes. The default shortcode is [gridpics] and will render a 4×4 grid.

There are also a few other options for your shortcodes. The possible options for
your shortcode are:

 * rows: The number of rows your grid will contain. Defaults to 4
 * columns: The number of columns your grid will contain. Defaults to 4
 * random: By setting this to false, GridPics will load your images by the date 
   they were added, instead of in a random order. Defaults to true
 * caption: Tells GridPics to include the title of the image as a caption. Possible
   values are: left, right, top, bottom, inner-top, and inner-bottom. Defaults to
   false

## 屏幕截图

 * [[
 * The GridPics edit screen
 * [[
 * A view of all upload pictures into GridPics
 * [[
 * The output of [gridpics rows=”2″ columns=”2″]

## 安装

Manual Installation:

 1. Unzip GridPic.zip
 2. Upload `GridPics` folder to the `/wp-content/plugins/` directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Place the [gridpics] shortcode on your site

From WordPress

 1. From WordPress dashboard, select Plugins->Add New
 2. Search for `GridPics`
 3. Click `Install Now`
 4. Activate the plugin through the ‘Plugins’ menu in WordPress
 5. Place the [gridpics] shortcode on your site

## 常见问题

#### My pictures don’t form a complete grid

GridPics loads as many pictures as it can to fill out your grid, if you have not
uploaded enough pictures, GridPics cannot fill out your grid completely.

#### What options does the shortcode provide?

The possible options for your shortcode are:

 * rows: The number of rows your grid will contain. Defaults to 4
 * columns: The number of columns your grid will contain. Defaults to 4
 * random: By setting this to false, GridPics will load your images by the date 
   they were added, instead of in a random order. Defaults to true
 * caption: Tells GridPics to include the title of the image as a caption. Possible
   values are: left, right, top, bottom, inner-top, and inner-bottom. Defaults to
   false

#### Can I change how it is styled?

If you include a file in your template root called gridpics.css that file will be
loaded instead of the default gridpics.css file included in the plugin. This will
allow you to modify the css as you see fit. However, most of the sizing is handled
by javascript.

## 评价

此插件暂无评价。

## 贡献者及开发者

「GridPics」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Nick Grant ](https://profiles.wordpress.org/konduit/)

[帮助将「GridPics」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/gridpics)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/gridpics/)，查看[SVN仓库](https://plugins.svn.wordpress.org/gridpics/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/gridpics/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/gridpics/)。

## 更新日志

#### 1.1

 * Added in ability to load in non-random order
 * Added in ability to include captions with images
 * Fixed small bug caused by custom loop
 * Added check to see if CPT class was already definied.

#### 1.0

 * Initial Version

## 额外信息

 *  版本 **1.1**
 *  最后更新：**12 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **3.9.40**
 *  语言
 * [English (US)](https://wordpress.org/plugins/gridpics/)
 * 标签
 * [gallery](https://cn.wordpress.org/plugins/tags/gallery/)
 *  [高级视图](https://cn.wordpress.org/plugins/gridpics/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/gridpics/reviews/)

## 贡献者

 *   [ Nick Grant ](https://profiles.wordpress.org/konduit/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/gridpics/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://nickgrant.io/)