Version Description
- New option: disable any script
- New option: disable any stylesheet
- New attribute for column shortcode - style
- New attribute for spoiler shortcode - style
Download this release
Release Info
Developer | gn_themes |
Plugin | Shortcodes Ultimate |
Version | 2.1.0 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 2.1.0
- css/admin.css +5 -0
- css/style.css +8 -18
- languages/shortcodes-ultimate-ru_RU.mo +0 -0
- languages/shortcodes-ultimate-ru_RU.po +115 -84
- lib/admin.php +44 -14
- lib/shortcodes.php +6 -4
- readme.txt +11 -8
- shortcodes-ultimate.php +26 -9
css/admin.css
CHANGED
@@ -6,6 +6,11 @@
|
|
6 |
clear: both;
|
7 |
height: 0;
|
8 |
}
|
|
|
|
|
|
|
|
|
|
|
9 |
.su-onethird-column {
|
10 |
width: 40%;
|
11 |
margin: 0;
|
6 |
clear: both;
|
7 |
height: 0;
|
8 |
}
|
9 |
+
|
10 |
+
.su-warning {
|
11 |
+
color: #f03;
|
12 |
+
}
|
13 |
+
|
14 |
.su-onethird-column {
|
15 |
width: 40%;
|
16 |
margin: 0;
|
css/style.css
CHANGED
@@ -129,19 +129,9 @@
|
|
129 |
.su-column-4-5 { width: 67.2% }
|
130 |
.su-column-1-6 { width: 13.33% }
|
131 |
.su-column-5-6 { width: 82.67% }
|
132 |
-
.su-column
|
133 |
-
.su-column-1-3,
|
134 |
-
.su-column-2-3,
|
135 |
-
.su-column-3-4,
|
136 |
-
.su-column-1-4,
|
137 |
-
.su-column-1-5,
|
138 |
-
.su-column-2-5,
|
139 |
-
.su-column-3-5,
|
140 |
-
.su-column-4-5,
|
141 |
-
.su-column-1-6,
|
142 |
-
.su-column-5-6 {
|
143 |
position: relative;
|
144 |
-
margin
|
145 |
float: left;
|
146 |
}
|
147 |
.su-column-last {
|
@@ -231,14 +221,14 @@
|
|
231 |
|
232 |
/* Lists */
|
233 |
.su-list ul {
|
234 |
-
list-style-type: none;
|
235 |
-
margin: 0.5em 0 1.5em 0.5em;
|
236 |
-
padding: 0;
|
237 |
}
|
238 |
.su-list li {
|
239 |
-
list-style-type: none;
|
240 |
-
display: block;
|
241 |
-
padding: 3px 0 3px 22px;
|
242 |
}
|
243 |
.su-list-style-star li { background: 0 50% url(../images/list-style-star.png) no-repeat }
|
244 |
.su-list-style-arrow li { background: 0 50% url(../images/list-style-arrow.png) no-repeat }
|
129 |
.su-column-4-5 { width: 67.2% }
|
130 |
.su-column-1-6 { width: 13.33% }
|
131 |
.su-column-5-6 { width: 82.67% }
|
132 |
+
.su-column {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
position: relative;
|
134 |
+
margin: 0 4% 1.5em 0;
|
135 |
float: left;
|
136 |
}
|
137 |
.su-column-last {
|
221 |
|
222 |
/* Lists */
|
223 |
.su-list ul {
|
224 |
+
list-style-type: none !important;
|
225 |
+
margin: 0.5em 0 1.5em 0.5em !important;
|
226 |
+
padding: 0 !important;
|
227 |
}
|
228 |
.su-list li {
|
229 |
+
list-style-type: none !important;
|
230 |
+
display: block !important;
|
231 |
+
padding: 3px 0 3px 22px !important;
|
232 |
}
|
233 |
.su-list-style-star li { background: 0 50% url(../images/list-style-star.png) no-repeat }
|
234 |
.su-list-style-arrow li { background: 0 50% url(../images/list-style-arrow.png) no-repeat }
|
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: 2011-05-
|
6 |
-
"PO-Revision-Date: 2011-05-
|
7 |
"Last-Translator: Vladimir Anokhin <ano.vladimir@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -14,265 +14,299 @@ msgstr ""
|
|
14 |
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
16 |
|
17 |
-
#: shortcodes-ultimate.php:
|
18 |
-
#: lib/admin.php:
|
19 |
msgid "Shortcodes Ultimate"
|
20 |
msgstr "Шорткоды"
|
21 |
|
22 |
-
#: shortcodes-ultimate.php:
|
23 |
msgid "Vladimir Anokhin"
|
24 |
msgstr "Владимир Анохин"
|
25 |
|
26 |
-
#: shortcodes-ultimate.php:
|
27 |
msgid "Provides support for many easy to use shortcodes"
|
28 |
msgstr "Предоставляет поддержку множества полезных шорткодов"
|
29 |
|
30 |
-
#: shortcodes-ultimate.php:
|
|
|
31 |
msgid "Settings"
|
32 |
msgstr "Настройки"
|
33 |
|
34 |
-
#: shortcodes-ultimate.php:
|
35 |
-
#: lib/admin.php:
|
36 |
msgid "Settings saved"
|
37 |
msgstr "Настройки сохранены"
|
38 |
|
39 |
-
#: shortcodes-ultimate.php:
|
40 |
-
#: lib/admin.php:
|
41 |
msgid "Custom CSS saved"
|
42 |
msgstr "Произвольные стили сохранены"
|
43 |
|
44 |
#: lib/admin.php:7
|
|
|
45 |
msgid "Shortcodes"
|
46 |
msgstr "Шорткоды"
|
47 |
|
48 |
-
#: lib/admin.php:
|
49 |
msgid "About"
|
50 |
msgstr "О плагине"
|
51 |
|
52 |
-
#: lib/admin.php:
|
53 |
-
msgid "General settings"
|
54 |
-
msgstr "Основные настройки"
|
55 |
-
|
56 |
-
#: lib/admin.php:33
|
57 |
msgid "Custom CSS"
|
58 |
msgstr "Произвольные стили"
|
59 |
|
60 |
-
#: lib/admin.php:
|
61 |
-
msgid "Available shortcodes"
|
62 |
-
msgstr "Список шорткодов"
|
63 |
-
|
64 |
-
#: lib/admin.php:37
|
65 |
msgid "For full functionality of this page it is recommended to enable JavaScript."
|
66 |
msgstr "На этой странице рекомендуется включить Javascript."
|
67 |
|
68 |
-
#: lib/admin.php:
|
69 |
msgid "Instructions"
|
70 |
msgstr "Инструкции"
|
71 |
|
72 |
-
#: lib/admin.php:
|
73 |
msgid "FREE Support"
|
74 |
msgstr "БЕСПЛАТНАЯ поддержка"
|
75 |
|
76 |
-
#: lib/admin.php:
|
77 |
msgid "Support forum"
|
78 |
msgstr "Форум поддержки"
|
79 |
|
80 |
-
#: lib/admin.php:
|
81 |
msgid "Twitter"
|
82 |
msgstr "Твиттер разработчика"
|
83 |
|
84 |
-
#: lib/admin.php:
|
85 |
msgid "Bug report"
|
86 |
msgstr "Сообщить об ошибке"
|
87 |
|
88 |
-
#: lib/admin.php:
|
89 |
msgid "Do you love this plugin?"
|
90 |
msgstr "Вам нравится этот плагин?"
|
91 |
|
92 |
-
#: lib/admin.php:
|
93 |
msgid "Buy author a beer"
|
94 |
msgstr "Купите автору пива"
|
95 |
|
96 |
-
#: lib/admin.php:
|
97 |
msgid "Donate"
|
98 |
msgstr "Сделать пожертвование"
|
99 |
|
100 |
-
#: lib/admin.php:
|
101 |
msgid "Rate this plugin at wordpress.org"
|
102 |
msgstr "Оцените плагин на wordpress.org"
|
103 |
|
104 |
-
#: lib/admin.php:
|
105 |
msgid "5 stars"
|
106 |
msgstr "5 звезд"
|
107 |
|
108 |
-
#: lib/admin.php:
|
109 |
msgid "Review this plugin in your blog"
|
110 |
msgstr "Сделайте обзор этого плагина в своем блоге"
|
111 |
|
112 |
-
#: lib/admin.php:
|
113 |
-
#: lib/admin.php:
|
114 |
msgid "Saving..."
|
115 |
msgstr "Сохранение..."
|
116 |
|
117 |
-
#: lib/admin.php:
|
118 |
msgid "Disable custom formatting"
|
119 |
msgstr "Отключить специальное форматирование"
|
120 |
|
121 |
-
#: lib/admin.php:
|
122 |
msgid "Enable this option if you have some problems with other plugins or content formatting"
|
123 |
msgstr "Отметьте этот флажок, если у вас возникли пролемы совместимости с другими плагинами или форматированием контента"
|
124 |
|
125 |
-
#: lib/admin.php:
|
126 |
msgid "Compatibility mode"
|
127 |
msgstr "Режим совместимости"
|
128 |
|
129 |
-
#: lib/admin.php:
|
130 |
msgid "Enable this option if you have some problems with other plugins that uses similar shortcode names"
|
131 |
msgstr "Отметьте этот флажок, если у вас используются другие шорткоды с такими же именами. Все шорткоды этого плагина будут иметь такие имена"
|
132 |
|
133 |
-
#: lib/admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
msgid "Save settings"
|
135 |
msgstr "Сохранить настройки"
|
136 |
|
137 |
-
#: lib/admin.php:
|
138 |
msgid "You can add custom styles, that will override defaults"
|
139 |
msgstr "Вы можете добавить произвольные стили, которые заменят оригинальные стили для шорткодов"
|
140 |
|
141 |
-
#: lib/admin.php:
|
142 |
msgid "See original styles"
|
143 |
msgstr "Смотреть оригинальные стили"
|
144 |
|
145 |
-
#: lib/admin.php:
|
146 |
msgid "Save styles"
|
147 |
msgstr "Сохранить стили"
|
148 |
|
149 |
-
#: lib/admin.php:
|
150 |
msgid "Shortcode"
|
151 |
msgstr "Шорткоды"
|
152 |
|
153 |
-
#: lib/admin.php:
|
154 |
msgid "Parameters"
|
155 |
msgstr "Параметры"
|
156 |
|
157 |
-
#: lib/admin.php:
|
158 |
msgid "Usage"
|
159 |
msgstr "Пример использования"
|
160 |
|
161 |
-
#: lib/admin.php:107
|
162 |
#: lib/admin.php:137
|
163 |
-
#: lib/admin.php:
|
164 |
-
#: lib/admin.php:
|
165 |
-
#: lib/admin.php:157
|
166 |
#: lib/admin.php:177
|
167 |
-
#: lib/admin.php:
|
168 |
-
#: lib/admin.php:
|
|
|
|
|
169 |
msgid "Content"
|
170 |
msgstr "Содержимое"
|
171 |
|
172 |
-
#: lib/admin.php:
|
173 |
msgid "Tab name"
|
174 |
msgstr "Имя вкладки"
|
175 |
|
176 |
-
#: lib/admin.php:
|
177 |
msgid "Tab content"
|
178 |
msgstr "Содержимое вкладки"
|
179 |
|
180 |
-
#: lib/admin.php:
|
181 |
#: lib/shortcodes.php:82
|
182 |
msgid "Spoiler title"
|
183 |
msgstr "Скрытый текст"
|
184 |
|
185 |
-
#: lib/admin.php:
|
186 |
msgid "Hidden text"
|
187 |
msgstr "Скрытый текст"
|
188 |
|
189 |
-
#: lib/admin.php:126
|
190 |
#: lib/admin.php:156
|
191 |
-
#: lib/admin.php:
|
192 |
#: lib/admin.php:191
|
193 |
-
#: lib/admin.php:
|
194 |
-
#: lib/admin.php:
|
195 |
-
#: lib/admin.php:
|
|
|
196 |
msgid "optional"
|
197 |
msgstr "необяз."
|
198 |
|
199 |
-
#: lib/admin.php:
|
200 |
msgid "See available values"
|
201 |
msgstr "Возможные значения (англ.)"
|
202 |
|
203 |
-
#: lib/admin.php:
|
204 |
msgid "Button text"
|
205 |
msgstr "Текст кнопки"
|
206 |
|
207 |
-
#: lib/admin.php:
|
208 |
msgid "Read more"
|
209 |
msgstr "Подробнее"
|
210 |
|
211 |
-
#: lib/admin.php:
|
212 |
msgid "image url"
|
213 |
msgstr "ссылка на изображение"
|
214 |
|
215 |
-
#: lib/admin.php:
|
216 |
msgid "icon size"
|
217 |
msgstr "размер иконки"
|
218 |
|
219 |
-
#: lib/admin.php:
|
220 |
-
#: lib/shortcodes.php:
|
221 |
msgid "Service name"
|
222 |
msgstr "Название услуги"
|
223 |
|
224 |
-
#: lib/admin.php:
|
225 |
msgid "Service description"
|
226 |
msgstr "Описание услуги"
|
227 |
|
228 |
-
#: lib/admin.php:
|
229 |
msgid "Box title"
|
230 |
msgstr "Заголовок блока"
|
231 |
|
232 |
-
#: lib/admin.php:
|
233 |
msgid "List item"
|
234 |
msgstr "Элемент списка"
|
235 |
|
236 |
-
#: lib/admin.php:
|
237 |
msgid "add this to last columns"
|
238 |
msgstr "добавьте к каждой последней колонке"
|
239 |
|
240 |
-
#: lib/admin.php:
|
241 |
msgid "Plain table"
|
242 |
msgstr "Простая таблица"
|
243 |
|
244 |
-
#: lib/admin.php:
|
245 |
msgid "From CSV"
|
246 |
msgstr "Из CSV-файла"
|
247 |
|
248 |
-
#: lib/admin.php:
|
249 |
msgid "1 second"
|
250 |
msgstr "1 секунда"
|
251 |
|
252 |
-
#: lib/admin.php:
|
253 |
msgid "See filter IDs"
|
254 |
msgstr "Смотреть ID фильтров"
|
255 |
|
256 |
-
#: lib/shortcodes.php:
|
257 |
msgid "Top"
|
258 |
msgstr "Вверх"
|
259 |
|
260 |
-
#: lib/shortcodes.php:
|
261 |
msgid "This is box title"
|
262 |
msgstr "Заголовок блока"
|
263 |
|
264 |
-
#: lib/shortcodes.php:
|
265 |
msgid "Please specify media url"
|
266 |
msgstr "Укажите ссылку на медиа"
|
267 |
|
268 |
-
#: lib/shortcodes.php:
|
269 |
msgid "no attached images, or only one attached image"
|
270 |
msgstr "не найдены загруженные изображения, или изображение всего одно"
|
271 |
|
272 |
-
#: lib/shortcodes.php:
|
273 |
msgid "This menu doesn't exists, or has no elements"
|
274 |
msgstr "Такое меню не существует, или в нем нет ни одного элемента"
|
275 |
|
|
|
|
|
|
|
|
|
|
|
|
|
276 |
#~ msgid "Specify menu name and add elements to menu"
|
277 |
#~ msgstr "Укажите имя меню, или добавьте элементы в укзанное меню"
|
278 |
|
@@ -552,9 +586,6 @@ msgstr "Такое меню не существует, или в нем нет
|
|
552 |
#~ "ссылку на youtube, vimeo или изображение. Также поддерживаются обычные "
|
553 |
#~ "видеофайлы и аудиофайлы. Подробности смотрите в документации"
|
554 |
|
555 |
-
#~ msgid "Description"
|
556 |
-
#~ msgstr "Описание"
|
557 |
-
|
558 |
#~ msgid "Page description for text teaser (top of page)"
|
559 |
#~ msgstr "Описание страницы для небольшого заголовка вверху страницы"
|
560 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: gn_themes\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2011-05-13 17:33+0300\n"
|
6 |
+
"PO-Revision-Date: 2011-05-13 17:34+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:177
|
18 |
+
#: lib/admin.php:26
|
19 |
msgid "Shortcodes Ultimate"
|
20 |
msgstr "Шорткоды"
|
21 |
|
22 |
+
#: shortcodes-ultimate.php:177
|
23 |
msgid "Vladimir Anokhin"
|
24 |
msgstr "Владимир Анохин"
|
25 |
|
26 |
+
#: shortcodes-ultimate.php:177
|
27 |
msgid "Provides support for many easy to use shortcodes"
|
28 |
msgstr "Предоставляет поддержку множества полезных шорткодов"
|
29 |
|
30 |
+
#: shortcodes-ultimate.php:263
|
31 |
+
#: lib/admin.php:35
|
32 |
msgid "Settings"
|
33 |
msgstr "Настройки"
|
34 |
|
35 |
+
#: shortcodes-ultimate.php:276
|
36 |
+
#: lib/admin.php:60
|
37 |
msgid "Settings saved"
|
38 |
msgstr "Настройки сохранены"
|
39 |
|
40 |
+
#: shortcodes-ultimate.php:281
|
41 |
+
#: lib/admin.php:117
|
42 |
msgid "Custom CSS saved"
|
43 |
msgstr "Произвольные стили сохранены"
|
44 |
|
45 |
#: lib/admin.php:7
|
46 |
+
#: lib/admin.php:37
|
47 |
msgid "Shortcodes"
|
48 |
msgstr "Шорткоды"
|
49 |
|
50 |
+
#: lib/admin.php:34
|
51 |
msgid "About"
|
52 |
msgstr "О плагине"
|
53 |
|
54 |
+
#: lib/admin.php:36
|
|
|
|
|
|
|
|
|
55 |
msgid "Custom CSS"
|
56 |
msgstr "Произвольные стили"
|
57 |
|
58 |
+
#: lib/admin.php:40
|
|
|
|
|
|
|
|
|
59 |
msgid "For full functionality of this page it is recommended to enable JavaScript."
|
60 |
msgstr "На этой странице рекомендуется включить Javascript."
|
61 |
|
62 |
+
#: lib/admin.php:40
|
63 |
msgid "Instructions"
|
64 |
msgstr "Инструкции"
|
65 |
|
66 |
+
#: lib/admin.php:42
|
67 |
msgid "FREE Support"
|
68 |
msgstr "БЕСПЛАТНАЯ поддержка"
|
69 |
|
70 |
+
#: lib/admin.php:43
|
71 |
msgid "Support forum"
|
72 |
msgstr "Форум поддержки"
|
73 |
|
74 |
+
#: lib/admin.php:44
|
75 |
msgid "Twitter"
|
76 |
msgstr "Твиттер разработчика"
|
77 |
|
78 |
+
#: lib/admin.php:45
|
79 |
msgid "Bug report"
|
80 |
msgstr "Сообщить об ошибке"
|
81 |
|
82 |
+
#: lib/admin.php:49
|
83 |
msgid "Do you love this plugin?"
|
84 |
msgstr "Вам нравится этот плагин?"
|
85 |
|
86 |
+
#: lib/admin.php:50
|
87 |
msgid "Buy author a beer"
|
88 |
msgstr "Купите автору пива"
|
89 |
|
90 |
+
#: lib/admin.php:50
|
91 |
msgid "Donate"
|
92 |
msgstr "Сделать пожертвование"
|
93 |
|
94 |
+
#: lib/admin.php:51
|
95 |
msgid "Rate this plugin at wordpress.org"
|
96 |
msgstr "Оцените плагин на wordpress.org"
|
97 |
|
98 |
+
#: lib/admin.php:51
|
99 |
msgid "5 stars"
|
100 |
msgstr "5 звезд"
|
101 |
|
102 |
+
#: lib/admin.php:52
|
103 |
msgid "Review this plugin in your blog"
|
104 |
msgstr "Сделайте обзор этого плагина в своем блоге"
|
105 |
|
106 |
+
#: lib/admin.php:59
|
107 |
+
#: lib/admin.php:116
|
108 |
msgid "Saving..."
|
109 |
msgstr "Сохранение..."
|
110 |
|
111 |
+
#: lib/admin.php:64
|
112 |
msgid "Disable custom formatting"
|
113 |
msgstr "Отключить специальное форматирование"
|
114 |
|
115 |
+
#: lib/admin.php:67
|
116 |
msgid "Enable this option if you have some problems with other plugins or content formatting"
|
117 |
msgstr "Отметьте этот флажок, если у вас возникли пролемы совместимости с другими плагинами или форматированием контента"
|
118 |
|
119 |
+
#: lib/admin.php:72
|
120 |
msgid "Compatibility mode"
|
121 |
msgstr "Режим совместимости"
|
122 |
|
123 |
+
#: lib/admin.php:75
|
124 |
msgid "Enable this option if you have some problems with other plugins that uses similar shortcode names"
|
125 |
msgstr "Отметьте этот флажок, если у вас используются другие шорткоды с такими же именами. Все шорткоды этого плагина будут иметь такие имена"
|
126 |
|
127 |
+
#: lib/admin.php:75
|
128 |
+
msgid "Forum topic"
|
129 |
+
msgstr "Тема на форуме (англ.)"
|
130 |
+
|
131 |
+
#: lib/admin.php:79
|
132 |
+
msgid "Disable scripts"
|
133 |
+
msgstr "Отключить скрипты"
|
134 |
+
|
135 |
+
#: lib/admin.php:83
|
136 |
+
#: lib/admin.php:84
|
137 |
+
#: lib/admin.php:85
|
138 |
+
#: lib/admin.php:86
|
139 |
+
#: lib/admin.php:97
|
140 |
+
#: lib/admin.php:98
|
141 |
+
msgid "Disable"
|
142 |
+
msgstr "Отключить"
|
143 |
+
|
144 |
+
#: lib/admin.php:89
|
145 |
+
msgid "Check scripts, that you want to exclude form wp_head section"
|
146 |
+
msgstr "Отметьте скрипты, которые вы хотите исключить в wp_head"
|
147 |
+
|
148 |
+
#: lib/admin.php:89
|
149 |
+
#: lib/admin.php:101
|
150 |
+
msgid "Be careful with this settings!"
|
151 |
+
msgstr "Будьте осторожны с этими настройками!"
|
152 |
+
|
153 |
+
#: lib/admin.php:93
|
154 |
+
msgid "Disable styles"
|
155 |
+
msgstr "Отключить файлы стилей"
|
156 |
+
|
157 |
+
#: lib/admin.php:101
|
158 |
+
msgid "Check stylesheets, that you want to exclude form wp_head section"
|
159 |
+
msgstr "Отметьте файлы стилей, которые вы хотите исключить в wp_head"
|
160 |
+
|
161 |
+
#: lib/admin.php:107
|
162 |
msgid "Save settings"
|
163 |
msgstr "Сохранить настройки"
|
164 |
|
165 |
+
#: lib/admin.php:118
|
166 |
msgid "You can add custom styles, that will override defaults"
|
167 |
msgstr "Вы можете добавить произвольные стили, которые заменят оригинальные стили для шорткодов"
|
168 |
|
169 |
+
#: lib/admin.php:119
|
170 |
msgid "See original styles"
|
171 |
msgstr "Смотреть оригинальные стили"
|
172 |
|
173 |
+
#: lib/admin.php:122
|
174 |
msgid "Save styles"
|
175 |
msgstr "Сохранить стили"
|
176 |
|
177 |
+
#: lib/admin.php:130
|
178 |
msgid "Shortcode"
|
179 |
msgstr "Шорткоды"
|
180 |
|
181 |
+
#: lib/admin.php:131
|
182 |
msgid "Parameters"
|
183 |
msgstr "Параметры"
|
184 |
|
185 |
+
#: lib/admin.php:132
|
186 |
msgid "Usage"
|
187 |
msgstr "Пример использования"
|
188 |
|
|
|
189 |
#: lib/admin.php:137
|
190 |
+
#: lib/admin.php:167
|
191 |
+
#: lib/admin.php:172
|
|
|
192 |
#: lib/admin.php:177
|
193 |
+
#: lib/admin.php:187
|
194 |
+
#: lib/admin.php:207
|
195 |
+
#: lib/admin.php:212
|
196 |
+
#: lib/admin.php:237
|
197 |
msgid "Content"
|
198 |
msgstr "Содержимое"
|
199 |
|
200 |
+
#: lib/admin.php:147
|
201 |
msgid "Tab name"
|
202 |
msgstr "Имя вкладки"
|
203 |
|
204 |
+
#: lib/admin.php:147
|
205 |
msgid "Tab content"
|
206 |
msgstr "Содержимое вкладки"
|
207 |
|
208 |
+
#: lib/admin.php:152
|
209 |
#: lib/shortcodes.php:82
|
210 |
msgid "Spoiler title"
|
211 |
msgstr "Скрытый текст"
|
212 |
|
213 |
+
#: lib/admin.php:152
|
214 |
msgid "Hidden text"
|
215 |
msgstr "Скрытый текст"
|
216 |
|
|
|
217 |
#: lib/admin.php:156
|
218 |
+
#: lib/admin.php:186
|
219 |
#: lib/admin.php:191
|
220 |
+
#: lib/admin.php:226
|
221 |
+
#: lib/admin.php:231
|
222 |
+
#: lib/admin.php:241
|
223 |
+
#: lib/admin.php:251
|
224 |
msgid "optional"
|
225 |
msgstr "необяз."
|
226 |
|
227 |
+
#: lib/admin.php:181
|
228 |
msgid "See available values"
|
229 |
msgstr "Возможные значения (англ.)"
|
230 |
|
231 |
+
#: lib/admin.php:192
|
232 |
msgid "Button text"
|
233 |
msgstr "Текст кнопки"
|
234 |
|
235 |
+
#: lib/admin.php:197
|
236 |
msgid "Read more"
|
237 |
msgstr "Подробнее"
|
238 |
|
239 |
+
#: lib/admin.php:201
|
240 |
msgid "image url"
|
241 |
msgstr "ссылка на изображение"
|
242 |
|
243 |
+
#: lib/admin.php:201
|
244 |
msgid "icon size"
|
245 |
msgstr "размер иконки"
|
246 |
|
247 |
+
#: lib/admin.php:202
|
248 |
+
#: lib/shortcodes.php:302
|
249 |
msgid "Service name"
|
250 |
msgstr "Название услуги"
|
251 |
|
252 |
+
#: lib/admin.php:202
|
253 |
msgid "Service description"
|
254 |
msgstr "Описание услуги"
|
255 |
|
256 |
+
#: lib/admin.php:207
|
257 |
msgid "Box title"
|
258 |
msgstr "Заголовок блока"
|
259 |
|
260 |
+
#: lib/admin.php:217
|
261 |
msgid "List item"
|
262 |
msgstr "Элемент списка"
|
263 |
|
264 |
+
#: lib/admin.php:236
|
265 |
msgid "add this to last columns"
|
266 |
msgstr "добавьте к каждой последней колонке"
|
267 |
|
268 |
+
#: lib/admin.php:242
|
269 |
msgid "Plain table"
|
270 |
msgstr "Простая таблица"
|
271 |
|
272 |
+
#: lib/admin.php:242
|
273 |
msgid "From CSV"
|
274 |
msgstr "Из CSV-файла"
|
275 |
|
276 |
+
#: lib/admin.php:251
|
277 |
msgid "1 second"
|
278 |
msgstr "1 секунда"
|
279 |
|
280 |
+
#: lib/admin.php:256
|
281 |
msgid "See filter IDs"
|
282 |
msgstr "Смотреть ID фильтров"
|
283 |
|
284 |
+
#: lib/shortcodes.php:101
|
285 |
msgid "Top"
|
286 |
msgstr "Вверх"
|
287 |
|
288 |
+
#: lib/shortcodes.php:320
|
289 |
msgid "This is box title"
|
290 |
msgstr "Заголовок блока"
|
291 |
|
292 |
+
#: lib/shortcodes.php:369
|
293 |
msgid "Please specify media url"
|
294 |
msgstr "Укажите ссылку на медиа"
|
295 |
|
296 |
+
#: lib/shortcodes.php:493
|
297 |
msgid "no attached images, or only one attached image"
|
298 |
msgstr "не найдены загруженные изображения, или изображение всего одно"
|
299 |
|
300 |
+
#: lib/shortcodes.php:605
|
301 |
msgid "This menu doesn't exists, or has no elements"
|
302 |
msgstr "Такое меню не существует, или в нем нет ни одного элемента"
|
303 |
|
304 |
+
#~ msgid "General settings"
|
305 |
+
#~ msgstr "Основные настройки"
|
306 |
+
|
307 |
+
#~ msgid "Available shortcodes"
|
308 |
+
#~ msgstr "Список шорткодов"
|
309 |
+
|
310 |
#~ msgid "Specify menu name and add elements to menu"
|
311 |
#~ msgstr "Укажите имя меню, или добавьте элементы в укзанное меню"
|
312 |
|
586 |
#~ "ссылку на youtube, vimeo или изображение. Также поддерживаются обычные "
|
587 |
#~ "видеофайлы и аудиофайлы. Подробности смотрите в документации"
|
588 |
|
|
|
|
|
|
|
589 |
#~ msgid "Page description for text teaser (top of page)"
|
590 |
#~ msgstr "Описание страницы для небольшого заголовка вверху страницы"
|
591 |
|
lib/admin.php
CHANGED
@@ -12,8 +12,11 @@
|
|
12 |
*/
|
13 |
function shortcodes_ultimate_admin_page() {
|
14 |
|
15 |
-
$
|
16 |
-
$
|
|
|
|
|
|
|
17 |
?>
|
18 |
|
19 |
<!-- .wrap -->
|
@@ -29,9 +32,9 @@
|
|
29 |
|
30 |
<div id="su-tabs">
|
31 |
<a class="su-current"><span><?php _e( 'About', 'shortcodes-ultimate' ); ?></span></a>
|
32 |
-
<a><span><?php _e( '
|
33 |
<a><span><?php _e( 'Custom CSS', 'shortcodes-ultimate' ); ?></span></a>
|
34 |
-
<a><span><?php _e( '
|
35 |
</div>
|
36 |
<div class="su-pane">
|
37 |
<p class="su-message su-message-error"><?php _e( 'For full functionality of this page it is recommended to enable JavaScript.', 'shortcodes-ultimate' ); ?> <a href="http://www.enable-javascript.com/" target="_blank"><?php _e( 'Instructions', 'shortcodes-ultimate' ); ?></a></p>
|
@@ -58,7 +61,7 @@
|
|
58 |
<table class="fixed">
|
59 |
<tr>
|
60 |
<td>
|
61 |
-
<p><label><input type="checkbox" name="su_disable_custom_formatting" <?php echo $
|
62 |
</td>
|
63 |
<td>
|
64 |
<p><small><?php _e( 'Enable this option if you have some problems with other plugins or content formatting', 'shortcodes-ultimate' ); ?></small></p>
|
@@ -66,12 +69,39 @@
|
|
66 |
</tr>
|
67 |
<tr>
|
68 |
<td>
|
69 |
-
<p><label><input type="checkbox" name="su_compatibility_mode" <?php echo $
|
70 |
</td>
|
71 |
<td>
|
72 |
-
<p><small><?php _e( 'Enable this option if you have some problems with other plugins that uses similar shortcode names', 'shortcodes-ultimate' ); ?><br/><code>[button] => [gn_button]</code></small></p>
|
73 |
</td>
|
74 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
<tr>
|
76 |
<td colspan="2">
|
77 |
<input type="submit" value="<?php _e( 'Save settings', 'shortcodes-ultimate' ); ?>" class="button-primary" />
|
@@ -111,7 +141,7 @@
|
|
111 |
<td>align="left|center|none|right"</td>
|
112 |
<td>[frame align="center"] <img src="image.jpg" alt="" /> [/frame]</td>
|
113 |
</tr>
|
114 |
-
<tr
|
115 |
<td>tabs, tab</td>
|
116 |
<td>style="1|2" (tabs)<br/>title (tab)</td>
|
117 |
<td>[tabs style="1"] [tab title="<?php _e( 'Tab name', 'shortcodes-ultimate' ); ?>"] <?php _e( 'Tab content', 'shortcodes-ultimate' ); ?> [/tab] [/tabs]</td>
|
@@ -156,7 +186,7 @@
|
|
156 |
<td>p - post/page ID<br/>target="self|blank" (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)</td>
|
157 |
<td>[permalink p=52]<br/>[permalink p="52" target="blank"] <?php _e( 'Content', 'shortcodes-ultimate' ); ?> [/permalink]</td>
|
158 |
</tr>
|
159 |
-
<tr
|
160 |
<td>button</td>
|
161 |
<td>link<br/>color="#HEX"<br/>size="1-12"<br/>style="1|2|3|4"<br/>dark (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)<br/>square (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)<br/>icon (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)<br/>class (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)<br/>target="self|blank"</td>
|
162 |
<td>[button link="#" color="#b00" size="3" style="3" dark="1" square="1" icon="image.png"] <?php _e( 'Button text', 'shortcodes-ultimate' ); ?> [/button]</td>
|
@@ -186,24 +216,24 @@
|
|
186 |
<td>style="star|arrow|check|cross|thumbs|link|gear|time|note|plus|guard|event|idea|settings|twitter"</td>
|
187 |
<td>[list style="check"] <ul> <li> <?php _e( 'List item', 'shortcodes-ultimate' ); ?> </li> </ul> [/list]</td>
|
188 |
</tr>
|
189 |
-
<tr
|
190 |
<td>menu</td>
|
191 |
<td>name</td>
|
192 |
<td>[menu name="Main menu"]</td>
|
193 |
</tr>
|
194 |
-
<tr
|
195 |
<td>subpages</td>
|
196 |
<td>depth (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)</td>
|
197 |
<td>[subpages]<br/>[subpages depth="2"]</td>
|
198 |
</tr>
|
199 |
-
<tr
|
200 |
<td>siblings</td>
|
201 |
<td>depth (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)</td>
|
202 |
<td>[siblings]<br/>[siblings depth="2"]</td>
|
203 |
</tr>
|
204 |
-
<tr>
|
205 |
<td>column</td>
|
206 |
-
<td>size="1-2|1-3|1-4|1-5|1-6|2-3|3-4|2-5|3-5|4-5|5-6"<br/>last (<?php _e( 'add this to last columns', 'shortcodes-ultimate' ); ?>)</td>
|
207 |
<td>[column size="1-2"] <?php _e( 'Content', 'shortcodes-ultimate' ); ?> [/column]<br/>[column size="1-2" last="1"] <?php _e( 'Content', 'shortcodes-ultimate' ); ?> [/column]</td>
|
208 |
</tr>
|
209 |
<tr>
|
12 |
*/
|
13 |
function shortcodes_ultimate_admin_page() {
|
14 |
|
15 |
+
$checked = ' checked="checked"';
|
16 |
+
$disabled_formatting = ( get_option( 'su_disable_custom_formatting' ) == 'on' ) ? $checked : '';
|
17 |
+
$disabled_compatibility = ( get_option( 'su_compatibility_mode' ) == 'on' ) ? $checked : '';
|
18 |
+
$disabled_scripts = get_option( 'su_disabled_scripts' );
|
19 |
+
$disabled_styles = get_option( 'su_disabled_styles' );
|
20 |
?>
|
21 |
|
22 |
<!-- .wrap -->
|
32 |
|
33 |
<div id="su-tabs">
|
34 |
<a class="su-current"><span><?php _e( 'About', 'shortcodes-ultimate' ); ?></span></a>
|
35 |
+
<a><span><?php _e( 'Settings', 'shortcodes-ultimate' ); ?></span></a>
|
36 |
<a><span><?php _e( 'Custom CSS', 'shortcodes-ultimate' ); ?></span></a>
|
37 |
+
<a><span><?php _e( 'Shortcodes', 'shortcodes-ultimate' ); ?></span></a>
|
38 |
</div>
|
39 |
<div class="su-pane">
|
40 |
<p class="su-message su-message-error"><?php _e( 'For full functionality of this page it is recommended to enable JavaScript.', 'shortcodes-ultimate' ); ?> <a href="http://www.enable-javascript.com/" target="_blank"><?php _e( 'Instructions', 'shortcodes-ultimate' ); ?></a></p>
|
61 |
<table class="fixed">
|
62 |
<tr>
|
63 |
<td>
|
64 |
+
<p><label><input type="checkbox" name="su_disable_custom_formatting" <?php echo $disabled_formatting; ?> /> <?php _e( 'Disable custom formatting', 'shortcodes-ultimate' ); ?></label></p>
|
65 |
</td>
|
66 |
<td>
|
67 |
<p><small><?php _e( 'Enable this option if you have some problems with other plugins or content formatting', 'shortcodes-ultimate' ); ?></small></p>
|
69 |
</tr>
|
70 |
<tr>
|
71 |
<td>
|
72 |
+
<p><label><input type="checkbox" name="su_compatibility_mode" <?php echo $disabled_compatibility; ?> /> <?php _e( 'Compatibility mode', 'shortcodes-ultimate' ); ?></label></p>
|
73 |
</td>
|
74 |
<td>
|
75 |
+
<p><small><?php _e( 'Enable this option if you have some problems with other plugins that uses similar shortcode names', 'shortcodes-ultimate' ); ?><br/><code>[button] => [gn_button]</code><br/><a href="http://wordpress.org/support/topic/plugin-shortcodes-ultimate-shortcode-within-a-shortcode?replies=8#post-2081166" target="_blank"><?php _e( 'Forum topic', 'shortcodes-ultimate' ); ?></a></small></p>
|
76 |
</td>
|
77 |
</tr>
|
78 |
+
<tr>
|
79 |
+
<td colspan="2"><h4><?php _e( 'Disable scripts', 'shortcodes-ultimate' ); ?></h4></td>
|
80 |
+
</tr>
|
81 |
+
<tr>
|
82 |
+
<td>
|
83 |
+
<p><label><input type="checkbox" name="su_disabled_scripts[jquery]" <?php echo ( isset( $disabled_scripts['jquery'] ) ) ? $checked : ''; ?> /> <?php _e( 'Disable', 'shortcodes-ultimate' ); ?> jQuery</label></p>
|
84 |
+
<p><label><input type="checkbox" name="su_disabled_scripts[nivo-slider]" <?php echo ( isset( $disabled_scripts['nivo-slider'] ) ) ? $checked : ''; ?> /> <?php _e( 'Disable', 'shortcodes-ultimate' ); ?> Nivo Slider</label></p>
|
85 |
+
<p><label><input type="checkbox" name="su_disabled_scripts[jwplayer]" <?php echo ( isset( $disabled_scripts['jwplayer'] ) ) ? $checked : ''; ?> /> <?php _e( 'Disable', 'shortcodes-ultimate' ); ?> JW Player</label></p>
|
86 |
+
<p><label><input type="checkbox" name="su_disabled_scripts[init]" <?php echo ( isset( $disabled_scripts['init'] ) ) ? $checked : ''; ?> /> <?php _e( 'Disable', 'shortcodes-ultimate' ); ?> Init</label></p>
|
87 |
+
</td>
|
88 |
+
<td>
|
89 |
+
<p><small><?php _e( 'Check scripts, that you want to exclude form wp_head section', 'shortcodes-ultimate' ); ?><br/><span class="su-warning"><?php _e( 'Be careful with this settings!', 'shortcodes-ultimate' ); ?></span></small></p>
|
90 |
+
</td>
|
91 |
+
</tr>
|
92 |
+
<tr>
|
93 |
+
<td colspan="2"><h4><?php _e( 'Disable styles', 'shortcodes-ultimate' ); ?></h4></td>
|
94 |
+
</tr>
|
95 |
+
<tr>
|
96 |
+
<td>
|
97 |
+
<p><label><input type="checkbox" name="su_disabled_styles[nivo-slider]" <?php echo ( isset( $disabled_styles['nivo-slider'] ) ) ? $checked : ''; ?> /> <?php _e( 'Disable', 'shortcodes-ultimate' ); ?> <code>nivo-slider.css</code></label></p>
|
98 |
+
<p><label><input type="checkbox" name="su_disabled_styles[style]" <?php echo ( isset( $disabled_styles['style'] ) ) ? $checked : ''; ?> /> <?php _e( 'Disable', 'shortcodes-ultimate' ); ?> <code>style.css</code></label></p>
|
99 |
+
</td>
|
100 |
+
<td>
|
101 |
+
<p><small><?php _e( 'Check stylesheets, that you want to exclude form wp_head section', 'shortcodes-ultimate' ); ?><br/><span class="su-warning"><?php _e( 'Be careful with this settings!', 'shortcodes-ultimate' ); ?></span></small></p>
|
102 |
+
</td>
|
103 |
+
</tr>
|
104 |
+
<tr><td><br/></td><td><br/></td></tr>
|
105 |
<tr>
|
106 |
<td colspan="2">
|
107 |
<input type="submit" value="<?php _e( 'Save settings', 'shortcodes-ultimate' ); ?>" class="button-primary" />
|
141 |
<td>align="left|center|none|right"</td>
|
142 |
<td>[frame align="center"] <img src="image.jpg" alt="" /> [/frame]</td>
|
143 |
</tr>
|
144 |
+
<tr>
|
145 |
<td>tabs, tab</td>
|
146 |
<td>style="1|2" (tabs)<br/>title (tab)</td>
|
147 |
<td>[tabs style="1"] [tab title="<?php _e( 'Tab name', 'shortcodes-ultimate' ); ?>"] <?php _e( 'Tab content', 'shortcodes-ultimate' ); ?> [/tab] [/tabs]</td>
|
186 |
<td>p - post/page ID<br/>target="self|blank" (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)</td>
|
187 |
<td>[permalink p=52]<br/>[permalink p="52" target="blank"] <?php _e( 'Content', 'shortcodes-ultimate' ); ?> [/permalink]</td>
|
188 |
</tr>
|
189 |
+
<tr>
|
190 |
<td>button</td>
|
191 |
<td>link<br/>color="#HEX"<br/>size="1-12"<br/>style="1|2|3|4"<br/>dark (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)<br/>square (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)<br/>icon (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)<br/>class (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)<br/>target="self|blank"</td>
|
192 |
<td>[button link="#" color="#b00" size="3" style="3" dark="1" square="1" icon="image.png"] <?php _e( 'Button text', 'shortcodes-ultimate' ); ?> [/button]</td>
|
216 |
<td>style="star|arrow|check|cross|thumbs|link|gear|time|note|plus|guard|event|idea|settings|twitter"</td>
|
217 |
<td>[list style="check"] <ul> <li> <?php _e( 'List item', 'shortcodes-ultimate' ); ?> </li> </ul> [/list]</td>
|
218 |
</tr>
|
219 |
+
<tr>
|
220 |
<td>menu</td>
|
221 |
<td>name</td>
|
222 |
<td>[menu name="Main menu"]</td>
|
223 |
</tr>
|
224 |
+
<tr>
|
225 |
<td>subpages</td>
|
226 |
<td>depth (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)</td>
|
227 |
<td>[subpages]<br/>[subpages depth="2"]</td>
|
228 |
</tr>
|
229 |
+
<tr>
|
230 |
<td>siblings</td>
|
231 |
<td>depth (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)</td>
|
232 |
<td>[siblings]<br/>[siblings depth="2"]</td>
|
233 |
</tr>
|
234 |
+
<tr class="su-new-shortcode">
|
235 |
<td>column</td>
|
236 |
+
<td>size="1-2|1-3|1-4|1-5|1-6|2-3|3-4|2-5|3-5|4-5|5-6"<br/>last (<?php _e( 'add this to last columns', 'shortcodes-ultimate' ); ?>)<br/>style="0|1|2|...|n"</td>
|
237 |
<td>[column size="1-2"] <?php _e( 'Content', 'shortcodes-ultimate' ); ?> [/column]<br/>[column size="1-2" last="1"] <?php _e( 'Content', 'shortcodes-ultimate' ); ?> [/column]</td>
|
238 |
</tr>
|
239 |
<tr>
|
lib/shortcodes.php
CHANGED
@@ -79,10 +79,11 @@
|
|
79 |
*/
|
80 |
function su_spoiler_shortcode( $atts, $content = null ) {
|
81 |
extract( shortcode_atts( array(
|
82 |
-
'title' => __( 'Spoiler title', 'shortcodes-ultimate' )
|
|
|
83 |
), $atts ) );
|
84 |
|
85 |
-
return '<div class="su-spoiler su-spoiler-open"><div class="su-spoiler-title">' . $title . '</div><div class="su-spoiler-content">' . do_shortcode( $content ) . '</div></div>';
|
86 |
}
|
87 |
|
88 |
/**
|
@@ -141,10 +142,11 @@
|
|
141 |
function su_column_shortcode( $atts, $content = null ) {
|
142 |
extract( shortcode_atts( array(
|
143 |
'size' => '1-2',
|
144 |
-
'last' => false
|
|
|
145 |
), $atts ) );
|
146 |
|
147 |
-
return ( $last ) ? '<div class="su-column su-column-' . $size . ' su-column-last">' . do_shortcode( $content ) . '</div><div class="su-spacer
|
148 |
}
|
149 |
|
150 |
/**
|
79 |
*/
|
80 |
function su_spoiler_shortcode( $atts, $content = null ) {
|
81 |
extract( shortcode_atts( array(
|
82 |
+
'title' => __( 'Spoiler title', 'shortcodes-ultimate' ),
|
83 |
+
'style' => 0
|
84 |
), $atts ) );
|
85 |
|
86 |
+
return '<div class="su-spoiler su-spoiler-open su-spoiler-style-' . $style . '"><div class="su-spoiler-title">' . $title . '</div><div class="su-spoiler-content">' . do_shortcode( $content ) . '</div></div>';
|
87 |
}
|
88 |
|
89 |
/**
|
142 |
function su_column_shortcode( $atts, $content = null ) {
|
143 |
extract( shortcode_atts( array(
|
144 |
'size' => '1-2',
|
145 |
+
'last' => false,
|
146 |
+
'style' => 0
|
147 |
), $atts ) );
|
148 |
|
149 |
+
return ( $last ) ? '<div class="su-column su-column-' . $size . ' su-column-last su-column-style-' . $style . '">' . do_shortcode( $content ) . '</div><div class="su-spacer"></div>' : '<div class="su-column su-column-' . $size . ' su-column-style-' . $style . '">' . do_shortcode( $content ) . '</div>';
|
150 |
}
|
151 |
|
152 |
/**
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://ilovecode.ru/
|
|
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
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.2
|
7 |
-
Stable tag: 2.0
|
8 |
|
9 |
Provides support for multiple useful shortcodes
|
10 |
|
@@ -12,13 +12,10 @@ Provides support for multiple useful shortcodes
|
|
12 |
== Description ==
|
13 |
|
14 |
= In this version =
|
15 |
-
* New
|
16 |
-
* New
|
17 |
-
* New shortcode
|
18 |
-
*
|
19 |
-
* New button attribute - class
|
20 |
-
* New button attribute - target
|
21 |
-
* Different tabs styles (1 old + 1 new)
|
22 |
|
23 |
With this plugin you can easily add buttons, dividers, spacers, boxes, notes and much more
|
24 |
= Complete list of available shortcodes =
|
@@ -81,6 +78,12 @@ See your dashboard
|
|
81 |
|
82 |
== Changelog ==
|
83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
= 2.0.0 =
|
85 |
* New shortcode: menu
|
86 |
* New shortcode: subpages
|
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
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.2
|
7 |
+
Stable tag: 2.1.0
|
8 |
|
9 |
Provides support for multiple useful shortcodes
|
10 |
|
12 |
== Description ==
|
13 |
|
14 |
= In this version =
|
15 |
+
* New option: disable any script
|
16 |
+
* New option: disable any stylesheet
|
17 |
+
* New attribute for column shortcode - style
|
18 |
+
* New attribute for spoiler shortcode - style
|
|
|
|
|
|
|
19 |
|
20 |
With this plugin you can easily add buttons, dividers, spacers, boxes, notes and much more
|
21 |
= Complete list of available shortcodes =
|
78 |
|
79 |
== Changelog ==
|
80 |
|
81 |
+
= 2.1.0 =
|
82 |
+
* New option: disable any script
|
83 |
+
* New option: disable any stylesheet
|
84 |
+
* New attribute for column shortcode - style
|
85 |
+
* New attribute for spoiler shortcode - style
|
86 |
+
|
87 |
= 2.0.0 =
|
88 |
* New shortcode: menu
|
89 |
* New shortcode: subpages
|
shortcodes-ultimate.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/*
|
4 |
Plugin Name: Shortcodes Ultimate
|
5 |
Plugin URI: http://ilovecode.ru/?p=122
|
6 |
-
Version: 2.0
|
7 |
Author: Vladimir Anokhin
|
8 |
Author URI: http://ilovecode.ru/
|
9 |
Description: Provides support for many easy to use shortcodes
|
@@ -64,15 +64,30 @@
|
|
64 |
// Front-end scripts and styles
|
65 |
if ( !is_admin() ) {
|
66 |
|
|
|
|
|
|
|
67 |
// Enqueue styles
|
68 |
-
|
69 |
-
|
|
|
|
|
|
|
|
|
70 |
|
71 |
// Enqueue scripts
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
}
|
77 |
|
78 |
// Back-end scripts and styles
|
@@ -216,9 +231,9 @@
|
|
216 |
*/
|
217 |
function su_manage_settings() {
|
218 |
|
219 |
-
// Insert
|
220 |
if ( !get_option( 'su_custom_css' ) ) {
|
221 |
-
$default_css =
|
222 |
update_option( 'su_custom_css', $default_css );
|
223 |
}
|
224 |
|
@@ -226,6 +241,8 @@
|
|
226 |
if ( isset( $_POST['save'] ) && $_GET['page'] == 'shortcodes-ultimate' ) {
|
227 |
update_option( 'su_disable_custom_formatting', $_POST['su_disable_custom_formatting'] );
|
228 |
update_option( 'su_compatibility_mode', $_POST['su_compatibility_mode'] );
|
|
|
|
|
229 |
}
|
230 |
|
231 |
// Save custom css
|
3 |
/*
|
4 |
Plugin Name: Shortcodes Ultimate
|
5 |
Plugin URI: http://ilovecode.ru/?p=122
|
6 |
+
Version: 2.1.0
|
7 |
Author: Vladimir Anokhin
|
8 |
Author URI: http://ilovecode.ru/
|
9 |
Description: Provides support for many easy to use shortcodes
|
64 |
// Front-end scripts and styles
|
65 |
if ( !is_admin() ) {
|
66 |
|
67 |
+
$disabled_scripts = get_option( 'su_disabled_scripts' );
|
68 |
+
$disabled_styles = get_option( 'su_disabled_styles' );
|
69 |
+
|
70 |
// Enqueue styles
|
71 |
+
if ( !isset( $disabled_styles['nivo-slider'] ) ) {
|
72 |
+
wp_enqueue_style( 'nivo-slider' );
|
73 |
+
}
|
74 |
+
if ( !isset( $disabled_styles['style'] ) ) {
|
75 |
+
wp_enqueue_style( 'shortcodes-ultimate' );
|
76 |
+
}
|
77 |
|
78 |
// Enqueue scripts
|
79 |
+
if ( !isset( $disabled_scripts['jquery'] ) ) {
|
80 |
+
wp_enqueue_script( 'jquery' );
|
81 |
+
}
|
82 |
+
if ( !isset( $disabled_scripts['jwplayer'] ) ) {
|
83 |
+
wp_enqueue_script( 'jwplayer' );
|
84 |
+
}
|
85 |
+
if ( !isset( $disabled_scripts['nivo-slider'] ) ) {
|
86 |
+
wp_enqueue_script( 'nivo-slider' );
|
87 |
+
}
|
88 |
+
if ( !isset( $disabled_scripts['init'] ) ) {
|
89 |
+
wp_enqueue_script( 'shortcodes-ultimate' );
|
90 |
+
}
|
91 |
}
|
92 |
|
93 |
// Back-end scripts and styles
|
231 |
*/
|
232 |
function su_manage_settings() {
|
233 |
|
234 |
+
// Insert default CSS
|
235 |
if ( !get_option( 'su_custom_css' ) ) {
|
236 |
+
$default_css = '';
|
237 |
update_option( 'su_custom_css', $default_css );
|
238 |
}
|
239 |
|
241 |
if ( isset( $_POST['save'] ) && $_GET['page'] == 'shortcodes-ultimate' ) {
|
242 |
update_option( 'su_disable_custom_formatting', $_POST['su_disable_custom_formatting'] );
|
243 |
update_option( 'su_compatibility_mode', $_POST['su_compatibility_mode'] );
|
244 |
+
update_option( 'su_disabled_scripts', $_POST['su_disabled_scripts'] );
|
245 |
+
update_option( 'su_disabled_styles', $_POST['su_disabled_styles'] );
|
246 |
}
|
247 |
|
248 |
// Save custom css
|