Title: Space Boxes
Author: Nick Haskins
Published: <strong>2013 年 11 月 12 日</strong>
Last modified: 2013 年 12 月 13 日

---

搜索插件

![](https://ps.w.org/space-boxes/assets/banner-772x250.jpg?rev=803460)

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

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

# Space Boxes

 作者：[Nick Haskins](https://profiles.wordpress.org/nphaskins/)

[下载](https://downloads.wordpress.org/plugin/space-boxes.zip)

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

 [支持](https://wordpress.org/support/plugin/space-boxes/)

## 描述

Space Boxes (not Space Balls) was designed to make building content & media grids
quick and painless. Each Space Box set is created solely with a WordPress gallery
inserted into a custom post type. When you insert the shortcode `[spaceboxes id=
XX”]` , it will display the title, and caption for each image, if they are provided.

Have 7 images in your gallery? Then you’ll have 7 boxes. Want a lightbox? No problem.
Control over the grid? Check! There’s even a portfolio mode to show off images or
product screenshots. You can also use the gallery to drag and drop your boxes in
the order that you want them displayed. Woop! Hit the demo link below to see it 
in action.

 * [http://space-boxes.nickhaskins.co/](http://space-boxes.nickhaskins.co/)

#### Custom Post Type

Create multiple Space Box sets and manage them ease. Space Boxes even provides the
shortcode for you with the post ID included for easy copy pasta.

#### Design Control

You’ve got full control over the colors, and design of Space Boxes. There’s also
shortcode attributes to control the size, and crop of the images.

#### Multiple Options

Space Boxes is packed full of options in the shortcode which allows it to be super
versatile in it’s use.

#### How to use the shortcode

To display a Space Box set, use the following shortcode anywhere. The Space Boxes
tab, will always show the available shortcode with the ID of the Space Box included
for convenience.

    ```
    [spaceboxes id=“”]
    ```

id=“” – pass the ID of the Space Box set

columns=“” – specify how many columns of items there should be. acceptable values
include numbers 1-12. default is 4

itemcolumns=“” – specify how many columns each item should take up, based on a 12
column grid. default is 3

lightbox=”on” – set this to on to open each image in a lightbox. default is off

size=“” – specify the size of each image. There are cropped, and non-cropped sizes.
default is spacebox-small . additional attributes include spacebox-small-nocrop,
spacebox-medium, & spacebox-medium-nocrop

layout=”pinterest” – set to pinterest to enable grid layout. default is stacked

pinwidth=“” – only applies if using pinterest layout. specifies the width of each
item. default is 300. you can also enter a percentage like ‘50%’ . notice the single
quotes, they are important when passing percentage value

pinspace=“” – only applies if using pinterest layout. specifies distance between
pins. default is 5

#### Space Box Archive Shortcode

    ```
    [spaceboxes_archive]
    ```

There are a few attributes available for the Space Box archive shortcode.

category=“” – specify a Space Box category name like awesome

columns=“” – specify how many columns of items there should be. acceptable values
include numbers 1-12. default is 4

itemcolumns=“” – specify how many columns each item should take up, based on a 12
column grid. default is 3

#### Filters

    ```
    space_boxes_output – filters the single Space Box output
    space_boxes_archive_output – filters the archive output of Space Boxes
    ```

#### Action Hooks

    ```
    spacebox_before
    spacebox_after
    spacebox_inside_top
    spacebox_inside_bottom

    spacebox_archive_before
    spacebox_archive_after
    spacebox_archive_inside_top
    spacebox_archive_inside_bottom
    ```

#### Further

 * Nick on [Twitter](http://twitter.com/nphaskins)
 * Nicks [Store Updates](http://twitter.com/nhstoreupdates) feed

## 屏幕截图

 * [[
 * Default and pinterest modes
 * [[
 * How to manage Space Boxes as a custom post type
 * [[
 * Design controls
 * [[
 * Shortcode attributes

## 安装

How to Install Space Boxes

 1. download and unzip the file
 2. upload space-boxes to wp-content/plugins directory
 3. activate the plugin, and enter your license under Space Boxes–>License to enable
    automatic updates
 4. set any additional options under the Space Boxes tab within your wordpress admin

Space Box Creation

 1. create a new Space Box set under the Space Box tab in WordPress
 2. create and insert a wordpress gallery
 3. Space Boxes will use the title, and the caption, if you fill them out
 4. publish the set, and use the shortcode to display anywhere

## 常见问题

  What types of things can I use this for?

Space Boxes are super versatile. A few use cases include an image portfolio, screen
shot gallery, or information hub.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Nick Haskins ](https://profiles.wordpress.org/nphaskins/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1.1

 * Actually add the gallery field fuel. Still getting used to WordPress SVN sorry!

#### 1.1

 * Added the ability for you to link individual images to anywhere. A new “Link 
   Field” was added to the Media Library modal (right under where you enter the 
   captions at). If you fill out a link, it will override the lightbox if you have
   it set. If you don’t fill out a link, nothing happens. Seamless upgrade from 
   1.0.

#### 1.0

 * Initial Release

## 额外信息

 *  版本 **1.1.1**
 *  最后更新：**12 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 3.5 或更高版本 **
 *  已测试的最高版本为 **3.7.41**
 *  语言
 * [English (US)](https://wordpress.org/plugins/space-boxes/)
 * 标签
 * [content boxes](https://cn.wordpress.org/plugins/tags/content-boxes/)[galleries](https://cn.wordpress.org/plugins/tags/galleries/)
   [grid](https://cn.wordpress.org/plugins/tags/grid/)[info boxes](https://cn.wordpress.org/plugins/tags/info-boxes/)
   [shortcodes](https://cn.wordpress.org/plugins/tags/shortcodes/)
 *  [高级视图](https://cn.wordpress.org/plugins/space-boxes/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  7 条 5 星评价     ](https://wordpress.org/support/plugin/space-boxes/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/space-boxes/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/space-boxes/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/space-boxes/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/space-boxes/reviews/?filter=1)

[添加我的评价](https://wordpress.org/support/plugin/space-boxes/reviews/#new-post)

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

## 贡献者

 *   [ Nick Haskins ](https://profiles.wordpress.org/nphaskins/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://nickhaskins.co/products/space-boxes/)