Version Description
Upgrade normally via your Wordpress admin -> Plugins panel.
Download this release
Release Info
Developer | gn_themes |
Plugin | Shortcodes Ultimate |
Version | 3.6.1 |
Comparing to | |
See all releases |
Code changes from version 3.6.0 to 3.6.1
- css/style.css +3 -3
- lib/available.php +7 -0
- lib/shortcodes.php +2 -1
- readme.txt +3 -3
- shortcodes-ultimate.php +1 -1
css/style.css
CHANGED
@@ -577,16 +577,16 @@
|
|
577 |
}
|
578 |
|
579 |
/* Custom gallery */
|
580 |
-
.su-custom-gallery {
|
581 |
margin: 0 0 1.5em 0;
|
582 |
}
|
583 |
-
.su-custom-gallery a {
|
584 |
float: left;
|
585 |
display: block;
|
586 |
margin: 0 1em 1em 0;
|
587 |
padding: 0;
|
588 |
}
|
589 |
-
.su-custom-gallery img {
|
590 |
display: block;
|
591 |
margin: 0;
|
592 |
padding: 0;
|
577 |
}
|
578 |
|
579 |
/* Custom gallery */
|
580 |
+
.su-custom-gallery-style-1 {
|
581 |
margin: 0 0 1.5em 0;
|
582 |
}
|
583 |
+
.su-custom-gallery-style-1 a {
|
584 |
float: left;
|
585 |
display: block;
|
586 |
margin: 0 1em 1em 0;
|
587 |
padding: 0;
|
588 |
}
|
589 |
+
.su-custom-gallery-style-1 img {
|
590 |
display: block;
|
591 |
margin: 0;
|
592 |
padding: 0;
|
lib/available.php
CHANGED
@@ -980,6 +980,13 @@
|
|
980 |
'name' => 'Custom gallery',
|
981 |
'type' => 'single',
|
982 |
'atts' => array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
983 |
'source' => array(
|
984 |
'values' => array(
|
985 |
'post',
|
980 |
'name' => 'Custom gallery',
|
981 |
'type' => 'single',
|
982 |
'atts' => array(
|
983 |
+
'style' => array(
|
984 |
+
'values' => array(
|
985 |
+
'1'
|
986 |
+
),
|
987 |
+
'default' => '1',
|
988 |
+
'desc' => __( 'Gallery style', 'shortcodes-ultimate' )
|
989 |
+
),
|
990 |
'source' => array(
|
991 |
'values' => array(
|
992 |
'post',
|
lib/shortcodes.php
CHANGED
@@ -629,6 +629,7 @@
|
|
629 |
*/
|
630 |
function su_custom_gallery_shortcode( $atts, $content = null ) {
|
631 |
extract( shortcode_atts( array(
|
|
|
632 |
'source' => 'post',
|
633 |
'link' => 'image',
|
634 |
'description' => false,
|
@@ -650,7 +651,7 @@
|
|
650 |
// If slides exists
|
651 |
if ( count( $slides ) > 1 ) {
|
652 |
|
653 |
-
$return = '<div id="' . $gallery_id . '" class="su-custom-gallery">';
|
654 |
foreach ( $slides as $slide ) {
|
655 |
|
656 |
// Description
|
629 |
*/
|
630 |
function su_custom_gallery_shortcode( $atts, $content = null ) {
|
631 |
extract( shortcode_atts( array(
|
632 |
+
'style' => 1,
|
633 |
'source' => 'post',
|
634 |
'link' => 'image',
|
635 |
'description' => false,
|
651 |
// If slides exists
|
652 |
if ( count( $slides ) > 1 ) {
|
653 |
|
654 |
+
$return = '<div id="' . $gallery_id . '" class="su-custom-gallery su-custom-gallery-style-' . $style . '">';
|
655 |
foreach ( $slides as $slide ) {
|
656 |
|
657 |
// Description
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://gndev.info/donate/
|
|
4 |
Tags: shortcode, shortcodes, short code, shortcodes, tab, tabs, button, buttons, jquery, box, boxes, toggle, spoiler, column, columns, services, service, pullquote, list, lists, frame, images, image, links, fancy, fancy link, fancy links, fancy buttons, jquery tabs, accordeon, slider, nivo, nivo slider, plugin, admin, photoshop, gallery, bloginfo, list pages, sub pages, navigation, siblings pages, children pages, permalink, permalinks, feed, document, member, members, documents, jcarousel, rss
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.3
|
7 |
-
Stable tag: 3.6.
|
8 |
|
9 |
Provides support for multiple useful shortcodes
|
10 |
|
@@ -25,10 +25,10 @@ With this plugin you can easily create buttons, boxes, different sliders and muc
|
|
25 |
* Improved spoiler shortcode (check settings page)
|
26 |
* Multiple tabs bugfix
|
27 |
* Authors can also use shortcode generator
|
28 |
-
* Nested shortcodes: spoiler, column, tabs, box, note
|
29 |
* Descriptions for [custom_gallery]
|
30 |
* Custom options for jwPlayer
|
31 |
* Fixed size option for sliders and gallery
|
|
|
32 |
|
33 |
= Got a bug? =
|
34 |
* [Support forum](http://wordpress.org/tags/shortcodes-ultimate?forum_id=10)
|
@@ -42,7 +42,7 @@ With this plugin you can easily create buttons, boxes, different sliders and muc
|
|
42 |
* Ru - [Vladimir Anokhin](http://gndev.info/)
|
43 |
* By - [Alexander Ovsov](http://webhostinggeeks.com/science/)
|
44 |
|
45 |
-
Have a translation? [Contact me](mailto:ano.vladimir@gmail.com)
|
46 |
|
47 |
|
48 |
== Installation ==
|
4 |
Tags: shortcode, shortcodes, short code, shortcodes, tab, tabs, button, buttons, jquery, box, boxes, toggle, spoiler, column, columns, services, service, pullquote, list, lists, frame, images, image, links, fancy, fancy link, fancy links, fancy buttons, jquery tabs, accordeon, slider, nivo, nivo slider, plugin, admin, photoshop, gallery, bloginfo, list pages, sub pages, navigation, siblings pages, children pages, permalink, permalinks, feed, document, member, members, documents, jcarousel, rss
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.3
|
7 |
+
Stable tag: 3.6.1
|
8 |
|
9 |
Provides support for multiple useful shortcodes
|
10 |
|
25 |
* Improved spoiler shortcode (check settings page)
|
26 |
* Multiple tabs bugfix
|
27 |
* Authors can also use shortcode generator
|
|
|
28 |
* Descriptions for [custom_gallery]
|
29 |
* Custom options for jwPlayer
|
30 |
* Fixed size option for sliders and gallery
|
31 |
+
* Custom styling for [custom_gallery]
|
32 |
|
33 |
= Got a bug? =
|
34 |
* [Support forum](http://wordpress.org/tags/shortcodes-ultimate?forum_id=10)
|
42 |
* Ru - [Vladimir Anokhin](http://gndev.info/)
|
43 |
* By - [Alexander Ovsov](http://webhostinggeeks.com/science/)
|
44 |
|
45 |
+
Have a translation? [Contact me (for translators ONLY)](mailto:ano.vladimir@gmail.com)
|
46 |
|
47 |
|
48 |
== Installation ==
|
shortcodes-ultimate.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Shortcodes Ultimate
|
4 |
Plugin URI: http://gndev.info/shortcodes-ultimate/
|
5 |
-
Version: 3.6.
|
6 |
Author: Vladimir Anokhin
|
7 |
Author URI: http://gndev.info/
|
8 |
Description: Provides support for many easy to use shortcodes
|
2 |
/*
|
3 |
Plugin Name: Shortcodes Ultimate
|
4 |
Plugin URI: http://gndev.info/shortcodes-ultimate/
|
5 |
+
Version: 3.6.1
|
6 |
Author: Vladimir Anokhin
|
7 |
Author URI: http://gndev.info/
|
8 |
Description: Provides support for many easy to use shortcodes
|