Version Description
Upgrade normally via your Wordpress admin -> Plugins panel.
Download this release
Release Info
Developer | gn_themes |
Plugin | Shortcodes Ultimate |
Version | 1.3.0 |
Comparing to | |
See all releases |
Code changes from version 1.2.0 to 1.3.0
- languages/shortcodes-ultimate-ru_RU.mo +0 -0
- languages/shortcodes-ultimate-ru_RU.po +114 -33
- readme.txt +1 -1
- shortcodes-ultimate.php +122 -17
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-04-16
|
6 |
-
"PO-Revision-Date: 2011-04-16
|
7 |
"Last-Translator: Vladimir Anokhin <ano.vladimir@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -14,65 +14,158 @@ msgstr ""
|
|
14 |
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
16 |
|
17 |
-
#: shortcodes-ultimate.php:
|
|
|
18 |
msgid "Spoiler title"
|
19 |
msgstr "Скрытый текст"
|
20 |
|
21 |
-
#: shortcodes-ultimate.php:
|
22 |
msgid "Top"
|
23 |
msgstr "Вверх"
|
24 |
|
25 |
-
#: shortcodes-ultimate.php:
|
|
|
26 |
msgid "Service name"
|
27 |
msgstr "Название услуги"
|
28 |
|
29 |
-
#: shortcodes-ultimate.php:
|
30 |
msgid "This is box title"
|
31 |
msgstr "Заголовок блока"
|
32 |
|
33 |
-
#: shortcodes-ultimate.php:
|
34 |
msgid "Shortcodes"
|
35 |
msgstr "Шорткоды"
|
36 |
|
37 |
-
#: shortcodes-ultimate.php:
|
38 |
msgid "Want to support author? Just share this link!"
|
39 |
msgstr "Хотите поддержать автора? Просто опубликйте ссылку!"
|
40 |
|
41 |
-
#: shortcodes-ultimate.php:
|
|
|
42 |
msgid "Share on Facebook"
|
43 |
msgstr "Опубликовать на Facebook"
|
44 |
|
45 |
-
#: shortcodes-ultimate.php:
|
|
|
46 |
msgid "Share on Twitter"
|
47 |
msgstr "Опубликовать на Twitter"
|
48 |
|
49 |
-
#: shortcodes-ultimate.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
msgid "Settings saved"
|
51 |
msgstr "Настройки сохранены"
|
52 |
|
53 |
-
#: shortcodes-ultimate.php:
|
54 |
msgid "Shortcodes ultimate settings"
|
55 |
msgstr "Настройки Shortcodes Ultimate"
|
56 |
|
57 |
-
#: shortcodes-ultimate.php:
|
58 |
msgid "Disable custom formatting"
|
59 |
msgstr "Отключить специальное форматирование"
|
60 |
|
61 |
-
#: shortcodes-ultimate.php:
|
62 |
msgid "Save settings"
|
63 |
msgstr "Сохранить настройки"
|
64 |
|
65 |
-
#: shortcodes-ultimate.php:
|
66 |
msgid "Available shortcodes"
|
67 |
msgstr "Доступные шорткоды"
|
68 |
|
69 |
-
#: shortcodes-ultimate.php:
|
70 |
-
msgid "
|
71 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
|
73 |
-
#: shortcodes-ultimate.php:
|
74 |
-
msgid "
|
75 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
|
77 |
#~ msgid ""
|
78 |
#~ "The page you've requested can not be displayed. It appears you've missed "
|
@@ -96,9 +189,6 @@ msgstr "Посетите"
|
|
96 |
#~ msgid "Leave comment"
|
97 |
#~ msgstr "Оставить комментарий"
|
98 |
|
99 |
-
#~ msgid "1 comment"
|
100 |
-
#~ msgstr "1 комментарий"
|
101 |
-
|
102 |
#~ msgid "comments"
|
103 |
#~ msgstr "комментариев"
|
104 |
|
@@ -300,9 +390,6 @@ msgstr "Посетите"
|
|
300 |
#~ "слайда + контент + видео или изображение. Content only - только контент "
|
301 |
#~ "из редактора"
|
302 |
|
303 |
-
#~ msgid "Media url"
|
304 |
-
#~ msgstr "Ссылка на медиа"
|
305 |
-
|
306 |
#~ msgid ""
|
307 |
#~ "Paste full link to your media (image, Youtube video, Vimeo video). Not "
|
308 |
#~ "required with Content only slides"
|
@@ -314,9 +401,6 @@ msgstr "Посетите"
|
|
314 |
#~ msgid "Description"
|
315 |
#~ msgstr "Описание"
|
316 |
|
317 |
-
#~ msgid "Enter description"
|
318 |
-
#~ msgstr "Введите описание"
|
319 |
-
|
320 |
#~ msgid "Page description for text teaser (top of page)"
|
321 |
#~ msgstr "Описание страницы для небольшого заголовка вверху страницы"
|
322 |
|
@@ -368,9 +452,6 @@ msgstr "Посетите"
|
|
368 |
#~ msgid "Show thumbnails"
|
369 |
#~ msgstr "Показывать миниатюры"
|
370 |
|
371 |
-
#~ msgid "Contacts"
|
372 |
-
#~ msgstr "Контакты"
|
373 |
-
|
374 |
#~ msgid "Your contact information"
|
375 |
#~ msgstr "Ваша контактная информация"
|
376 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: gn_themes\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2011-04-16 22:46+0300\n"
|
6 |
+
"PO-Revision-Date: 2011-04-16 22:46+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:88
|
18 |
+
#: shortcodes-ultimate.php:605
|
19 |
msgid "Spoiler title"
|
20 |
msgstr "Скрытый текст"
|
21 |
|
22 |
+
#: shortcodes-ultimate.php:106
|
23 |
msgid "Top"
|
24 |
msgstr "Вверх"
|
25 |
|
26 |
+
#: shortcodes-ultimate.php:275
|
27 |
+
#: shortcodes-ultimate.php:640
|
28 |
msgid "Service name"
|
29 |
msgstr "Название услуги"
|
30 |
|
31 |
+
#: shortcodes-ultimate.php:293
|
32 |
msgid "This is box title"
|
33 |
msgstr "Заголовок блока"
|
34 |
|
35 |
+
#: shortcodes-ultimate.php:527
|
36 |
msgid "Shortcodes"
|
37 |
msgstr "Шорткоды"
|
38 |
|
39 |
+
#: shortcodes-ultimate.php:547
|
40 |
msgid "Want to support author? Just share this link!"
|
41 |
msgstr "Хотите поддержать автора? Просто опубликйте ссылку!"
|
42 |
|
43 |
+
#: shortcodes-ultimate.php:550
|
44 |
+
#: shortcodes-ultimate.php:551
|
45 |
msgid "Share on Facebook"
|
46 |
msgstr "Опубликовать на Facebook"
|
47 |
|
48 |
+
#: shortcodes-ultimate.php:553
|
49 |
+
#: shortcodes-ultimate.php:554
|
50 |
msgid "Share on Twitter"
|
51 |
msgstr "Опубликовать на Twitter"
|
52 |
|
53 |
+
#: shortcodes-ultimate.php:558
|
54 |
+
msgid "Support forum"
|
55 |
+
msgstr "Форум поддержки"
|
56 |
+
|
57 |
+
#: shortcodes-ultimate.php:559
|
58 |
+
msgid "Contact author"
|
59 |
+
msgstr "Связаться с разработчиком"
|
60 |
+
|
61 |
+
#: shortcodes-ultimate.php:560
|
62 |
+
msgid "Twitter"
|
63 |
+
msgstr "Твиттер разработчика"
|
64 |
+
|
65 |
+
#: shortcodes-ultimate.php:567
|
66 |
msgid "Settings saved"
|
67 |
msgstr "Настройки сохранены"
|
68 |
|
69 |
+
#: shortcodes-ultimate.php:574
|
70 |
msgid "Shortcodes ultimate settings"
|
71 |
msgstr "Настройки Shortcodes Ultimate"
|
72 |
|
73 |
+
#: shortcodes-ultimate.php:576
|
74 |
msgid "Disable custom formatting"
|
75 |
msgstr "Отключить специальное форматирование"
|
76 |
|
77 |
+
#: shortcodes-ultimate.php:577
|
78 |
msgid "Save settings"
|
79 |
msgstr "Сохранить настройки"
|
80 |
|
81 |
+
#: shortcodes-ultimate.php:580
|
82 |
msgid "Available shortcodes"
|
83 |
msgstr "Доступные шорткоды"
|
84 |
|
85 |
+
#: shortcodes-ultimate.php:583
|
86 |
+
msgid "Shortcode"
|
87 |
+
msgstr "Шорткоды"
|
88 |
+
|
89 |
+
#: shortcodes-ultimate.php:584
|
90 |
+
msgid "Parameters"
|
91 |
+
msgstr "Параметры"
|
92 |
+
|
93 |
+
#: shortcodes-ultimate.php:585
|
94 |
+
msgid "Usage"
|
95 |
+
msgstr "Пример использования"
|
96 |
+
|
97 |
+
#: shortcodes-ultimate.php:590
|
98 |
+
#: shortcodes-ultimate.php:620
|
99 |
+
#: shortcodes-ultimate.php:625
|
100 |
+
#: shortcodes-ultimate.php:630
|
101 |
+
#: shortcodes-ultimate.php:645
|
102 |
+
#: shortcodes-ultimate.php:650
|
103 |
+
#: shortcodes-ultimate.php:660
|
104 |
+
msgid "Content"
|
105 |
+
msgstr "Содержимое"
|
106 |
+
|
107 |
+
#: shortcodes-ultimate.php:600
|
108 |
+
msgid "Tab name"
|
109 |
+
msgstr "Имя вкладки"
|
110 |
+
|
111 |
+
#: shortcodes-ultimate.php:600
|
112 |
+
msgid "Tab content"
|
113 |
+
msgstr "Содержимое вкладки"
|
114 |
+
|
115 |
+
#: shortcodes-ultimate.php:605
|
116 |
+
msgid "Hidden text"
|
117 |
+
msgstr "Скрытый текст"
|
118 |
+
|
119 |
+
#: shortcodes-ultimate.php:609
|
120 |
+
#: shortcodes-ultimate.php:634
|
121 |
+
msgid "optional"
|
122 |
+
msgstr "необяз."
|
123 |
+
|
124 |
+
#: shortcodes-ultimate.php:635
|
125 |
+
msgid "Button text"
|
126 |
+
msgstr "Текст кнопки"
|
127 |
+
|
128 |
+
#: shortcodes-ultimate.php:639
|
129 |
+
msgid "image url"
|
130 |
+
msgstr "ссылка на изображение"
|
131 |
+
|
132 |
+
#: shortcodes-ultimate.php:639
|
133 |
+
msgid "icon size"
|
134 |
+
msgstr "размер иконки"
|
135 |
+
|
136 |
+
#: shortcodes-ultimate.php:640
|
137 |
+
msgid "Service description"
|
138 |
+
msgstr "Описание услуги"
|
139 |
|
140 |
+
#: shortcodes-ultimate.php:645
|
141 |
+
msgid "Box title"
|
142 |
+
msgstr "Заголовок блока"
|
143 |
+
|
144 |
+
#: shortcodes-ultimate.php:655
|
145 |
+
msgid "List item"
|
146 |
+
msgstr "Элемент списка"
|
147 |
+
|
148 |
+
#: shortcodes-ultimate.php:659
|
149 |
+
msgid "add this to last columns"
|
150 |
+
msgstr "добавьте к каждой последней колонке"
|
151 |
+
|
152 |
+
#: shortcodes-ultimate.php:672
|
153 |
+
msgid "Shortcodes Ultimate"
|
154 |
+
msgstr "Шорткоды"
|
155 |
+
|
156 |
+
#: shortcodes-ultimate.php:672
|
157 |
+
msgid "Vladimir Anokhin"
|
158 |
+
msgstr "Владимир Анохин"
|
159 |
+
|
160 |
+
#: shortcodes-ultimate.php:672
|
161 |
+
msgid "Provides support for many easy to use shortcodes"
|
162 |
+
msgstr "Предоставляет поддержку множества полезных шорткодов"
|
163 |
+
|
164 |
+
#~ msgid "Coming soon"
|
165 |
+
#~ msgstr "Появится в ближайшее время"
|
166 |
+
|
167 |
+
#~ msgid "Visit"
|
168 |
+
#~ msgstr "Посетите"
|
169 |
|
170 |
#~ msgid ""
|
171 |
#~ "The page you've requested can not be displayed. It appears you've missed "
|
189 |
#~ msgid "Leave comment"
|
190 |
#~ msgstr "Оставить комментарий"
|
191 |
|
|
|
|
|
|
|
192 |
#~ msgid "comments"
|
193 |
#~ msgstr "комментариев"
|
194 |
|
390 |
#~ "слайда + контент + видео или изображение. Content only - только контент "
|
391 |
#~ "из редактора"
|
392 |
|
|
|
|
|
|
|
393 |
#~ msgid ""
|
394 |
#~ "Paste full link to your media (image, Youtube video, Vimeo video). Not "
|
395 |
#~ "required with Content only slides"
|
401 |
#~ msgid "Description"
|
402 |
#~ msgstr "Описание"
|
403 |
|
|
|
|
|
|
|
404 |
#~ msgid "Page description for text teaser (top of page)"
|
405 |
#~ msgstr "Описание страницы для небольшого заголовка вверху страницы"
|
406 |
|
452 |
#~ msgid "Show thumbnails"
|
453 |
#~ msgstr "Показывать миниатюры"
|
454 |
|
|
|
|
|
|
|
455 |
#~ msgid "Your contact information"
|
456 |
#~ msgstr "Ваша контактная информация"
|
457 |
|
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
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.1
|
7 |
-
Stable tag: 1.
|
8 |
|
9 |
Provides support for multiple useful shortcodes
|
10 |
|
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
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.1
|
7 |
+
Stable tag: 1.3.0
|
8 |
|
9 |
Provides support for multiple useful shortcodes
|
10 |
|
shortcodes-ultimate.php
CHANGED
@@ -2,10 +2,12 @@
|
|
2 |
/*
|
3 |
Plugin Name: Shortcodes Ultimate
|
4 |
Plugin URI: http://ilovecode.ru/?p=122
|
5 |
-
Version: 1.
|
6 |
Author: Vladimir Anokhin
|
7 |
Author URI: http://ilovecode.ru/
|
8 |
-
Description: Provides support for many easy to use shortcodes
|
|
|
|
|
9 |
*/
|
10 |
|
11 |
/**
|
@@ -529,26 +531,43 @@
|
|
529 |
* Administration page
|
530 |
*/
|
531 |
function shortcodes_ultimate_admin_page() {
|
|
|
532 |
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
543 |
|
|
|
544 |
if ( $_POST['save'] ) {
|
545 |
update_option( 'su_disable_custom_formatting', $_POST['su_disable_custom_formatting'] );
|
546 |
echo '<div class="updated"><p><strong>' . __( 'Settings saved', 'shortcodes-ultimate' ) . '</strong></p></div>';
|
547 |
}
|
548 |
|
549 |
$checked = ( get_option( 'su_disable_custom_formatting' ) == 'on' ) ? ' checked="checked"' : '';
|
550 |
-
|
551 |
-
|
552 |
?>
|
553 |
<!-- .wrap -->
|
554 |
<div class="wrap">
|
@@ -559,14 +578,100 @@
|
|
559 |
<input type="hidden" name="save" value="true" />
|
560 |
</form>
|
561 |
<h2><?php _e( 'Available shortcodes', 'shortcodes-ultimate' ); ?></h2>
|
562 |
-
<
|
563 |
-
|
564 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
565 |
</div>
|
566 |
<!-- /.wrap -->
|
567 |
<?php
|
568 |
}
|
569 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
570 |
}
|
571 |
|
572 |
add_action( 'admin_menu', 'shortcodes_ultimate_add_admin' );
|
2 |
/*
|
3 |
Plugin Name: Shortcodes Ultimate
|
4 |
Plugin URI: http://ilovecode.ru/?p=122
|
5 |
+
Version: 1.3.0
|
6 |
Author: Vladimir Anokhin
|
7 |
Author URI: http://ilovecode.ru/
|
8 |
+
Description: Provides support for many easy to use shortcodes
|
9 |
+
Text Domain: shortcodes-ultimate
|
10 |
+
Domain Path: /languages
|
11 |
*/
|
12 |
|
13 |
/**
|
531 |
* Administration page
|
532 |
*/
|
533 |
function shortcodes_ultimate_admin_page() {
|
534 |
+
?>
|
535 |
|
536 |
+
<style type="text/css">
|
537 |
+
#su-top-message {
|
538 |
+
margin: 20px 20px 10px 0;
|
539 |
+
padding: 5px 15px;
|
540 |
+
border: 1px solid #E6DB55;
|
541 |
+
background: #FFFFE0;
|
542 |
+
border-radius: 3px;
|
543 |
+
}
|
544 |
+
</style>
|
545 |
+
|
546 |
+
<div id="su-top-message">
|
547 |
+
<p><strong><?php _e( 'Want to support author? Just share this link!', 'shortcodes-ultimate' ); ?></strong></p>
|
548 |
+
<p>
|
549 |
+
<input type="text" value="http://ilovecode.ru/?p=122" size="27" onclick="this.select();" />
|
550 |
+
<a href="http://facebook.com/sharer.php?u=http://ilovecode.ru/?p=122" title="<?php _e( 'Share on Facebook', 'shortcodes-ultimate' ); ?>" target="_blank">
|
551 |
+
<img src="<?php echo su_plugin_url(); ?>/images/social/facebook_16.png" title="<?php _e( 'Share on Facebook', 'shortcodes-ultimate' ); ?>" style="margin-bottom:-3px" />
|
552 |
+
</a>
|
553 |
+
<a href="http://twitter.com/home?status=Shortcodes%20Ultimate%20http://ilovecode.ru/?p=122" title="<?php _e( 'Share on Twitter', 'shortcodes-ultimate' ); ?>" target="_blank">
|
554 |
+
<img src="<?php echo su_plugin_url(); ?>/images/social/twitter_16.png" title="<?php _e( 'Share on Twitter', 'shortcodes-ultimate' ); ?>" style="margin-bottom:-3px" />
|
555 |
+
</a>
|
556 |
+
</p>
|
557 |
+
<p>
|
558 |
+
<a href="http://wordpress.org/tags/shortcodes-ultimate?forum_id=10" target="_blank"><?php _e( 'Support forum', 'shortcodes-ultimate' ); ?></a> |
|
559 |
+
<a href="http://ilovecode.ru/" target="_blank"><?php _e( 'Contact author', 'shortcodes-ultimate' ); ?></a> |
|
560 |
+
<a href="http://twitter.com/gn_themes" target="_blank"><?php _e( 'Twitter', 'shortcodes-ultimate' ); ?></a>
|
561 |
+
</p>
|
562 |
+
</div>
|
563 |
|
564 |
+
<?php
|
565 |
if ( $_POST['save'] ) {
|
566 |
update_option( 'su_disable_custom_formatting', $_POST['su_disable_custom_formatting'] );
|
567 |
echo '<div class="updated"><p><strong>' . __( 'Settings saved', 'shortcodes-ultimate' ) . '</strong></p></div>';
|
568 |
}
|
569 |
|
570 |
$checked = ( get_option( 'su_disable_custom_formatting' ) == 'on' ) ? ' checked="checked"' : '';
|
|
|
|
|
571 |
?>
|
572 |
<!-- .wrap -->
|
573 |
<div class="wrap">
|
578 |
<input type="hidden" name="save" value="true" />
|
579 |
</form>
|
580 |
<h2><?php _e( 'Available shortcodes', 'shortcodes-ultimate' ); ?></h2>
|
581 |
+
<table class="widefat fixed" style="width:700px;margin-bottom:20px">
|
582 |
+
<tr>
|
583 |
+
<th width="100"><?php _e( 'Shortcode', 'shortcodes-ultimate' ); ?></th>
|
584 |
+
<th width="200"><?php _e( 'Parameters', 'shortcodes-ultimate' ); ?></th>
|
585 |
+
<th><?php _e( 'Usage', 'shortcodes-ultimate' ); ?></th>
|
586 |
+
</tr>
|
587 |
+
<tr>
|
588 |
+
<td>heading</td>
|
589 |
+
<td>—</td>
|
590 |
+
<td>[heading] <?php _e( 'Content', 'shortcodes-ultimate' ); ?> [/heading]</td>
|
591 |
+
</tr>
|
592 |
+
<tr>
|
593 |
+
<td>frame</td>
|
594 |
+
<td>align="left|center|none|right"</td>
|
595 |
+
<td>[frame align="center"] <img src="image.jpg" alt="" /> [/frame]</td>
|
596 |
+
</tr>
|
597 |
+
<tr>
|
598 |
+
<td>tabs, tab</td>
|
599 |
+
<td>title</td>
|
600 |
+
<td>[tabs] [tab title="<?php _e( 'Tab name', 'shortcodes-ultimate' ); ?>"] <?php _e( 'Tab content', 'shortcodes-ultimate' ); ?> [/tab] [/tabs]</td>
|
601 |
+
</tr>
|
602 |
+
<tr>
|
603 |
+
<td>spoiler</td>
|
604 |
+
<td>title</td>
|
605 |
+
<td>[spoiler title="<?php _e( 'Spoiler title', 'shortcodes-ultimate' ); ?>"] <?php _e( 'Hidden text', 'shortcodes-ultimate' ); ?> [/spoiler]</td>
|
606 |
+
</tr>
|
607 |
+
<tr>
|
608 |
+
<td>divider</td>
|
609 |
+
<td>top (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)</td>
|
610 |
+
<td>[divider top="1"]</td>
|
611 |
+
</tr>
|
612 |
+
<tr>
|
613 |
+
<td>spacer</td>
|
614 |
+
<td>size</td>
|
615 |
+
<td>[spacer size="20"]</td>
|
616 |
+
</tr>
|
617 |
+
<tr>
|
618 |
+
<td>quote</td>
|
619 |
+
<td>—</td>
|
620 |
+
<td>[quote] <?php _e( 'Content', 'shortcodes-ultimate' ); ?> [/quote]</td>
|
621 |
+
</tr>
|
622 |
+
<tr>
|
623 |
+
<td>pullquote</td>
|
624 |
+
<td>align="left|right"</td>
|
625 |
+
<td>[pullquote align="left"] <?php _e( 'Content', 'shortcodes-ultimate' ); ?> [/pullquote]</td>
|
626 |
+
</tr>
|
627 |
+
<tr>
|
628 |
+
<td>highlight</td>
|
629 |
+
<td>bg="#HEX"<br/>color="#HEX"</td>
|
630 |
+
<td>[highlight bg="#fc0" color="#000"] <?php _e( 'Content', 'shortcodes-ultimate' ); ?> [/highlight]</td>
|
631 |
+
</tr>
|
632 |
+
<tr>
|
633 |
+
<td>button</td>
|
634 |
+
<td>link<br/>color="#HEX"<br/>size="1-10"<br/>style="1|2"<br/>dark (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)<br/>square (<?php _e( 'optional', 'shortcodes-ultimate' ); ?>)</td>
|
635 |
+
<td>[button link="#" color="#b00" size="3" style="2" dark="1" square="1"] <?php _e( 'Button text', 'shortcodes-ultimate' ); ?> [/button]</td>
|
636 |
+
</tr>
|
637 |
+
<tr>
|
638 |
+
<td>service</td>
|
639 |
+
<td>title<br/>icon (<?php _e( 'image url', 'shortcodes-ultimate' ); ?>)<br/>size (<?php _e( 'icon size', 'shortcodes-ultimate' ); ?>)</td>
|
640 |
+
<td>[service title="<?php _e( 'Service name', 'shortcodes-ultimate' ); ?>" icon="images/service-1.png" size="32"] <?php _e( 'Service description', 'shortcodes-ultimate' ); ?> [/service]</td>
|
641 |
+
</tr>
|
642 |
+
<tr>
|
643 |
+
<td>box</td>
|
644 |
+
<td>title<br/>color="#HEX"</td>
|
645 |
+
<td>[box title="<?php _e( 'Box title', 'shortcodes-ultimate' ); ?>" color="#f00"] <?php _e( 'Content', 'shortcodes-ultimate' ); ?> [/box]</td>
|
646 |
+
</tr>
|
647 |
+
<tr>
|
648 |
+
<td>note</td>
|
649 |
+
<td>color="#HEX"</td>
|
650 |
+
<td>[note color="#D1F26D"] <?php _e( 'Content', 'shortcodes-ultimate' ); ?> [/note]</td>
|
651 |
+
</tr>
|
652 |
+
<tr>
|
653 |
+
<td>list</td>
|
654 |
+
<td>style="star|arrow|check|cross"</td>
|
655 |
+
<td>[list style="check"] <ul> <li> <?php _e( 'List item', 'shortcodes-ultimate' ); ?> </li> </ul> [/list]</td>
|
656 |
+
</tr>
|
657 |
+
<tr>
|
658 |
+
<td>column</td>
|
659 |
+
<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>
|
660 |
+
<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>
|
661 |
+
</tr>
|
662 |
+
</table>
|
663 |
</div>
|
664 |
<!-- /.wrap -->
|
665 |
<?php
|
666 |
}
|
667 |
|
668 |
+
/**
|
669 |
+
* Hook to translate plugin information
|
670 |
+
*/
|
671 |
+
function su_add_locale_strings() {
|
672 |
+
$strings = __( 'Shortcodes Ultimate', 'shortcodes-ultimate' ) . __( 'Vladimir Anokhin', 'shortcodes-ultimate' ) . __( 'Provides support for many easy to use shortcodes', 'shortcodes-ultimate' );
|
673 |
+
}
|
674 |
+
|
675 |
}
|
676 |
|
677 |
add_action( 'admin_menu', 'shortcodes_ultimate_add_admin' );
|