Shortcodes Ultimate - Version 3.9.0

Version Description

Upgrade normally via your Wordpress admin -> Plugins panel.

Download this release

Release Info

Developer gn_themes
Plugin Icon 128x128 Shortcodes Ultimate
Version 3.9.0
Comparing to
See all releases

Code changes from version 3.8.3 to 3.9.0

css/admin.css CHANGED
@@ -7,11 +7,7 @@
7
  clear: both;
8
  height: 0;
9
  }
10
-
11
- .su-warning {
12
- color: #f03;
13
- }
14
-
15
  .su-onethird-column {
16
  width: 40%;
17
  margin: 0;
@@ -22,7 +18,6 @@
22
  margin: 0;
23
  float: left;
24
  }
25
-
26
  /* Share */
27
  #su-share {
28
  position: relative;
@@ -48,12 +43,8 @@
48
  font-size: 12px;
49
  color: #888;
50
  }
51
-
52
  /* New shortcodes and options highlight */
53
- .su-new-shortcode td {
54
- background: #ffd;
55
- }
56
-
57
  /* Code editor */
58
  .CodeMirror {
59
  width: 660px;
@@ -65,7 +56,6 @@
65
  -moz-border-radius: 5px;
66
  -webkit-border-radius: 5px;
67
  }
68
-
69
  /* Tabs */
70
  #su-tabs {
71
  width: 700px;
@@ -100,15 +90,12 @@
100
  color: #333;
101
  }
102
  #su-tabs a:hover,
103
- #su-tabs .su-current {
104
- background: url(../images/admin/tab.png) no-repeat;
105
- }
106
  #su-tabs a:hover span,
107
  #su-tabs .su-current span {
108
  line-height: 34px;
109
  background: 100% 100% url(../images/admin/tab.png) no-repeat;
110
  }
111
-
112
  .su-pane {
113
  position: relative;
114
  display: none;
@@ -119,14 +106,8 @@
119
  border-bottom: 1px solid #DFDFDF;
120
  border-left: 1px solid #DFDFDF;
121
  }
122
- .su-pane table.fixed input[type="checkbox"] {
123
- margin: 0 5px 1px 0;
124
- }
125
-
126
- .no-js .su-pane {
127
- display: block;
128
- }
129
-
130
  /* Messages (notifications) */
131
  .su-message {
132
  position: absolute;
@@ -141,9 +122,7 @@
141
  .su-message a,
142
  .su-message a:hover,
143
  .su-message a:active,
144
- .su-message a:visited {
145
- color: #000;
146
- }
147
  .su-message-loading {
148
  background: #ff9;
149
  color: #000;
@@ -159,35 +138,21 @@
159
  color: #000;
160
  border: 1px solid #9E0020;
161
  }
162
- .no-js .su-message-error {
163
- display: block;
164
- }
165
-
166
  /* Save button */
167
- .su-submit {
168
- float: left;
169
- }
170
  .su-spin {
171
  padding: 4px 0 0 10px;
172
  float: left;
173
  display: none;
174
  }
175
-
176
  .su-table-demos small,
177
- .su-table-shortcodes small {
178
- color: #aaa;
179
- }
180
-
181
  .su-table-demos img {
182
  border: 1px solid #DFDFDF;
183
  margin: 10px 0;
184
  }
185
-
186
  .su-table-shortcodes td,
187
- .su-table-demos td {
188
- background: #fff !important;
189
- }
190
  .su-table-shortcodes .even td,
191
- .su-table-demos .even td {
192
- background: #f9f9f9 !important;
193
- }
7
  clear: both;
8
  height: 0;
9
  }
10
+ .su-warning { color: #f03 }
 
 
 
 
11
  .su-onethird-column {
12
  width: 40%;
13
  margin: 0;
18
  margin: 0;
19
  float: left;
20
  }
 
21
  /* Share */
22
  #su-share {
23
  position: relative;
43
  font-size: 12px;
44
  color: #888;
45
  }
 
46
  /* New shortcodes and options highlight */
47
+ .su-new-shortcode td { background: #ffd }
 
 
 
48
  /* Code editor */
49
  .CodeMirror {
50
  width: 660px;
56
  -moz-border-radius: 5px;
57
  -webkit-border-radius: 5px;
58
  }
 
59
  /* Tabs */
60
  #su-tabs {
61
  width: 700px;
90
  color: #333;
91
  }
92
  #su-tabs a:hover,
93
+ #su-tabs .su-current { background: url(../images/admin/tab.png) no-repeat }
 
 
94
  #su-tabs a:hover span,
95
  #su-tabs .su-current span {
96
  line-height: 34px;
97
  background: 100% 100% url(../images/admin/tab.png) no-repeat;
98
  }
 
99
  .su-pane {
100
  position: relative;
101
  display: none;
106
  border-bottom: 1px solid #DFDFDF;
107
  border-left: 1px solid #DFDFDF;
108
  }
109
+ .su-pane table.fixed input[type="checkbox"] { margin: 0 5px 1px 0 }
110
+ .no-js .su-pane { display: block }
 
 
 
 
 
 
111
  /* Messages (notifications) */
112
  .su-message {
113
  position: absolute;
122
  .su-message a,
123
  .su-message a:hover,
124
  .su-message a:active,
125
+ .su-message a:visited { color: #000 }
 
 
126
  .su-message-loading {
127
  background: #ff9;
128
  color: #000;
138
  color: #000;
139
  border: 1px solid #9E0020;
140
  }
141
+ .no-js .su-message-error { display: block }
 
 
 
142
  /* Save button */
143
+ .su-submit { float: left }
 
 
144
  .su-spin {
145
  padding: 4px 0 0 10px;
146
  float: left;
147
  display: none;
148
  }
 
149
  .su-table-demos small,
150
+ .su-table-shortcodes small { color: #aaa }
 
 
 
151
  .su-table-demos img {
152
  border: 1px solid #DFDFDF;
153
  margin: 10px 0;
154
  }
 
155
  .su-table-shortcodes td,
156
+ .su-table-demos td { background: #fff !important }
 
 
157
  .su-table-shortcodes .even td,
158
+ .su-table-demos .even td { background: #f9f9f9 !important }
 
 
css/generator.css CHANGED
@@ -1,7 +1,4 @@
1
- #su-generator-wrap {
2
- display: none;
3
- }
4
-
5
  #su-generator {
6
  width: 100%;
7
  height: 100%;
@@ -9,32 +6,21 @@
9
  padding: 0;
10
  overflow: auto;
11
  }
12
- #su-generator-shell {
13
- padding: 20px 10px;
14
- }
15
-
16
  #su-generator-settings {
17
  padding: 20px;
18
  border: 1px dashed #ccc;
19
  }
20
-
21
  #su-generator-header {
22
  height: 30px;
23
  margin-bottom: 20px;
24
  }
25
-
26
- #su-generator-select {
27
- width: 400px;
28
- }
29
-
30
  #su-generator-tools {
31
  float: right;
32
  padding-top: 5px;
33
  }
34
- #su-generator-tools a {
35
- margin-left: 10px;
36
- }
37
-
38
  #su-generator-settings label {
39
  float: left;
40
  display: block;
@@ -42,24 +28,16 @@
42
  padding: 5px;
43
  border-bottom: 1px dotted #ccc;
44
  }
45
-
46
  #su-generator-settings input[type="text"] {
47
  width: 300px;
48
  padding: 5px 8px;
49
  }
50
- #su-generator-settings select {
51
- width: 300px;
52
- padding: 5px 8px;
53
- }
54
-
55
  .su-loading-animation {
56
  min-height: 100px;
57
  background: 50% 50% url(../images/admin/loading.gif) no-repeat;
58
  }
59
- .su-loading-animation * {
60
- display: none;
61
- }
62
-
63
  #su-generator-insert {
64
  color: #fff !important;
65
  font-weight: bold;
1
+ #su-generator-wrap { display: none }
 
 
 
2
  #su-generator {
3
  width: 100%;
4
  height: 100%;
6
  padding: 0;
7
  overflow: auto;
8
  }
9
+ #su-generator-shell { padding: 20px 10px }
 
 
 
10
  #su-generator-settings {
11
  padding: 20px;
12
  border: 1px dashed #ccc;
13
  }
 
14
  #su-generator-header {
15
  height: 30px;
16
  margin-bottom: 20px;
17
  }
18
+ #su-generator-select { width: 400px }
 
 
 
 
19
  #su-generator-tools {
20
  float: right;
21
  padding-top: 5px;
22
  }
23
+ #su-generator-tools a { margin-left: 10px }
 
 
 
24
  #su-generator-settings label {
25
  float: left;
26
  display: block;
28
  padding: 5px;
29
  border-bottom: 1px dotted #ccc;
30
  }
 
31
  #su-generator-settings input[type="text"] {
32
  width: 300px;
33
  padding: 5px 8px;
34
  }
35
+ #su-generator-settings select { width: 300px }
 
 
 
 
36
  .su-loading-animation {
37
  min-height: 100px;
38
  background: 50% 50% url(../images/admin/loading.gif) no-repeat;
39
  }
40
+ .su-loading-animation * { display: none }
 
 
 
41
  #su-generator-insert {
42
  color: #fff !important;
43
  font-weight: bold;
css/style.css CHANGED
@@ -1,11 +1,7 @@
1
  /**
2
  * Shortcodes Ultimate stylesheet
3
  */
4
-
5
- .su-error {
6
- color: #f03;
7
- }
8
-
9
  /* Spacer */
10
  .su-spacer {
11
  display: block;
@@ -18,7 +14,6 @@
18
  .su-spacer-20 { height: 20px }
19
  .su-spacer-30 { height: 30px }
20
  .su-spacer-40 { height: 40px }
21
-
22
  /* Heading */
23
  .su-heading {
24
  margin: 0 0 1.5em 0;
@@ -33,7 +28,6 @@
33
  border-bottom: 4px solid #eee;
34
  font-size: 1.5em;
35
  }
36
-
37
  /* Quote */
38
  .su-quote {
39
  padding: 1em 0 0 40px;
@@ -43,13 +37,8 @@
43
  padding: 0 40px 1em 0;
44
  font-style: italic;
45
  }
46
- .su-quote-style-1 {
47
- background: 0 0 url(../images/quote.png) no-repeat;
48
- }
49
- .su-quote-style-1 .su-quote-shell {
50
- background: 100% 100% url(../images/quote-shell.png) no-repeat;
51
- }
52
-
53
  /* Pullquote */
54
  .su-pullquote {
55
  padding: 10px 25px;
@@ -58,16 +47,9 @@
58
  font-style: italic;
59
  margin: 1em;
60
  }
61
- .su-pullquote-align-left {
62
- float: left;
63
- }
64
- .su-pullquote-align-right {
65
- float: right;
66
- }
67
- .su-pullquote-style-1 {
68
- border-left: 5px solid #ddd;
69
- }
70
-
71
  /* Frame */
72
  .su-frame {
73
  padding: 2px;
@@ -89,19 +71,14 @@
89
  float: right;
90
  margin: 0 0 1em 1.5em;
91
  }
92
- .su-frame-align-center {
93
- margin: 0 auto 1.5em auto;
94
- }
95
- .su-frame-align-none {
96
- margin: 0 0 1.5em 0;
97
- }
98
  .su-frame img {
99
  display: block !important;
100
  float: none !important;
101
  padding: 0 !important;
102
  margin: 0 !important;
103
  }
104
-
105
  /* Divider */
106
  .su-divider {
107
  clear: both;
@@ -120,7 +97,6 @@
120
  text-decoration: none;
121
  text-transform: uppercase;
122
  }
123
-
124
  /* Columns */
125
  .su-column-1-2 { width: 48% }
126
  .su-column-1-3 { width: 30.66% }
@@ -142,7 +118,6 @@
142
  margin-right: 0 !important;
143
  clear: right;
144
  }
145
-
146
  /* Spoiler */
147
  .su-spoiler-style-1 { margin: 0 0 1.5em 0 }
148
  .su-spoiler-style-1 > .su-spoiler-title {
@@ -151,17 +126,12 @@
151
  background: 0 50% url(../images/spoiler-closed.png) no-repeat;
152
  cursor: pointer;
153
  }
154
- .su-spoiler-style-1.su-spoiler-open > .su-spoiler-title {
155
- background: 0 50% url(../images/spoiler-open.png) no-repeat;
156
- }
157
  .su-spoiler-style-1 .su-spoiler-content {
158
  padding: 15px 0;
159
  display: none;
160
  }
161
- .su-spoiler-style-1 .su-spoiler-style-1 {
162
- margin: 1em;
163
- }
164
-
165
  .su-spoiler-style-2 {
166
  margin-bottom: 1em;
167
  background: #fff;
@@ -191,10 +161,8 @@
191
  padding: 1em;
192
  display: none;
193
  }
194
-
195
  /* Tabs */
196
  .su-tabs { margin: 0 0 1.5em 0 }
197
-
198
  .su-tabs-style-1 .su-tabs-nav {
199
  padding: 5px 5px 0 5px;
200
  margin: 0;
@@ -222,7 +190,6 @@
222
  border-bottom: 5px solid #e5e5e5;
223
  border-left: 5px solid #e5e5e5;
224
  }
225
-
226
  .su-tabs-style-2 .su-tabs-nav {
227
  padding: 5px 5px 0 5px;
228
  margin: 0;
@@ -250,7 +217,6 @@
250
  border-bottom: 5px solid #222;
251
  border-left: 5px solid #222;
252
  }
253
-
254
  .su-tabs-style-3 {
255
  background: #fff;
256
  border: 5px solid #f0f0f0;
@@ -272,7 +238,6 @@
272
  float: none;
273
  margin-left: 200px;
274
  }
275
-
276
  /* Lists */
277
  .su-list ul {
278
  list-style-type: none !important;
@@ -299,14 +264,10 @@
299
  .su-list-style-idea li { background: 0 50% url(../images/list-style-idea.png) no-repeat !important }
300
  .su-list-style-settings li { background: 0 50% url(../images/list-style-settings.png) no-repeat !important }
301
  .su-list-style-twitter li { background: 0 50% url(../images/list-style-twitter.png) no-repeat !important }
302
-
303
  .su-list-style-check li.x { background: 0 50% url(../images/list-style-cross.png) no-repeat !important }
304
  .su-list-style-cross li.v { background: 0 50% url(../images/list-style-check.png) no-repeat !important }
305
-
306
  /* Box */
307
- .su-box {
308
- margin: 0 0 1.5em 0;
309
- }
310
  .su-box-title {
311
  display: block;
312
  padding: 10px 15px;
@@ -320,32 +281,21 @@
320
  background: #fff;
321
  padding: 15px;
322
  }
323
-
324
  /* Note */
325
- .su-note {
326
- margin: 0 0 1.5em 0;
327
- }
328
- .su-note-shell {
329
- padding: 15px;
330
- }
331
-
332
  /* Private */
333
- .su-private {
334
- margin: 0 0 1.5em 0;
335
- }
336
-
337
  /* Gmap */
338
  .su-gmap {
339
  margin: 0 0 1.5em 0;
340
  border: none;
341
  }
342
-
343
  /* Highlight */
344
  .su-highlight {
345
  display: inline;
346
  padding: 1px 0;
347
  }
348
-
349
  /* Label */
350
  .su-label {
351
  display: inline-block;
@@ -365,7 +315,6 @@
365
  .su-label-style-warning { background: #f90 }
366
  .su-label-style-important { background: #f03 }
367
  .su-label-style-info { background: #09c }
368
-
369
  /* Button */
370
  .su-button {
371
  display: inline-block;
@@ -376,24 +325,18 @@
376
  text-decoration: none !important;
377
  text-transform: uppercase;
378
  }
379
-
380
  .su-button img {
381
  display: inline !important;
382
  padding: 0 !important;
383
  }
384
-
385
  .su-button-style-1 span { background: 0 -20px url(../images/button-style-1.png) repeat-x }
386
  .su-button-style-1:hover span { background: 0 0 url(../images/button-style-1.png) repeat-x }
387
-
388
  .su-button-style-2 span { background: 0 50% url(../images/button-style-2.png) repeat-x }
389
  .su-button-style-2:hover span { background: 100% 50% url(../images/button-style-2.png) repeat-x }
390
-
391
  .su-button-style-3 span { background: 0 50% url(../images/button-style-3.png) no-repeat }
392
  .su-button-style-3:hover span { background: -710px 50% url(../images/button-style-3.png) no-repeat }
393
-
394
  .su-button-style-4 span { background: 0 0 url(../images/button-style-4.png) repeat-x }
395
  .su-button-style-4:hover span { background: 0 0 url(../images/button-style-1.png) repeat-x }
396
-
397
  .su-button-style-5 span {
398
  margin: 1px;
399
  border: 1px dashed #fff !important;
@@ -405,9 +348,7 @@
405
  -khtml-opacity: 0.7;
406
  opacity: 0.7;
407
  }
408
-
409
  /* Fancy link */
410
-
411
  .su-fancy-link {
412
  display: inline-block;
413
  padding: 0 10px 0 0;
@@ -428,7 +369,6 @@
428
  color: #000 !important;
429
  background: 100% 100% url(../images/fancy-link-black.png) no-repeat;
430
  }
431
-
432
  /* Services */
433
  .su-service {
434
  position: relative;
@@ -453,12 +393,8 @@
453
  padding: 0 !important;
454
  }
455
  .su-service-content { line-height: 1.4 }
456
-
457
  /* Media */
458
- .su-media {
459
- margin: 0 0 1.5em 0;
460
- }
461
-
462
  /* Table */
463
  .su-table {
464
  width: 100% !important;
@@ -473,14 +409,9 @@
473
  font-weight: normal !important;
474
  color: #333 !important;
475
  }
476
- .su-table td {
477
- padding: 10px 15px !important;
478
- }
479
- .su-table .su-even td {}
480
-
481
- .su-table-style-1 table {
482
- border: 1px solid #ccc !important;
483
- }
484
  .su-table-style-1 th {
485
  border: 1px solid #ccc !important;
486
  background: #f0f0f0 !important;
@@ -489,13 +420,8 @@
489
  border: 1px solid #ccc !important;
490
  background: #fff !important;
491
  }
492
- .su-table-style-1 .su-even td {
493
- background: #f7f7f7 !important;
494
- }
495
-
496
- .su-table-style-2 table {
497
- border: none !important;
498
- }
499
  .su-table-style-2 th {
500
  border: none !important;
501
  background: #f0f0f0 !important;
@@ -504,13 +430,8 @@
504
  border: none !important;
505
  background: #fff !important;
506
  }
507
- .su-table-style-2 .su-even td {
508
- background: #f7f7f7 !important;
509
- }
510
-
511
- .su-table-style-3 table {
512
- border: none !important;
513
- }
514
  .su-table-style-3 th {
515
  border: none !important;
516
  border-bottom: 2px solid #666 !important;
@@ -520,15 +441,9 @@
520
  border: none !important;
521
  background: #fff !important;
522
  }
523
- .su-table-style-3 .su-even td {
524
- background: #fff !important;
525
- }
526
-
527
  /* Document */
528
- .su-document {
529
- border: none !important;
530
- }
531
-
532
  /* Members */
533
  .su-members {
534
  padding: 1em;
@@ -546,17 +461,11 @@
546
  border-bottom: 1px solid #8DC3EB;
547
  background: #D9EEFF;
548
  }
549
-
550
  /* Guests */
551
- .su-guests {
552
- margin-bottom: 1.5em;
553
- }
554
-
555
  /* Tweets */
556
- .su-tweets {
557
- margin: 0 0 1.5em 0;
558
- }
559
- .su-tweet {}
560
  .su-tweet-time {
561
  display: block;
562
  margin-top: 0.3em;
@@ -588,17 +497,10 @@
588
  -moz-border-radius: 5px;
589
  -webkit-border-radius: 5px;
590
  }
591
- .su-tweets-style-2 .su-tweet:hover {
592
- background: #444 0.4em 0.8em url(../images/tweet-style-2.png) no-repeat;
593
- }
594
- .su-tweets-style-2 .su-tweet a {
595
- color: #fff;
596
- }
597
-
598
  /* Custom gallery */
599
- .su-custom-gallery-style-1 {
600
- margin: 0 0 1.5em 0;
601
- }
602
  .su-custom-gallery-style-1 a {
603
  float: left;
604
  display: block;
@@ -611,18 +513,10 @@
611
  padding: 0;
612
  border: 2px solid #ccc;
613
  }
614
-
615
  /* Pricing & plan */
616
- .su-pricing {
617
- margin: 0 0 1.5em 0;
618
- }
619
- .su-plan {
620
- float: left;
621
- }
622
-
623
- .su-pricing-style-1 {
624
- text-align: center;
625
- }
626
  .su-pricing-style-1 ul {
627
  margin: 0;
628
  padding: 0;
@@ -631,7 +525,6 @@
631
  list-style-type: none;
632
  display: block;
633
  }
634
-
635
  /* Dropcap */
636
  .su-dropcap {
637
  float: left;
@@ -644,7 +537,6 @@
644
  overflow: hidden;
645
  text-transform: uppercase;
646
  }
647
-
648
  .su-dropcap-style-1 {
649
  background: #333 0 -20px url(../images/dropcap-style-1.png) repeat-x;
650
  color: #f0f0f0;
1
  /**
2
  * Shortcodes Ultimate stylesheet
3
  */
4
+ .su-error { color: #f03 }
 
 
 
 
5
  /* Spacer */
6
  .su-spacer {
7
  display: block;
14
  .su-spacer-20 { height: 20px }
15
  .su-spacer-30 { height: 30px }
16
  .su-spacer-40 { height: 40px }
 
17
  /* Heading */
18
  .su-heading {
19
  margin: 0 0 1.5em 0;
28
  border-bottom: 4px solid #eee;
29
  font-size: 1.5em;
30
  }
 
31
  /* Quote */
32
  .su-quote {
33
  padding: 1em 0 0 40px;
37
  padding: 0 40px 1em 0;
38
  font-style: italic;
39
  }
40
+ .su-quote-style-1 { background: 0 0 url(../images/quote.png) no-repeat }
41
+ .su-quote-style-1 .su-quote-shell { background: 100% 100% url(../images/quote-shell.png) no-repeat }
 
 
 
 
 
42
  /* Pullquote */
43
  .su-pullquote {
44
  padding: 10px 25px;
47
  font-style: italic;
48
  margin: 1em;
49
  }
50
+ .su-pullquote-align-left { float: left }
51
+ .su-pullquote-align-right { float: right }
52
+ .su-pullquote-style-1 { border-left: 5px solid #ddd }
 
 
 
 
 
 
 
53
  /* Frame */
54
  .su-frame {
55
  padding: 2px;
71
  float: right;
72
  margin: 0 0 1em 1.5em;
73
  }
74
+ .su-frame-align-center { margin: 0 auto 1.5em auto }
75
+ .su-frame-align-none { margin: 0 0 1.5em 0 }
 
 
 
 
76
  .su-frame img {
77
  display: block !important;
78
  float: none !important;
79
  padding: 0 !important;
80
  margin: 0 !important;
81
  }
 
82
  /* Divider */
83
  .su-divider {
84
  clear: both;
97
  text-decoration: none;
98
  text-transform: uppercase;
99
  }
 
100
  /* Columns */
101
  .su-column-1-2 { width: 48% }
102
  .su-column-1-3 { width: 30.66% }
118
  margin-right: 0 !important;
119
  clear: right;
120
  }
 
121
  /* Spoiler */
122
  .su-spoiler-style-1 { margin: 0 0 1.5em 0 }
123
  .su-spoiler-style-1 > .su-spoiler-title {
126
  background: 0 50% url(../images/spoiler-closed.png) no-repeat;
127
  cursor: pointer;
128
  }
129
+ .su-spoiler-style-1.su-spoiler-open > .su-spoiler-title { background: 0 50% url(../images/spoiler-open.png) no-repeat }
 
 
130
  .su-spoiler-style-1 .su-spoiler-content {
131
  padding: 15px 0;
132
  display: none;
133
  }
134
+ .su-spoiler-style-1 .su-spoiler-style-1 { margin: 1em }
 
 
 
135
  .su-spoiler-style-2 {
136
  margin-bottom: 1em;
137
  background: #fff;
161
  padding: 1em;
162
  display: none;
163
  }
 
164
  /* Tabs */
165
  .su-tabs { margin: 0 0 1.5em 0 }
 
166
  .su-tabs-style-1 .su-tabs-nav {
167
  padding: 5px 5px 0 5px;
168
  margin: 0;
190
  border-bottom: 5px solid #e5e5e5;
191
  border-left: 5px solid #e5e5e5;
192
  }
 
193
  .su-tabs-style-2 .su-tabs-nav {
194
  padding: 5px 5px 0 5px;
195
  margin: 0;
217
  border-bottom: 5px solid #222;
218
  border-left: 5px solid #222;
219
  }
 
220
  .su-tabs-style-3 {
221
  background: #fff;
222
  border: 5px solid #f0f0f0;
238
  float: none;
239
  margin-left: 200px;
240
  }
 
241
  /* Lists */
242
  .su-list ul {
243
  list-style-type: none !important;
264
  .su-list-style-idea li { background: 0 50% url(../images/list-style-idea.png) no-repeat !important }
265
  .su-list-style-settings li { background: 0 50% url(../images/list-style-settings.png) no-repeat !important }
266
  .su-list-style-twitter li { background: 0 50% url(../images/list-style-twitter.png) no-repeat !important }
 
267
  .su-list-style-check li.x { background: 0 50% url(../images/list-style-cross.png) no-repeat !important }
268
  .su-list-style-cross li.v { background: 0 50% url(../images/list-style-check.png) no-repeat !important }
 
269
  /* Box */
270
+ .su-box { margin: 0 0 1.5em 0 }
 
 
271
  .su-box-title {
272
  display: block;
273
  padding: 10px 15px;
281
  background: #fff;
282
  padding: 15px;
283
  }
 
284
  /* Note */
285
+ .su-note { margin: 0 0 1.5em 0 }
286
+ .su-note-shell { padding: 15px }
 
 
 
 
 
287
  /* Private */
288
+ .su-private { margin: 0 0 1.5em 0 }
 
 
 
289
  /* Gmap */
290
  .su-gmap {
291
  margin: 0 0 1.5em 0;
292
  border: none;
293
  }
 
294
  /* Highlight */
295
  .su-highlight {
296
  display: inline;
297
  padding: 1px 0;
298
  }
 
299
  /* Label */
300
  .su-label {
301
  display: inline-block;
315
  .su-label-style-warning { background: #f90 }
316
  .su-label-style-important { background: #f03 }
317
  .su-label-style-info { background: #09c }
 
318
  /* Button */
319
  .su-button {
320
  display: inline-block;
325
  text-decoration: none !important;
326
  text-transform: uppercase;
327
  }
 
328
  .su-button img {
329
  display: inline !important;
330
  padding: 0 !important;
331
  }
 
332
  .su-button-style-1 span { background: 0 -20px url(../images/button-style-1.png) repeat-x }
333
  .su-button-style-1:hover span { background: 0 0 url(../images/button-style-1.png) repeat-x }
 
334
  .su-button-style-2 span { background: 0 50% url(../images/button-style-2.png) repeat-x }
335
  .su-button-style-2:hover span { background: 100% 50% url(../images/button-style-2.png) repeat-x }
 
336
  .su-button-style-3 span { background: 0 50% url(../images/button-style-3.png) no-repeat }
337
  .su-button-style-3:hover span { background: -710px 50% url(../images/button-style-3.png) no-repeat }
 
338
  .su-button-style-4 span { background: 0 0 url(../images/button-style-4.png) repeat-x }
339
  .su-button-style-4:hover span { background: 0 0 url(../images/button-style-1.png) repeat-x }
 
340
  .su-button-style-5 span {
341
  margin: 1px;
342
  border: 1px dashed #fff !important;
348
  -khtml-opacity: 0.7;
349
  opacity: 0.7;
350
  }
 
351
  /* Fancy link */
 
352
  .su-fancy-link {
353
  display: inline-block;
354
  padding: 0 10px 0 0;
369
  color: #000 !important;
370
  background: 100% 100% url(../images/fancy-link-black.png) no-repeat;
371
  }
 
372
  /* Services */
373
  .su-service {
374
  position: relative;
393
  padding: 0 !important;
394
  }
395
  .su-service-content { line-height: 1.4 }
 
396
  /* Media */
397
+ .su-media { margin: 0 0 1.5em 0 }
 
 
 
398
  /* Table */
399
  .su-table {
400
  width: 100% !important;
409
  font-weight: normal !important;
410
  color: #333 !important;
411
  }
412
+ .su-table td { padding: 10px 15px !important }
413
+ .su-table .su-even td { }
414
+ .su-table-style-1 table { border: 1px solid #ccc !important }
 
 
 
 
 
415
  .su-table-style-1 th {
416
  border: 1px solid #ccc !important;
417
  background: #f0f0f0 !important;
420
  border: 1px solid #ccc !important;
421
  background: #fff !important;
422
  }
423
+ .su-table-style-1 .su-even td { background: #f7f7f7 !important }
424
+ .su-table-style-2 table { border: none !important }
 
 
 
 
 
425
  .su-table-style-2 th {
426
  border: none !important;
427
  background: #f0f0f0 !important;
430
  border: none !important;
431
  background: #fff !important;
432
  }
433
+ .su-table-style-2 .su-even td { background: #f7f7f7 !important }
434
+ .su-table-style-3 table { border: none !important }
 
 
 
 
 
435
  .su-table-style-3 th {
436
  border: none !important;
437
  border-bottom: 2px solid #666 !important;
441
  border: none !important;
442
  background: #fff !important;
443
  }
444
+ .su-table-style-3 .su-even td { background: #fff !important }
 
 
 
445
  /* Document */
446
+ .su-document { border: none !important }
 
 
 
447
  /* Members */
448
  .su-members {
449
  padding: 1em;
461
  border-bottom: 1px solid #8DC3EB;
462
  background: #D9EEFF;
463
  }
 
464
  /* Guests */
465
+ .su-guests { margin-bottom: 1.5em }
 
 
 
466
  /* Tweets */
467
+ .su-tweets { margin: 0 0 1.5em 0 }
468
+ .su-tweet { }
 
 
469
  .su-tweet-time {
470
  display: block;
471
  margin-top: 0.3em;
497
  -moz-border-radius: 5px;
498
  -webkit-border-radius: 5px;
499
  }
500
+ .su-tweets-style-2 .su-tweet:hover { background: #444 0.4em 0.8em url(../images/tweet-style-2.png) no-repeat }
501
+ .su-tweets-style-2 .su-tweet a { color: #fff }
 
 
 
 
 
502
  /* Custom gallery */
503
+ .su-custom-gallery-style-1 { margin: 0 0 1.5em 0 }
 
 
504
  .su-custom-gallery-style-1 a {
505
  float: left;
506
  display: block;
513
  padding: 0;
514
  border: 2px solid #ccc;
515
  }
 
516
  /* Pricing & plan */
517
+ .su-pricing { margin: 0 0 1.5em 0 }
518
+ .su-plan { float: left }
519
+ .su-pricing-style-1 { text-align: center }
 
 
 
 
 
 
 
520
  .su-pricing-style-1 ul {
521
  margin: 0;
522
  padding: 0;
525
  list-style-type: none;
526
  display: block;
527
  }
 
528
  /* Dropcap */
529
  .su-dropcap {
530
  float: left;
537
  overflow: hidden;
538
  text-transform: uppercase;
539
  }
 
540
  .su-dropcap-style-1 {
541
  background: #333 0 -20px url(../images/dropcap-style-1.png) repeat-x;
542
  color: #f0f0f0;
js/generator.js CHANGED
@@ -10,7 +10,7 @@ jQuery(document).ready(function($) {
10
  });
11
 
12
  // Insert shortcode
13
- $('#su-generator-insert').live('click', function() {
14
  var queried_shortcode = $('#su-generator-select').find(':selected').val();
15
  var su_compatibility_mode_prefix = $('#su-compatibility-mode-prefix').val();
16
  $('#su-generator-result').val('[' + su_compatibility_mode_prefix + queried_shortcode);
@@ -25,8 +25,28 @@ jQuery(document).ready(function($) {
25
  if ( $('#su-generator-content').val() != 'false' ) {
26
  $('#su-generator-result').val($('#su-generator-result').val() + $('#su-generator-content').val() + '[/' + su_compatibility_mode_prefix + queried_shortcode + ']');
27
  }
28
- window.send_to_editor(jQuery('#su-generator-result').val());
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  return false;
30
  });
31
 
 
 
 
 
 
32
  });
10
  });
11
 
12
  // Insert shortcode
13
+ $('#su-generator-insert').live('click', function(event) {
14
  var queried_shortcode = $('#su-generator-select').find(':selected').val();
15
  var su_compatibility_mode_prefix = $('#su-compatibility-mode-prefix').val();
16
  $('#su-generator-result').val('[' + su_compatibility_mode_prefix + queried_shortcode);
25
  if ( $('#su-generator-content').val() != 'false' ) {
26
  $('#su-generator-result').val($('#su-generator-result').val() + $('#su-generator-content').val() + '[/' + su_compatibility_mode_prefix + queried_shortcode + ']');
27
  }
28
+
29
+ var shortcode = jQuery('#su-generator-result').val();
30
+
31
+ // Insert into widget
32
+ if ( typeof window.su_generator_target !== 'undefined' ) {
33
+ jQuery('textarea#' + window.su_generator_target).val( jQuery('textarea#' + window.su_generator_target).val() + shortcode);
34
+ tb_remove();
35
+ }
36
+
37
+ // Insert into editor
38
+ else {
39
+ window.send_to_editor(shortcode);
40
+ }
41
+
42
+ // Prevent default action
43
+ event.preventDefault();
44
  return false;
45
  });
46
 
47
+ // Widget insertion button click
48
+ jQuery('a[data-page="widget"]').live('click',function(event) {
49
+ window.su_generator_target = jQuery(this).attr('data-target');
50
+ });
51
+
52
  });
languages/shortcodes-ultimate-ru_RU.mo CHANGED
Binary file
languages/shortcodes-ultimate-ru_RU.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: gn_themes\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-04-15 15:20+0300\n"
6
- "PO-Revision-Date: 2012-04-15 15:21+0300\n"
7
  "Last-Translator: Vladimir Anokhin <ano.vladimir@gmail.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -14,53 +14,55 @@ msgstr ""
14
  "X-Poedit-SourceCharset: utf-8\n"
15
  "X-Poedit-SearchPath-0: .\n"
16
 
17
- #: shortcodes-ultimate.php:185
18
  #: lib/admin.php:9
19
  #: lib/admin.php:61
 
 
20
  msgid "Shortcodes Ultimate"
21
  msgstr "Шорткоды"
22
 
23
- #: shortcodes-ultimate.php:185
24
  msgid "Vladimir Anokhin"
25
  msgstr "Владимир Анохин"
26
 
27
- #: shortcodes-ultimate.php:185
28
  msgid "Provides support for many easy to use shortcodes"
29
  msgstr "Предоставляет поддержку множества полезных шорткодов"
30
 
31
- #: shortcodes-ultimate.php:281
32
- #: shortcodes-ultimate.php:333
33
  #: lib/admin.php:70
34
  msgid "Settings"
35
  msgstr "Настройки"
36
 
37
- #: shortcodes-ultimate.php:282
38
  msgid "Docs"
39
  msgstr "Документация"
40
 
41
- #: shortcodes-ultimate.php:295
42
  #: lib/admin.php:96
43
  msgid "Settings saved"
44
  msgstr "Настройки сохранены"
45
 
46
- #: shortcodes-ultimate.php:300
47
  #: lib/admin.php:157
48
  msgid "Custom CSS saved"
49
  msgstr "Произвольные стили сохранены"
50
 
51
- #: shortcodes-ultimate.php:308
52
  msgid "Insert shortcode"
53
  msgstr "Вставка шорткода"
54
 
55
- #: shortcodes-ultimate.php:323
56
  msgid "Select shortcode"
57
  msgstr "Выберите шорткод"
58
 
59
- #: shortcodes-ultimate.php:334
60
  msgid "Color picker"
61
  msgstr "Подбор цвета"
62
 
63
- #: shortcodes-ultimate.php:335
64
  #: lib/admin.php:79
65
  msgid "Support forum"
66
  msgstr "Форум поддержки"
@@ -822,48 +824,13 @@ msgstr "имя пользователя не задано"
822
  msgid "no public messages"
823
  msgstr "нет публичных твитов"
824
 
825
- #: lib/widget.php:45
826
- msgid "An example widget that displays a person's name and sex."
827
- msgstr ""
828
-
829
- #: lib/widget.php:51
830
- msgid "Example Widget"
831
- msgstr ""
832
-
833
- #: lib/widget.php:75
834
- #, php-format
835
- msgid "Hello. My name is %1$s."
836
- msgstr ""
837
-
838
- #: lib/widget.php:79
839
- #, php-format
840
- msgid "I am a %1$s."
841
- msgstr ""
842
-
843
- #: lib/widget.php:110
844
- msgid "Example"
845
- msgstr ""
846
 
847
- #: lib/widget.php:110
848
- msgid "John Doe"
849
- msgstr ""
850
-
851
- #: lib/widget.php:115
852
- #, fuzzy
853
  msgid "Title:"
854
- msgstr "Заголовок"
855
-
856
- #: lib/widget.php:121
857
- msgid "Your Name:"
858
- msgstr ""
859
-
860
- #: lib/widget.php:127
861
- msgid "Sex:"
862
- msgstr ""
863
-
864
- #: lib/widget.php:137
865
- msgid "Display sex publicly?"
866
- msgstr ""
867
 
868
  #~ msgid "Disable rounded corners"
869
  #~ msgstr "Отключить скругленные уголки"
2
  msgstr ""
3
  "Project-Id-Version: gn_themes\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-04-18 10:55+0300\n"
6
+ "PO-Revision-Date: 2012-04-18 10:56+0300\n"
7
  "Last-Translator: Vladimir Anokhin <ano.vladimir@gmail.com>\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
14
  "X-Poedit-SourceCharset: utf-8\n"
15
  "X-Poedit-SearchPath-0: .\n"
16
 
17
+ #: shortcodes-ultimate.php:188
18
  #: lib/admin.php:9
19
  #: lib/admin.php:61
20
+ #: lib/widget.php:35
21
+ #: lib/widget.php:83
22
  msgid "Shortcodes Ultimate"
23
  msgstr "Шорткоды"
24
 
25
+ #: shortcodes-ultimate.php:188
26
  msgid "Vladimir Anokhin"
27
  msgstr "Владимир Анохин"
28
 
29
+ #: shortcodes-ultimate.php:188
30
  msgid "Provides support for many easy to use shortcodes"
31
  msgstr "Предоставляет поддержку множества полезных шорткодов"
32
 
33
+ #: shortcodes-ultimate.php:285
34
+ #: shortcodes-ultimate.php:337
35
  #: lib/admin.php:70
36
  msgid "Settings"
37
  msgstr "Настройки"
38
 
39
+ #: shortcodes-ultimate.php:286
40
  msgid "Docs"
41
  msgstr "Документация"
42
 
43
+ #: shortcodes-ultimate.php:299
44
  #: lib/admin.php:96
45
  msgid "Settings saved"
46
  msgstr "Настройки сохранены"
47
 
48
+ #: shortcodes-ultimate.php:304
49
  #: lib/admin.php:157
50
  msgid "Custom CSS saved"
51
  msgstr "Произвольные стили сохранены"
52
 
53
+ #: shortcodes-ultimate.php:312
54
  msgid "Insert shortcode"
55
  msgstr "Вставка шорткода"
56
 
57
+ #: shortcodes-ultimate.php:327
58
  msgid "Select shortcode"
59
  msgstr "Выберите шорткод"
60
 
61
+ #: shortcodes-ultimate.php:338
62
  msgid "Color picker"
63
  msgstr "Подбор цвета"
64
 
65
+ #: shortcodes-ultimate.php:339
66
  #: lib/admin.php:79
67
  msgid "Support forum"
68
  msgstr "Форум поддержки"
824
  msgid "no public messages"
825
  msgstr "нет публичных твитов"
826
 
827
+ #: lib/widget.php:29
828
+ msgid "Special Shortcodes Ultimate widget"
829
+ msgstr "Специальный виджет для вставки шорткодов"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
830
 
831
+ #: lib/widget.php:89
 
 
 
 
 
832
  msgid "Title:"
833
+ msgstr "Заголовок:"
 
 
 
 
 
 
 
 
 
 
 
 
834
 
835
  #~ msgid "Disable rounded corners"
836
  #~ msgstr "Отключить скругленные уголки"
lib/twitter.php CHANGED
@@ -38,10 +38,10 @@
38
  return $return;
39
  }
40
 
41
- define( 'MAGPIE_CACHE_ON', 1 ); //2.7 Cache Bug
42
- define( 'MAGPIE_CACHE_AGE', 900 );
43
- define( 'MAGPIE_INPUT_ENCODING', 'UTF-8' );
44
- define( 'MAGPIE_OUTPUT_ENCODING', 'UTF-8' );
45
 
46
  /**
47
  * Add hyperlinks to tweets
38
  return $return;
39
  }
40
 
41
+ // define( 'MAGPIE_CACHE_ON', 1 ); //2.7 Cache Bug
42
+ // define( 'MAGPIE_CACHE_AGE', 900 );
43
+ // define( 'MAGPIE_INPUT_ENCODING', 'UTF-8' );
44
+ // define( 'MAGPIE_OUTPUT_ENCODING', 'UTF-8' );
45
 
46
  /**
47
  * Add hyperlinks to tweets
lib/widget.php ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Add function to widgets_init that'll load our widget.
4
+ * @since 0.1
5
+ */
6
+ add_action( 'widgets_init', 'shortcodes_ultimate_load_widgets' );
7
+
8
+ /**
9
+ * Register widget
10
+ */
11
+ function shortcodes_ultimate_load_widgets() {
12
+ register_widget( 'Shortcodes_Ultimate_Widget' );
13
+ }
14
+
15
+ /**
16
+ * Example Widget class.
17
+ * This class handles everything that needs to be handled with the widget:
18
+ * the settings, form, display, and update. Nice!
19
+ *
20
+ * @since 0.1
21
+ */
22
+ class Shortcodes_Ultimate_Widget extends WP_Widget {
23
+
24
+ /**
25
+ * Widget setup.
26
+ */
27
+ function Shortcodes_Ultimate_Widget() {
28
+ /* Widget settings. */
29
+ $widget_ops = array( 'classname' => 'shortcodes-ultimate', 'description' => __( 'Special Shortcodes Ultimate widget', 'shortcodes-ultimate' ) );
30
+
31
+ /* Widget control settings. */
32
+ $control_ops = array( 'width' => 300, 'height' => 350, 'id_base' => 'shortcodes-ultimate' );
33
+
34
+ /* Create the widget. */
35
+ $this->WP_Widget( 'shortcodes-ultimate', __( 'Shortcodes Ultimate', 'shortcodes-ultimate' ), $widget_ops, $control_ops );
36
+ }
37
+
38
+ /**
39
+ * How to display the widget on the screen.
40
+ */
41
+ function widget( $args, $instance ) {
42
+ extract( $args );
43
+
44
+ /* Our variables from the widget settings. */
45
+ $title = apply_filters( 'widget_title', $instance['title'] );
46
+ $content = $instance['content'];
47
+
48
+ /* Before widget (defined by themes). */
49
+ echo $before_widget;
50
+
51
+ /* Display the widget title if one was input (before and after defined by themes). */
52
+ if ( $title )
53
+ echo $before_title . $title . $after_title;
54
+
55
+ /* Display name from widget settings if one was input. */
56
+ echo '<div class="textwidget">' . do_shortcode( $content ) . '</div>';
57
+
58
+ /* After widget (defined by themes). */
59
+ echo $after_widget;
60
+ }
61
+
62
+ /**
63
+ * Update the widget settings.
64
+ */
65
+ function update( $new_instance, $old_instance ) {
66
+ $instance = $old_instance;
67
+
68
+ /* Strip tags for title */
69
+ $instance['title'] = strip_tags( $new_instance['title'] );
70
+ $instance['content'] = $new_instance['content'];
71
+
72
+ return $instance;
73
+ }
74
+
75
+ /**
76
+ * Displays the widget settings controls on the widget panel.
77
+ * Make use of the get_field_id() and get_field_name() function
78
+ * when creating your form elements. This handles the confusing stuff.
79
+ */
80
+ function form( $instance ) {
81
+
82
+ /* Set up some default widget settings. */
83
+ $defaults = array( 'title' => __( 'Shortcodes Ultimate', 'shortcodes-ultimate' ), 'content' => '' );
84
+ $instance = wp_parse_args( ( array ) $instance, $defaults );
85
+ ?>
86
+
87
+ <!-- Widget Title: Text Input -->
88
+ <p>
89
+ <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'shortcodes-ultimate' ); ?></label>
90
+ <input type="text" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" class="widefat" />
91
+ </p>
92
+
93
+ <!-- Content: Textarea -->
94
+ <p>
95
+ <?php su_add_generator_button( 'widget', $this->get_field_id( 'content' ) ); ?><br/>
96
+ <textarea name="<?php echo $this->get_field_name( 'content' ); ?>" id="<?php echo $this->get_field_id( 'content' ); ?>" rows="7" class="widefat"><?php echo $instance['content']; ?></textarea>
97
+ </p>
98
+
99
+ <?php
100
+ }
101
+
102
+ }
103
+ ?>
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: 4.0
7
- Stable tag: 3.8.3
8
 
9
  Provides support for multiple useful shortcodes
10
 
@@ -18,22 +18,22 @@ With this plugin you can easily create buttons, boxes, different sliders and muc
18
  * Handy shortcodes generator
19
  * Custom CSS editor with syntax highlight
20
  * Frequently updates
 
21
  * International
22
- * Text widgets support
23
 
24
- = New in this version (SECURITY RELEASE) =
25
- * 2 new translations (Sk, Lt)
26
- * Donate button in control panel
27
- * Updated timthumb.php (version 2.8.10)
28
- * Added 2 useful screencasts
29
 
30
- = How to use =
31
  [youtube http://www.youtube.com/watch?v=Q0jDDIjOKsM]
32
 
33
- = How to use nivo_slider, jcarousel and custom_gallery =
34
- [youtube http://www.youtube.com/watch?v=1QK4cceZrks]
 
 
35
 
36
- = Got a bug? =
37
  * [Support forum](http://wordpress.org/tags/shortcodes-ultimate?forum_id=10)
38
  * [Plugin page](http://gndev.info/shortcodes-ultimate/)
39
  * [Twitter](http://twitter.com/gn_themes)
@@ -84,7 +84,7 @@ This mode adds a prefix to all plugin shortcodes
84
  * etc.
85
 
86
  = Is there WYSIWYG button? =
87
- Search it near Upload/Insert buttons. See screenshots.
88
 
89
  = How to use: nivo_slider, jcarousel, custom_gallery =
90
  With these shortcodes you can create different galleries from attached to post images, or from category posts.
@@ -102,18 +102,24 @@ XX - ID of the post with uploaded images
102
  Way 2: gallery from category
103
 
104
  * Create some posts in some category
105
- * Set the thumbnails of posts
106
  * Use next shortcode on pages, posts or even widgets
107
 
108
- `[nivo_slider source="cat=XX" link="image"]`
109
 
110
  XX - ID of the category with new posts
111
 
 
 
112
  Also, you can use [jcarousel] and [custom_gallery] according these principles.
113
 
114
 
115
  == Changelog ==
116
 
 
 
 
 
117
  = 3.8 (security release) =
118
  * 2 new translations (Sk, Lt)
119
  * Donate button in control panel
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: 4.0
7
+ Stable tag: 3.9.0
8
 
9
  Provides support for multiple useful shortcodes
10
 
18
  * Handy shortcodes generator
19
  * Custom CSS editor with syntax highlight
20
  * Frequently updates
21
+ * Special widget
22
  * International
 
23
 
24
+ = New in this version =
25
+ * More screencasts
26
+ * Special widget for shortcodes
 
 
27
 
28
+ = Demo video =
29
  [youtube http://www.youtube.com/watch?v=Q0jDDIjOKsM]
30
 
31
+ = More videos =
32
+ * [How to use nivo_slider, jcarousel and custom_gallery](http://www.youtube.com/watch?v=1QK4cceZrks)
33
+ * [How to use special widget](http://www.youtube.com/watch?v=YU3Zu6C5ZfA)
34
+ * [Creating jcarousel from category posts](http://www.youtube.com/watch?v=jgDsj_adPqM)
35
 
36
+ = Got a bug or suggestion? =
37
  * [Support forum](http://wordpress.org/tags/shortcodes-ultimate?forum_id=10)
38
  * [Plugin page](http://gndev.info/shortcodes-ultimate/)
39
  * [Twitter](http://twitter.com/gn_themes)
84
  * etc.
85
 
86
  = Is there WYSIWYG button? =
87
+ Search it near Upload/Insert buttons. See [screenshots](http://wordpress.org/extend/plugins/shortcodes-ultimate/screenshots/) or [screecast](http://www.youtube.com/watch?v=Q0jDDIjOKsM)
88
 
89
  = How to use: nivo_slider, jcarousel, custom_gallery =
90
  With these shortcodes you can create different galleries from attached to post images, or from category posts.
102
  Way 2: gallery from category
103
 
104
  * Create some posts in some category
105
+ * Set the post thumbnails
106
  * Use next shortcode on pages, posts or even widgets
107
 
108
+ `[nivo_slider source="cat=XX" link="post"]`
109
 
110
  XX - ID of the category with new posts
111
 
112
+ And here is the [demo video 1](http://www.youtube.com/watch?v=1QK4cceZrks) and [demo video 2](http://www.youtube.com/watch?v=jgDsj_adPqM)
113
+
114
  Also, you can use [jcarousel] and [custom_gallery] according these principles.
115
 
116
 
117
  == Changelog ==
118
 
119
+ = 3.9 =
120
+ * More screencasts
121
+ * Special widget for shortcodes
122
+
123
  = 3.8 (security release) =
124
  * 2 new translations (Sk, Lt)
125
  * Donate button in control panel
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.8.3
6
  Author: Vladimir Anokhin
7
  Author URI: http://gndev.info/
8
  Description: Provides support for many easy to use shortcodes
@@ -11,6 +11,17 @@
11
  License: GPL2
12
  */
13
 
 
 
 
 
 
 
 
 
 
 
 
14
  /**
15
  * Plugin initialization
16
  */
@@ -19,16 +30,6 @@
19
  // Make plugin available for translation
20
  load_plugin_textdomain( 'shortcodes-ultimate', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
21
 
22
- // Load libs
23
- require_once 'lib/available.php';
24
- require_once 'lib/admin.php';
25
- require_once 'lib/color.php';
26
- require_once 'lib/csv.php';
27
- require_once 'lib/media.php';
28
- require_once 'lib/twitter.php';
29
- require_once 'lib/images.php';
30
- require_once 'lib/shortcodes.php';
31
-
32
  // Enable shortcodes in text widgets
33
  add_filter( 'widget_text', 'do_shortcode' );
34
 
@@ -125,13 +126,16 @@
125
  global $pagenow;
126
 
127
  // Pages for including
128
- $su_generator_includes_pages = array( 'post.php', 'edit.php', 'post-new.php', 'index.php', 'edit-tags.php' );
129
 
130
  if ( in_array( $pagenow, $su_generator_includes_pages ) ) {
131
  // Enqueue styles
 
132
  wp_enqueue_style( 'shortcodes-ultimate-generator' );
133
 
134
  // Enqueue scripts
 
 
135
  wp_enqueue_script( 'shortcodes-ultimate-generator' );
136
  }
137
  }
@@ -187,6 +191,7 @@
187
  /*
188
  * Custom shortcode function for nested shortcodes support
189
  */
 
190
  function su_do_shortcode( $content, $modifier ) {
191
  if ( strpos( $content, '[_' ) !== false ) {
192
  $content = preg_replace( '@(\[_*)_(' . $modifier . '|/)@', "$1$2", $content );
@@ -303,8 +308,8 @@
303
  /**
304
  * Add generator button to Upload/Insert buttons
305
  */
306
- function su_add_generator_button() {
307
- echo '<a href="#TB_inline?width=640&height=800&inlineId=su-generator-wrap" class="thickbox" title="' . __( 'Insert shortcode', 'shortcodes-ultimate' ) . '"><img src="' . su_plugin_url() . '/images/admin/media-icon.png" alt="" /></a>';
308
  }
309
 
310
  add_action( 'media_buttons', 'su_add_generator_button', 100 );
@@ -320,9 +325,9 @@
320
  <div id="su-generator-header">
321
  <select id="su-generator-select">
322
  <option value="raw"><?php _e( 'Select shortcode', 'shortcodes-ultimate' ); ?></option>
323
- <?php
324
- foreach ( su_shortcodes() as $name => $shortcode ) {
325
- ?>
326
  <option value="<?php echo $name; ?>"><?php echo strtoupper( $name ); ?>:&nbsp;&nbsp;<?php echo $shortcode['desc']; ?></option>
327
  <?php
328
  }
2
  /*
3
  Plugin Name: Shortcodes Ultimate
4
  Plugin URI: http://gndev.info/shortcodes-ultimate/
5
+ Version: 3.9.0
6
  Author: Vladimir Anokhin
7
  Author URI: http://gndev.info/
8
  Description: Provides support for many easy to use shortcodes
11
  License: GPL2
12
  */
13
 
14
+ // Load libs
15
+ require_once 'lib/available.php';
16
+ require_once 'lib/admin.php';
17
+ require_once 'lib/color.php';
18
+ require_once 'lib/csv.php';
19
+ require_once 'lib/media.php';
20
+ require_once 'lib/twitter.php';
21
+ require_once 'lib/images.php';
22
+ require_once 'lib/shortcodes.php';
23
+ require_once 'lib/widget.php';
24
+
25
  /**
26
  * Plugin initialization
27
  */
30
  // Make plugin available for translation
31
  load_plugin_textdomain( 'shortcodes-ultimate', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
32
 
 
 
 
 
 
 
 
 
 
 
33
  // Enable shortcodes in text widgets
34
  add_filter( 'widget_text', 'do_shortcode' );
35
 
126
  global $pagenow;
127
 
128
  // Pages for including
129
+ $su_generator_includes_pages = array( 'post.php', 'edit.php', 'post-new.php', 'index.php', 'edit-tags.php', 'widgets.php' );
130
 
131
  if ( in_array( $pagenow, $su_generator_includes_pages ) ) {
132
  // Enqueue styles
133
+ wp_enqueue_style( 'thickbox' );
134
  wp_enqueue_style( 'shortcodes-ultimate-generator' );
135
 
136
  // Enqueue scripts
137
+ wp_enqueue_script( 'jquery' );
138
+ wp_enqueue_script( 'thickbox' );
139
  wp_enqueue_script( 'shortcodes-ultimate-generator' );
140
  }
141
  }
191
  /*
192
  * Custom shortcode function for nested shortcodes support
193
  */
194
+
195
  function su_do_shortcode( $content, $modifier ) {
196
  if ( strpos( $content, '[_' ) !== false ) {
197
  $content = preg_replace( '@(\[_*)_(' . $modifier . '|/)@', "$1$2", $content );
308
  /**
309
  * Add generator button to Upload/Insert buttons
310
  */
311
+ function su_add_generator_button( $page = null, $target = null ) {
312
+ echo '<a href="#TB_inline?width=640&height=600&inlineId=su-generator-wrap" class="thickbox" title="' . __( 'Insert shortcode', 'shortcodes-ultimate' ) . '" data-page="' . $page . '" data-target="' . $target . '"><img src="' . su_plugin_url() . '/images/admin/media-icon.png" alt="" /></a>';
313
  }
314
 
315
  add_action( 'media_buttons', 'su_add_generator_button', 100 );
325
  <div id="su-generator-header">
326
  <select id="su-generator-select">
327
  <option value="raw"><?php _e( 'Select shortcode', 'shortcodes-ultimate' ); ?></option>
328
+ <?php
329
+ foreach ( su_shortcodes() as $name => $shortcode ) {
330
+ ?>
331
  <option value="<?php echo $name; ?>"><?php echo strtoupper( $name ); ?>:&nbsp;&nbsp;<?php echo $shortcode['desc']; ?></option>
332
  <?php
333
  }
todo.txt CHANGED
@@ -1,10 +1,2 @@
1
  Shortcode [pricing] + [plan] (pricing tables)
2
- ================================================================================
3
-
4
-
5
- Shortcodes Ultimate special text widget
6
- ================================================================================
7
-
8
-
9
- Gallery styles for visual editor
10
- ================================================================================
1
  Shortcode [pricing] + [plan] (pricing tables)
2
+ Visual styles for editor