Version Description
-
Bug Fix: Resolved issue with the
ids
attribute in1.2
not working. Sorry about that!
Download this release
Release Info
Developer | dan.rossiter |
Plugin | Document Gallery |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.2.1
- document-gallery.php +2 -2
- readme.txt +12 -3
- screenshot-1.png +0 -0
- screenshot-3.png +0 -0
document-gallery.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Document Gallery
|
4 |
Description: Display non-images (and images) in gallery format on a page or post with the [dg] shortcode.
|
5 |
-
Version: 1.2
|
6 |
Author: Dan Rossiter
|
7 |
Author URI: http://danrossiter.org/
|
8 |
License: GPL2
|
@@ -37,7 +37,7 @@ function dg_get_attachment_icons($atts) {
|
|
37 |
|
38 |
if( strtolower($images) == "false" ){ $images = FALSE; }
|
39 |
|
40 |
-
if( strtolower($ids) ){ $ids = FALSE; }
|
41 |
|
42 |
// http://www.youtube.com/watch?v=ClnSMCdw6E8
|
43 |
if( $errs ) return implode(' ', $errs);
|
2 |
/*
|
3 |
Plugin Name: Document Gallery
|
4 |
Description: Display non-images (and images) in gallery format on a page or post with the [dg] shortcode.
|
5 |
+
Version: 1.2.1
|
6 |
Author: Dan Rossiter
|
7 |
Author URI: http://danrossiter.org/
|
8 |
License: GPL2
|
37 |
|
38 |
if( strtolower($images) == "false" ){ $images = FALSE; }
|
39 |
|
40 |
+
if( strtolower($ids) == "false" ){ $ids = FALSE; }
|
41 |
|
42 |
// http://www.youtube.com/watch?v=ClnSMCdw6E8
|
43 |
if( $errs ) return implode(' ', $errs);
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: dan.rossiter
|
|
3 |
Tags: attachments, icons, documents, gallery, ms office, doc, ppt, xls, docx, pptx, xlsx, pdf, openoffice
|
4 |
Requires at least: 2.6
|
5 |
Tested up to: 3.5
|
6 |
-
Stable tag: 1.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -116,8 +116,13 @@ code wherever you would like it to appear: `<?php echo do_shortcode('[dg]'); ?>`
|
|
116 |
|
117 |
== Screenshots ==
|
118 |
|
119 |
-
1. This is
|
120 |
-
|
|
|
|
|
|
|
|
|
|
|
121 |
|
122 |
== Changelog ==
|
123 |
|
@@ -129,9 +134,13 @@ code wherever you would like it to appear: `<?php echo do_shortcode('[dg]'); ?>`
|
|
129 |
* Support for adding your own filetypes/icons.
|
130 |
* Whatever else **you** would like (post on the [support forum](http://wordpress.org/support/plugin/document-gallery) if you have ideas)!
|
131 |
|
|
|
|
|
|
|
132 |
= 1.2 =
|
133 |
|
134 |
* **New Feature:** Images can now be included alongside documents in a document gallery (using `images=true` attribute).
|
|
|
135 |
* **New Feature:** Attachment ids can now be explicitly listed, allowing for documents not attached to a post or page
|
136 |
to be included in a document gallery (e.g.: `ids=2,42,57,1`). Note that no spaces should be included.
|
137 |
* **Enhancement:** The CSS stylesheet has been enhanced for more flexibility in sizing icons.
|
3 |
Tags: attachments, icons, documents, gallery, ms office, doc, ppt, xls, docx, pptx, xlsx, pdf, openoffice
|
4 |
Requires at least: 2.6
|
5 |
Tested up to: 3.5
|
6 |
+
Stable tag: 1.2.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
116 |
|
117 |
== Screenshots ==
|
118 |
|
119 |
+
1. This is an example of multiple Document Galleries on a single page (using the `ids` attribute). It also shows
|
120 |
+
how images will appear in a Document Gallery. Note that the description field supports HTML markup, so the
|
121 |
+
possibilites are endless!
|
122 |
+
2. This is how the Document Gallery looks with `descriptions=true`. The descriptions are auto-populated using the
|
123 |
+
description field from when you upload the document.
|
124 |
+
3. This is how the Document Gallery looks with `descriptions=false` (default). Note that the display inherits
|
125 |
+
styling from your active theme.
|
126 |
|
127 |
== Changelog ==
|
128 |
|
134 |
* Support for adding your own filetypes/icons.
|
135 |
* Whatever else **you** would like (post on the [support forum](http://wordpress.org/support/plugin/document-gallery) if you have ideas)!
|
136 |
|
137 |
+
= 1.2.1 =
|
138 |
+
* **Bug Fix:** Resolved issue with the `ids` attribute in `1.2` not working. Sorry about that!
|
139 |
+
|
140 |
= 1.2 =
|
141 |
|
142 |
* **New Feature:** Images can now be included alongside documents in a document gallery (using `images=true` attribute).
|
143 |
+
(Thanks for the suggestion, Luca!)
|
144 |
* **New Feature:** Attachment ids can now be explicitly listed, allowing for documents not attached to a post or page
|
145 |
to be included in a document gallery (e.g.: `ids=2,42,57,1`). Note that no spaces should be included.
|
146 |
* **Enhancement:** The CSS stylesheet has been enhanced for more flexibility in sizing icons.
|
screenshot-1.png
CHANGED
Binary file
|
screenshot-3.png
ADDED
Binary file
|