Version Description
- Changed text domain to 'wp-shortcode'
Download this release
Release Info
Developer | MyThemeShop |
Plugin | WP Shortcode by MyThemeShop |
Version | 1.4.2 |
Comparing to | |
See all releases |
Code changes from version 1.4.1 to 1.4.2
- languages/default.mo +0 -0
- languages/default.po +23 -10
- readme.txt +28 -9
- tinymce/editor_plugin.js +1 -1
- tinymce/editor_plugin.php +4 -4
- tinymce/shortcodes.php +115 -115
- wp-shortcode.php +4 -4
languages/default.mo
CHANGED
Binary file
|
languages/default.po
CHANGED
@@ -1,26 +1,25 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: WP
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date: 2015-
|
7 |
"Last-Translator: MyThemeShop <support-team@mythemeshop.com>\n"
|
8 |
-
"Language-Team: MyThemeShop
|
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Poedit-KeywordsList:
|
13 |
-
"X-Poedit-Basepath:
|
14 |
-
"\\languages\n"
|
15 |
-
"Language: en_US\n"
|
16 |
"X-Generator: Poedit 1.6.2\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
|
19 |
-
#: ../wp-shortcode.php:
|
20 |
msgid "Toggle Title"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: ../wp-shortcode.php:
|
24 |
msgid "Back to Top"
|
25 |
msgstr ""
|
26 |
|
@@ -340,3 +339,17 @@ msgstr ""
|
|
340 |
#: ../tinymce/shortcodes.php:344
|
341 |
msgid "Five Sixth (Last)"
|
342 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: WP Subscribe by MyThemeShop\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-09-27 00:01+0530\n"
|
6 |
+
"PO-Revision-Date: 2015-09-27 00:01+0530\n"
|
7 |
"Last-Translator: MyThemeShop <support-team@mythemeshop.com>\n"
|
8 |
+
"Language-Team: MyThemeShop <support-team@mythemeshop.com>\n"
|
9 |
+
"Language: en_US\n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
+
"X-Poedit-Basepath: .\n"
|
|
|
|
|
15 |
"X-Generator: Poedit 1.6.2\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
+
#: ../wp-shortcode.php:383
|
19 |
msgid "Toggle Title"
|
20 |
msgstr ""
|
21 |
|
22 |
+
#: ../wp-shortcode.php:399
|
23 |
msgid "Back to Top"
|
24 |
msgstr ""
|
25 |
|
339 |
#: ../tinymce/shortcodes.php:344
|
340 |
msgid "Five Sixth (Last)"
|
341 |
msgstr ""
|
342 |
+
|
343 |
+
#: ../tinymce/shortcodes.php:356
|
344 |
+
msgid "Tooltip"
|
345 |
+
msgstr ""
|
346 |
+
|
347 |
+
#: ../tinymce/shortcodes.php:357
|
348 |
+
msgid "Trigger text"
|
349 |
+
msgstr ""
|
350 |
+
|
351 |
+
#: ../tinymce/shortcodes.php:358
|
352 |
+
msgid ""
|
353 |
+
"Add a tooltip that appears on hover. Possible values for direction(Cardinal) "
|
354 |
+
"of bubble: nw | n | ne | w | e | sw | s | se"
|
355 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: mythemeshop
|
|
3 |
Creator's website link: http://mythemeshop.com/
|
4 |
Tags: shortcodes, shortcode, shortcodes list, toggle shortcode, buttons, google map shortcode, youtube shortcode, vimeo shortcode, alert shortcode, notification shortcode, column shortcodes
|
5 |
Requires at least: 3.0.1
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -21,7 +21,23 @@ We at MyThemeShop realise there are already some free shortcode plugins out, but
|
|
21 |
To see a full list of options available with this powerful plugin, try this page: <a href="http://demo.mythemeshop.com/spike/shortcodes-examples/">http://demo.mythemeshop.com/spike/shortcodes-examples/</a>
|
22 |
|
23 |
= Shortcodes Included =
|
24 |
-
Buttons, Videos, Alerts, Google Maps, Toggle, Tabs, dividers, Columns And much more! Easily add nice looking elements to your WordPress website without any knowledge of coding!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
26 |
== Installation ==
|
27 |
|
@@ -48,14 +64,17 @@ Please disable all plugins and check if shortcode plugin is working properly. Th
|
|
48 |
7. Google Maps Shortcode
|
49 |
|
50 |
== Changelog ==
|
51 |
-
|
|
|
|
|
|
|
52 |
= 1.4.1 =
|
53 |
-
* Fixed embed video issue in half column
|
54 |
-
|
55 |
= 1.4 =
|
56 |
-
* Complete revamp of notification and button shortcode design.
|
57 |
-
* Removed unnecessary images.
|
58 |
-
* Optimized CSS code.
|
59 |
|
60 |
= 1.3 =
|
61 |
* Added Tooltip shortcode
|
3 |
Creator's website link: http://mythemeshop.com/
|
4 |
Tags: shortcodes, shortcode, shortcodes list, toggle shortcode, buttons, google map shortcode, youtube shortcode, vimeo shortcode, alert shortcode, notification shortcode, column shortcodes
|
5 |
Requires at least: 3.0.1
|
6 |
+
Tested up to: 4.7
|
7 |
+
Stable tag: 1.4.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
21 |
To see a full list of options available with this powerful plugin, try this page: <a href="http://demo.mythemeshop.com/spike/shortcodes-examples/">http://demo.mythemeshop.com/spike/shortcodes-examples/</a>
|
22 |
|
23 |
= Shortcodes Included =
|
24 |
+
Buttons, Videos, Alerts, Google Maps, Toggle, Tabs, dividers, Columns And much more! Easily add nice looking elements to your WordPress website without any knowledge of coding!
|
25 |
+
|
26 |
+
= Support =
|
27 |
+
|
28 |
+
All support for this plugin is provided through our forums. If you have not registered yet, you can do so here for **FREE** <br>
|
29 |
+
<a href=“https://mythemeshop.com/#signup”>https://mythemeshop.com/#signup</a>
|
30 |
+
|
31 |
+
If after checking our Free WordPress video tutorials here:<br>
|
32 |
+
<a href=“https://mythemeshop.com/wordpress-101/”>https://mythemeshop.com/wordpress-101/</a><br>
|
33 |
+
&<br>
|
34 |
+
<a href=“https://community.mythemeshop.com/tutorials/category/2-free-video-tutorials/“>https://community.mythemeshop.com/tutorials/category/2-free-video-tutorials/</a><br>
|
35 |
+
<br>
|
36 |
+
you are still stuck, please feel free to open a new thread, and a member of our support team will be happy to help.<br>
|
37 |
+
|
38 |
+
Support link:<br>
|
39 |
+
<a href=“https://community.mythemeshop.com/forum/11-free-plugin-support/”>https://community.mythemeshop.com/forum/11-free-plugin-support/</a><br>
|
40 |
+
<br>
|
41 |
|
42 |
== Installation ==
|
43 |
|
64 |
7. Google Maps Shortcode
|
65 |
|
66 |
== Changelog ==
|
67 |
+
|
68 |
+
= 1.4.2 =
|
69 |
+
* Changed text domain to 'wp-shortcode'
|
70 |
+
|
71 |
= 1.4.1 =
|
72 |
+
* Fixed embed video issue in half column
|
73 |
+
|
74 |
= 1.4 =
|
75 |
+
* Complete revamp of notification and button shortcode design.
|
76 |
+
* Removed unnecessary images.
|
77 |
+
* Optimized CSS code.
|
78 |
|
79 |
= 1.3 =
|
80 |
* Added Tooltip shortcode
|
tinymce/editor_plugin.js
CHANGED
@@ -70,7 +70,7 @@
|
|
70 |
author : 'MyThemeShop',
|
71 |
authorurl : 'http://mythemeshop.com',
|
72 |
infourl : 'http://mythemeshop.com/plugins/wp-shortcode',
|
73 |
-
version : '1.
|
74 |
};
|
75 |
}
|
76 |
});
|
70 |
author : 'MyThemeShop',
|
71 |
authorurl : 'http://mythemeshop.com',
|
72 |
infourl : 'http://mythemeshop.com/plugins/wp-shortcode',
|
73 |
+
version : '1.4.2'
|
74 |
};
|
75 |
}
|
76 |
});
|
tinymce/editor_plugin.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
require_once('mnm_config.php');
|
4 |
// check for rights
|
5 |
if ( !current_user_can('edit_pages') && !current_user_can('edit_posts') )
|
6 |
-
wp_die(__("You are not allowed to be here", "
|
7 |
global $wpdb;
|
8 |
?>
|
9 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
@@ -28,7 +28,7 @@ if ( !current_user_can('edit_pages') && !current_user_can('edit_posts') )
|
|
28 |
<div id="mnmshortcode_panel" class="panel">
|
29 |
<table border="0" cellpadding="4" cellspacing="0">
|
30 |
<tr>
|
31 |
-
<td><label for="mnmshortcode_tag"><?php _e("Select Shortcode", '
|
32 |
<td><select id="mnmshortcode_tag" name="mnmshortcode_tag">
|
33 |
<option value="0">Select Shortcode</option>
|
34 |
<?php
|
@@ -65,11 +65,11 @@ if ( !current_user_can('edit_pages') && !current_user_can('edit_posts') )
|
|
65 |
|
66 |
<div class="mceActionPanel">
|
67 |
<div style="float: left">
|
68 |
-
<input type="button" id="cancel" name="cancel" value="<?php _e('Cancel', '
|
69 |
</div>
|
70 |
|
71 |
<div style="float: right">
|
72 |
-
<input type="submit" id="insert" name="insert" value="<?php _e('Insert', '
|
73 |
</div>
|
74 |
</div>
|
75 |
</form>
|
3 |
require_once('mnm_config.php');
|
4 |
// check for rights
|
5 |
if ( !current_user_can('edit_pages') && !current_user_can('edit_posts') )
|
6 |
+
wp_die(__("You are not allowed to be here", "wp-shortcode"));
|
7 |
global $wpdb;
|
8 |
?>
|
9 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
28 |
<div id="mnmshortcode_panel" class="panel">
|
29 |
<table border="0" cellpadding="4" cellspacing="0">
|
30 |
<tr>
|
31 |
+
<td><label for="mnmshortcode_tag"><?php _e("Select Shortcode", 'wp-shortcode'); ?></label></td>
|
32 |
<td><select id="mnmshortcode_tag" name="mnmshortcode_tag">
|
33 |
<option value="0">Select Shortcode</option>
|
34 |
<?php
|
65 |
|
66 |
<div class="mceActionPanel">
|
67 |
<div style="float: left">
|
68 |
+
<input type="button" id="cancel" name="cancel" value="<?php _e('Cancel', 'wp-shortcode'); ?>" onClick="tinyMCEPopup.close();" />
|
69 |
</div>
|
70 |
|
71 |
<div style="float: right">
|
72 |
+
<input type="submit" id="insert" name="insert" value="<?php _e('Insert', 'wp-shortcode'); ?>" onClick="mnmshortcodesubmit();" />
|
73 |
</div>
|
74 |
</div>
|
75 |
</form>
|
tinymce/shortcodes.php
CHANGED
@@ -7,9 +7,9 @@ $shortcodes = array(
|
|
7 |
"target" => "_self",
|
8 |
"position" => "left"
|
9 |
),
|
10 |
-
"label" => __("Brown Button", "
|
11 |
-
"content" => __("Button text", "
|
12 |
-
"description" => __("Inserts a brown button. Set target to <strong>_blank</strong> to open link in a new window.", "
|
13 |
),
|
14 |
"button-blue" => array(
|
15 |
"self-closing" => false,
|
@@ -18,9 +18,9 @@ $shortcodes = array(
|
|
18 |
"target" => "_self",
|
19 |
"position" => "left"
|
20 |
),
|
21 |
-
"label" => __("Blue Button", "
|
22 |
-
"content" => __("Button text", "
|
23 |
-
"description" => __("Inserts a blue button. Set target to <strong>_blank</strong> to open link in a new window.", "
|
24 |
),
|
25 |
"button-green" => array(
|
26 |
"self-closing" => false,
|
@@ -29,9 +29,9 @@ $shortcodes = array(
|
|
29 |
"target" => "_self",
|
30 |
"position" => "left"
|
31 |
),
|
32 |
-
"label" => __("Green Button", "
|
33 |
-
"content" => __("Button text", "
|
34 |
-
"description" => __("Inserts a green button. Set target to <strong>_blank</strong> to open link in a new window.", "
|
35 |
),
|
36 |
"button-yellow" => array(
|
37 |
"self-closing" => false,
|
@@ -40,9 +40,9 @@ $shortcodes = array(
|
|
40 |
"target" => "_self",
|
41 |
"position" => "left"
|
42 |
),
|
43 |
-
"label" => __("Yellow Button", "
|
44 |
-
"content" => __("Button text", "
|
45 |
-
"description" => __("Inserts a yellow button. Set target to <strong>_blank</strong> to open link in a new window.", "
|
46 |
),
|
47 |
"button-red" => array(
|
48 |
"self-closing" => false,
|
@@ -51,9 +51,9 @@ $shortcodes = array(
|
|
51 |
"target" => "_self",
|
52 |
"position" => "left"
|
53 |
),
|
54 |
-
"label" => __("Red Button", "
|
55 |
-
"content" => __("Button text", "
|
56 |
-
"description" => __("Inserts a red button. Set target to <strong>_blank</strong> to open link in a new window.", "
|
57 |
),
|
58 |
"button-white" => array(
|
59 |
"self-closing" => false,
|
@@ -62,37 +62,37 @@ $shortcodes = array(
|
|
62 |
"target" => "_self",
|
63 |
"position" => "left"
|
64 |
),
|
65 |
-
"label" => __("White Button", "
|
66 |
-
"content" => __("Button text", "
|
67 |
-
"description" => __("Inserts a white button. Set target to <strong>_blank</strong> to open link in a new window.", "
|
68 |
),
|
69 |
"alert-note" => array(
|
70 |
"self-closing" => false,
|
71 |
"atts" => array(),
|
72 |
-
"label" => __("Alert Note", "
|
73 |
-
"content" => __("Note text", "
|
74 |
-
"description" => __("Display a note.", "
|
75 |
),
|
76 |
"alert-announce" => array(
|
77 |
"self-closing" => false,
|
78 |
"atts" => array(),
|
79 |
-
"label" => __("Alert Announce", "
|
80 |
-
"content" => __("Announce text", "
|
81 |
-
"description" => __("Display an announcement.", "
|
82 |
),
|
83 |
"alert-success" => array(
|
84 |
"self-closing" => false,
|
85 |
"atts" => array(),
|
86 |
-
"label" => __("Alert Success", "
|
87 |
-
"content" => __("Success text", "
|
88 |
-
"description" => __("Display a success message.", "
|
89 |
),
|
90 |
"alert-warning" => array(
|
91 |
"self-closing" => false,
|
92 |
"atts" => array(),
|
93 |
-
"label" => __("Alert Warning", "
|
94 |
-
"content" => __("Warning text", "
|
95 |
-
"description" => __("Display warning or error message.", "
|
96 |
),
|
97 |
"youtube" => array(
|
98 |
"self-closing" => true,
|
@@ -102,9 +102,9 @@ $shortcodes = array(
|
|
102 |
"height" => "340",
|
103 |
"position" => "left"
|
104 |
),
|
105 |
-
"label" => __("YouTube Video", "
|
106 |
"content" => "",
|
107 |
-
"description" => __("Embed a Youtube Video", "
|
108 |
),
|
109 |
"vimeo" => array(
|
110 |
"self-closing" => true,
|
@@ -114,9 +114,9 @@ $shortcodes = array(
|
|
114 |
"height" => "340",
|
115 |
"position" => "left"
|
116 |
),
|
117 |
-
"label" => __("Vimeo Video", "
|
118 |
"content" => "",
|
119 |
-
"description" => __("Embed a Vimeo Video.", "
|
120 |
),
|
121 |
"googlemap" => array(
|
122 |
"self-closing" => true,
|
@@ -126,46 +126,46 @@ $shortcodes = array(
|
|
126 |
"height" => "340",
|
127 |
"position" => "left"
|
128 |
),
|
129 |
-
"label" => __("Google Map", "
|
130 |
"content" => "",
|
131 |
-
"description" => __("Embed a Google Map. Insert address or GPS location.", "
|
132 |
),
|
133 |
"toggle" => array(
|
134 |
"self-closing" => false,
|
135 |
"atts" => array(
|
136 |
"title" => "Toggle Title"
|
137 |
),
|
138 |
-
"label" => __("Toggle", "
|
139 |
-
"content" => __("Insert Content Here", "
|
140 |
"content_field" => "textarea",
|
141 |
-
"description" => __("Content will be shown after clicking on the toggle title.", "
|
142 |
),
|
143 |
"tabs" => array(
|
144 |
"self-closing" => false,
|
145 |
"atts" => array(),
|
146 |
-
"label" => __("Tabs", "
|
147 |
-
"content" => __("[tab title="Tab 1 Title"]Insert tab 1 content here[/tab]\n[tab title="Tab 2 Title"]Insert tab 2 content here[/tab]\n[tab title="Tab 3 Title"]Insert tab 3 content here[/tab]", "
|
148 |
"content_field" => "textarea",
|
149 |
-
"description" => __("Display content in tabbed form.", "
|
150 |
),
|
151 |
"divider" => array(
|
152 |
"self-closing" => true,
|
153 |
"atts" => array(),
|
154 |
"content" => "Divider",
|
155 |
-
"description" => __("Simple horizontal divider.", "
|
156 |
),
|
157 |
"divider_top" => array(
|
158 |
"self-closing" => true,
|
159 |
"atts" => array(),
|
160 |
"content" => "Divider with link",
|
161 |
-
"description" => __("Divider with an anchor link to top of page.", "
|
162 |
),
|
163 |
"clear" => array(
|
164 |
"self-closing" => true,
|
165 |
"atts" => array(),
|
166 |
-
"label" => __("Clear", "
|
167 |
"content" => "",
|
168 |
-
"description" => __("Clear shortcode can be used to clear an element of its neighbors, no floating elements are allowed on the left or the right side.", "
|
169 |
),
|
170 |
|
171 |
// Column Shortcodes
|
@@ -173,178 +173,178 @@ $shortcodes = array(
|
|
173 |
"one_third" => array(
|
174 |
"self-closing" => false,
|
175 |
"atts" => array(),
|
176 |
-
"label" => __("One Third", "
|
177 |
-
"content" => __("Column content", "
|
178 |
"content_field" => "textarea",
|
179 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
180 |
),
|
181 |
"one_third_last" => array(
|
182 |
"self-closing" => false,
|
183 |
"atts" => array(),
|
184 |
-
"label" => __("One Third (Last)", "
|
185 |
-
"content" => __("Column content", "
|
186 |
"content_field" => "textarea",
|
187 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
188 |
),
|
189 |
"two_third" => array(
|
190 |
"self-closing" => false,
|
191 |
"atts" => array(),
|
192 |
-
"label" => __("Two Third", "
|
193 |
-
"content" => __("Column content", "
|
194 |
"content_field" => "textarea",
|
195 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
196 |
),
|
197 |
"two_third_last" => array(
|
198 |
"self-closing" => false,
|
199 |
"atts" => array(),
|
200 |
-
"label" => __("Two Third (Last)", "
|
201 |
-
"content" => __("Column content", "
|
202 |
"content_field" => "textarea",
|
203 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
204 |
),
|
205 |
"one_half" => array(
|
206 |
"self-closing" => false,
|
207 |
"atts" => array(),
|
208 |
-
"label" => __("One Half", "
|
209 |
-
"content" => __("Column content", "
|
210 |
"content_field" => "textarea",
|
211 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
212 |
),
|
213 |
"one_half_last" => array(
|
214 |
"self-closing" => false,
|
215 |
"atts" => array(),
|
216 |
-
"label" => __("One Half (Last)", "
|
217 |
-
"content" => __("Column content", "
|
218 |
"content_field" => "textarea",
|
219 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
220 |
),
|
221 |
"one_fourth" => array(
|
222 |
"self-closing" => false,
|
223 |
"atts" => array(),
|
224 |
-
"label" => __("One Fourth", "
|
225 |
-
"content" => __("Column content", "
|
226 |
"content_field" => "textarea",
|
227 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
228 |
),
|
229 |
"one_fourth_last" => array(
|
230 |
"self-closing" => false,
|
231 |
"atts" => array(),
|
232 |
-
"label" => __("One Fourth (Last)", "
|
233 |
-
"content" => __("Column content", "
|
234 |
"content_field" => "textarea",
|
235 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
236 |
),
|
237 |
"three_fourth" => array(
|
238 |
"self-closing" => false,
|
239 |
"atts" => array(),
|
240 |
-
"label" => __("Three Fourth", "
|
241 |
-
"content" => __("Column content", "
|
242 |
"content_field" => "textarea",
|
243 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
244 |
),
|
245 |
"three_fourth_last" => array(
|
246 |
"self-closing" => false,
|
247 |
"atts" => array(),
|
248 |
-
"label" => __("Three Fourth (Last)", "
|
249 |
-
"content" => __("Column content", "
|
250 |
"content_field" => "textarea",
|
251 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
252 |
),
|
253 |
"one_fifth" => array(
|
254 |
"self-closing" => false,
|
255 |
"atts" => array(),
|
256 |
-
"label" => __("One Fifth", "
|
257 |
-
"content" => __("Column content", "
|
258 |
"content_field" => "textarea",
|
259 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
260 |
),
|
261 |
"one_fifth_last" => array(
|
262 |
"self-closing" => false,
|
263 |
"atts" => array(),
|
264 |
-
"label" => __("One Fifth (Last)", "
|
265 |
-
"content" => __("Column content", "
|
266 |
"content_field" => "textarea",
|
267 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
268 |
),
|
269 |
"two_fifth" => array(
|
270 |
"self-closing" => false,
|
271 |
"atts" => array(),
|
272 |
-
"label" => __("Two Fifth", "
|
273 |
-
"content" => __("Column content", "
|
274 |
"content_field" => "textarea",
|
275 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
276 |
),
|
277 |
"two_fifth_last" => array(
|
278 |
"self-closing" => false,
|
279 |
"atts" => array(),
|
280 |
-
"label" => __("Two Fifth (Last)", "
|
281 |
-
"content" => __("Column content", "
|
282 |
"content_field" => "textarea",
|
283 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
284 |
),
|
285 |
"three_fifth" => array(
|
286 |
"self-closing" => false,
|
287 |
"atts" => array(),
|
288 |
-
"label" => __("Three Fifth", "
|
289 |
-
"content" => __("Column content", "
|
290 |
"content_field" => "textarea",
|
291 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
292 |
),
|
293 |
"three_fifth_last" => array(
|
294 |
"self-closing" => false,
|
295 |
"atts" => array(),
|
296 |
-
"label" => __("Three Fifth (Last)", "
|
297 |
-
"content" => __("Column content", "
|
298 |
"content_field" => "textarea",
|
299 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
300 |
),
|
301 |
"four_fifth" => array(
|
302 |
"self-closing" => false,
|
303 |
"atts" => array(),
|
304 |
-
"label" => __("Four Fifth", "
|
305 |
-
"content" => __("Column content", "
|
306 |
"content_field" => "textarea",
|
307 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
308 |
),
|
309 |
"four_fifth_last" => array(
|
310 |
"self-closing" => false,
|
311 |
"atts" => array(),
|
312 |
-
"label" => __("Four Fifth (Last)", "
|
313 |
-
"content" => __("Column content", "
|
314 |
"content_field" => "textarea",
|
315 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
316 |
),
|
317 |
"one_sixth" => array(
|
318 |
"self-closing" => false,
|
319 |
"atts" => array(),
|
320 |
-
"label" => __("One Sixth", "
|
321 |
-
"content" => __("Column content", "
|
322 |
"content_field" => "textarea",
|
323 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
324 |
),
|
325 |
"one_sixth_last" => array(
|
326 |
"self-closing" => false,
|
327 |
"atts" => array(),
|
328 |
-
"label" => __("One Sixth (Last)", "
|
329 |
-
"content" => __("Column content", "
|
330 |
"content_field" => "textarea",
|
331 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
332 |
),
|
333 |
"five_sixth" => array(
|
334 |
"self-closing" => false,
|
335 |
"atts" => array(),
|
336 |
-
"label" => __("Five Sixth", "
|
337 |
-
"content" => __("Column content", "
|
338 |
"content_field" => "textarea",
|
339 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
340 |
),
|
341 |
"five_sixth_last" => array(
|
342 |
"self-closing" => false,
|
343 |
"atts" => array(),
|
344 |
-
"label" => __("Five Sixth (Last)", "
|
345 |
-
"content" => __("Column content", "
|
346 |
"content_field" => "textarea",
|
347 |
-
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "
|
348 |
),
|
349 |
"tooltip" => array(
|
350 |
"self-closing" => false,
|
@@ -353,9 +353,9 @@ $shortcodes = array(
|
|
353 |
"gravity" => "n",
|
354 |
"fade" => "0"
|
355 |
),
|
356 |
-
"label" => __("Tooltip", "
|
357 |
-
"content" => __("Trigger text", "
|
358 |
-
"description" => __("Add a tooltip that appears on hover. Possible values for direction(Cardinal) of bubble: nw | n | ne | w | e | sw | s | se", "
|
359 |
)
|
360 |
);
|
361 |
echo "<script type=\"text/javascript\">var shortcodes = ".json_encode($shortcodes).";</script>";
|
7 |
"target" => "_self",
|
8 |
"position" => "left"
|
9 |
),
|
10 |
+
"label" => __("Brown Button", "wp-shortcode"),
|
11 |
+
"content" => __("Button text", "wp-shortcode"),
|
12 |
+
"description" => __("Inserts a brown button. Set target to <strong>_blank</strong> to open link in a new window.", "wp-shortcode")
|
13 |
),
|
14 |
"button-blue" => array(
|
15 |
"self-closing" => false,
|
18 |
"target" => "_self",
|
19 |
"position" => "left"
|
20 |
),
|
21 |
+
"label" => __("Blue Button", "wp-shortcode"),
|
22 |
+
"content" => __("Button text", "wp-shortcode") ,
|
23 |
+
"description" => __("Inserts a blue button. Set target to <strong>_blank</strong> to open link in a new window.", "wp-shortcode")
|
24 |
),
|
25 |
"button-green" => array(
|
26 |
"self-closing" => false,
|
29 |
"target" => "_self",
|
30 |
"position" => "left"
|
31 |
),
|
32 |
+
"label" => __("Green Button", "wp-shortcode"),
|
33 |
+
"content" => __("Button text", "wp-shortcode") ,
|
34 |
+
"description" => __("Inserts a green button. Set target to <strong>_blank</strong> to open link in a new window.", "wp-shortcode")
|
35 |
),
|
36 |
"button-yellow" => array(
|
37 |
"self-closing" => false,
|
40 |
"target" => "_self",
|
41 |
"position" => "left"
|
42 |
),
|
43 |
+
"label" => __("Yellow Button", "wp-shortcode"),
|
44 |
+
"content" => __("Button text", "wp-shortcode") ,
|
45 |
+
"description" => __("Inserts a yellow button. Set target to <strong>_blank</strong> to open link in a new window.", "wp-shortcode")
|
46 |
),
|
47 |
"button-red" => array(
|
48 |
"self-closing" => false,
|
51 |
"target" => "_self",
|
52 |
"position" => "left"
|
53 |
),
|
54 |
+
"label" => __("Red Button", "wp-shortcode"),
|
55 |
+
"content" => __("Button text", "wp-shortcode") ,
|
56 |
+
"description" => __("Inserts a red button. Set target to <strong>_blank</strong> to open link in a new window.", "wp-shortcode")
|
57 |
),
|
58 |
"button-white" => array(
|
59 |
"self-closing" => false,
|
62 |
"target" => "_self",
|
63 |
"position" => "left"
|
64 |
),
|
65 |
+
"label" => __("White Button", "wp-shortcode"),
|
66 |
+
"content" => __("Button text", "wp-shortcode") ,
|
67 |
+
"description" => __("Inserts a white button. Set target to <strong>_blank</strong> to open link in a new window.", "wp-shortcode")
|
68 |
),
|
69 |
"alert-note" => array(
|
70 |
"self-closing" => false,
|
71 |
"atts" => array(),
|
72 |
+
"label" => __("Alert Note", "wp-shortcode"),
|
73 |
+
"content" => __("Note text", "wp-shortcode"),
|
74 |
+
"description" => __("Display a note.", "wp-shortcode")
|
75 |
),
|
76 |
"alert-announce" => array(
|
77 |
"self-closing" => false,
|
78 |
"atts" => array(),
|
79 |
+
"label" => __("Alert Announce", "wp-shortcode"),
|
80 |
+
"content" => __("Announce text", "wp-shortcode"),
|
81 |
+
"description" => __("Display an announcement.", "wp-shortcode")
|
82 |
),
|
83 |
"alert-success" => array(
|
84 |
"self-closing" => false,
|
85 |
"atts" => array(),
|
86 |
+
"label" => __("Alert Success", "wp-shortcode"),
|
87 |
+
"content" => __("Success text", "wp-shortcode"),
|
88 |
+
"description" => __("Display a success message.", "wp-shortcode")
|
89 |
),
|
90 |
"alert-warning" => array(
|
91 |
"self-closing" => false,
|
92 |
"atts" => array(),
|
93 |
+
"label" => __("Alert Warning", "wp-shortcode"),
|
94 |
+
"content" => __("Warning text", "wp-shortcode"),
|
95 |
+
"description" => __("Display warning or error message.", "wp-shortcode")
|
96 |
),
|
97 |
"youtube" => array(
|
98 |
"self-closing" => true,
|
102 |
"height" => "340",
|
103 |
"position" => "left"
|
104 |
),
|
105 |
+
"label" => __("YouTube Video", "wp-shortcode"),
|
106 |
"content" => "",
|
107 |
+
"description" => __("Embed a Youtube Video", "wp-shortcode")
|
108 |
),
|
109 |
"vimeo" => array(
|
110 |
"self-closing" => true,
|
114 |
"height" => "340",
|
115 |
"position" => "left"
|
116 |
),
|
117 |
+
"label" => __("Vimeo Video", "wp-shortcode"),
|
118 |
"content" => "",
|
119 |
+
"description" => __("Embed a Vimeo Video.", "wp-shortcode")
|
120 |
),
|
121 |
"googlemap" => array(
|
122 |
"self-closing" => true,
|
126 |
"height" => "340",
|
127 |
"position" => "left"
|
128 |
),
|
129 |
+
"label" => __("Google Map", "wp-shortcode"),
|
130 |
"content" => "",
|
131 |
+
"description" => __("Embed a Google Map. Insert address or GPS location.", "wp-shortcode")
|
132 |
),
|
133 |
"toggle" => array(
|
134 |
"self-closing" => false,
|
135 |
"atts" => array(
|
136 |
"title" => "Toggle Title"
|
137 |
),
|
138 |
+
"label" => __("Toggle", "wp-shortcode"),
|
139 |
+
"content" => __("Insert Content Here", "wp-shortcode"),
|
140 |
"content_field" => "textarea",
|
141 |
+
"description" => __("Content will be shown after clicking on the toggle title.", "wp-shortcode")
|
142 |
),
|
143 |
"tabs" => array(
|
144 |
"self-closing" => false,
|
145 |
"atts" => array(),
|
146 |
+
"label" => __("Tabs", "wp-shortcode"),
|
147 |
+
"content" => __("[tab title="Tab 1 Title"]Insert tab 1 content here[/tab]\n[tab title="Tab 2 Title"]Insert tab 2 content here[/tab]\n[tab title="Tab 3 Title"]Insert tab 3 content here[/tab]", "wp-shortcode"),
|
148 |
"content_field" => "textarea",
|
149 |
+
"description" => __("Display content in tabbed form.", "wp-shortcode")
|
150 |
),
|
151 |
"divider" => array(
|
152 |
"self-closing" => true,
|
153 |
"atts" => array(),
|
154 |
"content" => "Divider",
|
155 |
+
"description" => __("Simple horizontal divider.", "wp-shortcode")
|
156 |
),
|
157 |
"divider_top" => array(
|
158 |
"self-closing" => true,
|
159 |
"atts" => array(),
|
160 |
"content" => "Divider with link",
|
161 |
+
"description" => __("Divider with an anchor link to top of page.", "wp-shortcode")
|
162 |
),
|
163 |
"clear" => array(
|
164 |
"self-closing" => true,
|
165 |
"atts" => array(),
|
166 |
+
"label" => __("Clear", "wp-shortcode"),
|
167 |
"content" => "",
|
168 |
+
"description" => __("Clear shortcode can be used to clear an element of its neighbors, no floating elements are allowed on the left or the right side.", "wp-shortcode")
|
169 |
),
|
170 |
|
171 |
// Column Shortcodes
|
173 |
"one_third" => array(
|
174 |
"self-closing" => false,
|
175 |
"atts" => array(),
|
176 |
+
"label" => __("One Third", "wp-shortcode"),
|
177 |
+
"content" => __("Column content", "wp-shortcode"),
|
178 |
"content_field" => "textarea",
|
179 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
180 |
),
|
181 |
"one_third_last" => array(
|
182 |
"self-closing" => false,
|
183 |
"atts" => array(),
|
184 |
+
"label" => __("One Third (Last)", "wp-shortcode"),
|
185 |
+
"content" => __("Column content", "wp-shortcode"),
|
186 |
"content_field" => "textarea",
|
187 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
188 |
),
|
189 |
"two_third" => array(
|
190 |
"self-closing" => false,
|
191 |
"atts" => array(),
|
192 |
+
"label" => __("Two Third", "wp-shortcode"),
|
193 |
+
"content" => __("Column content", "wp-shortcode"),
|
194 |
"content_field" => "textarea",
|
195 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
196 |
),
|
197 |
"two_third_last" => array(
|
198 |
"self-closing" => false,
|
199 |
"atts" => array(),
|
200 |
+
"label" => __("Two Third (Last)", "wp-shortcode"),
|
201 |
+
"content" => __("Column content", "wp-shortcode"),
|
202 |
"content_field" => "textarea",
|
203 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
204 |
),
|
205 |
"one_half" => array(
|
206 |
"self-closing" => false,
|
207 |
"atts" => array(),
|
208 |
+
"label" => __("One Half", "wp-shortcode"),
|
209 |
+
"content" => __("Column content", "wp-shortcode"),
|
210 |
"content_field" => "textarea",
|
211 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
212 |
),
|
213 |
"one_half_last" => array(
|
214 |
"self-closing" => false,
|
215 |
"atts" => array(),
|
216 |
+
"label" => __("One Half (Last)", "wp-shortcode"),
|
217 |
+
"content" => __("Column content", "wp-shortcode"),
|
218 |
"content_field" => "textarea",
|
219 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
220 |
),
|
221 |
"one_fourth" => array(
|
222 |
"self-closing" => false,
|
223 |
"atts" => array(),
|
224 |
+
"label" => __("One Fourth", "wp-shortcode"),
|
225 |
+
"content" => __("Column content", "wp-shortcode"),
|
226 |
"content_field" => "textarea",
|
227 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
228 |
),
|
229 |
"one_fourth_last" => array(
|
230 |
"self-closing" => false,
|
231 |
"atts" => array(),
|
232 |
+
"label" => __("One Fourth (Last)", "wp-shortcode"),
|
233 |
+
"content" => __("Column content", "wp-shortcode"),
|
234 |
"content_field" => "textarea",
|
235 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
236 |
),
|
237 |
"three_fourth" => array(
|
238 |
"self-closing" => false,
|
239 |
"atts" => array(),
|
240 |
+
"label" => __("Three Fourth", "wp-shortcode"),
|
241 |
+
"content" => __("Column content", "wp-shortcode"),
|
242 |
"content_field" => "textarea",
|
243 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
244 |
),
|
245 |
"three_fourth_last" => array(
|
246 |
"self-closing" => false,
|
247 |
"atts" => array(),
|
248 |
+
"label" => __("Three Fourth (Last)", "wp-shortcode"),
|
249 |
+
"content" => __("Column content", "wp-shortcode"),
|
250 |
"content_field" => "textarea",
|
251 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
252 |
),
|
253 |
"one_fifth" => array(
|
254 |
"self-closing" => false,
|
255 |
"atts" => array(),
|
256 |
+
"label" => __("One Fifth", "wp-shortcode"),
|
257 |
+
"content" => __("Column content", "wp-shortcode"),
|
258 |
"content_field" => "textarea",
|
259 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
260 |
),
|
261 |
"one_fifth_last" => array(
|
262 |
"self-closing" => false,
|
263 |
"atts" => array(),
|
264 |
+
"label" => __("One Fifth (Last)", "wp-shortcode"),
|
265 |
+
"content" => __("Column content", "wp-shortcode"),
|
266 |
"content_field" => "textarea",
|
267 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
268 |
),
|
269 |
"two_fifth" => array(
|
270 |
"self-closing" => false,
|
271 |
"atts" => array(),
|
272 |
+
"label" => __("Two Fifth", "wp-shortcode"),
|
273 |
+
"content" => __("Column content", "wp-shortcode"),
|
274 |
"content_field" => "textarea",
|
275 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
276 |
),
|
277 |
"two_fifth_last" => array(
|
278 |
"self-closing" => false,
|
279 |
"atts" => array(),
|
280 |
+
"label" => __("Two Fifth (Last)", "wp-shortcode"),
|
281 |
+
"content" => __("Column content", "wp-shortcode"),
|
282 |
"content_field" => "textarea",
|
283 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
284 |
),
|
285 |
"three_fifth" => array(
|
286 |
"self-closing" => false,
|
287 |
"atts" => array(),
|
288 |
+
"label" => __("Three Fifth", "wp-shortcode"),
|
289 |
+
"content" => __("Column content", "wp-shortcode"),
|
290 |
"content_field" => "textarea",
|
291 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
292 |
),
|
293 |
"three_fifth_last" => array(
|
294 |
"self-closing" => false,
|
295 |
"atts" => array(),
|
296 |
+
"label" => __("Three Fifth (Last)", "wp-shortcode"),
|
297 |
+
"content" => __("Column content", "wp-shortcode"),
|
298 |
"content_field" => "textarea",
|
299 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
300 |
),
|
301 |
"four_fifth" => array(
|
302 |
"self-closing" => false,
|
303 |
"atts" => array(),
|
304 |
+
"label" => __("Four Fifth", "wp-shortcode"),
|
305 |
+
"content" => __("Column content", "wp-shortcode"),
|
306 |
"content_field" => "textarea",
|
307 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
308 |
),
|
309 |
"four_fifth_last" => array(
|
310 |
"self-closing" => false,
|
311 |
"atts" => array(),
|
312 |
+
"label" => __("Four Fifth (Last)", "wp-shortcode"),
|
313 |
+
"content" => __("Column content", "wp-shortcode"),
|
314 |
"content_field" => "textarea",
|
315 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
316 |
),
|
317 |
"one_sixth" => array(
|
318 |
"self-closing" => false,
|
319 |
"atts" => array(),
|
320 |
+
"label" => __("One Sixth", "wp-shortcode"),
|
321 |
+
"content" => __("Column content", "wp-shortcode"),
|
322 |
"content_field" => "textarea",
|
323 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
324 |
),
|
325 |
"one_sixth_last" => array(
|
326 |
"self-closing" => false,
|
327 |
"atts" => array(),
|
328 |
+
"label" => __("One Sixth (Last)", "wp-shortcode"),
|
329 |
+
"content" => __("Column content", "wp-shortcode"),
|
330 |
"content_field" => "textarea",
|
331 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
332 |
),
|
333 |
"five_sixth" => array(
|
334 |
"self-closing" => false,
|
335 |
"atts" => array(),
|
336 |
+
"label" => __("Five Sixth", "wp-shortcode"),
|
337 |
+
"content" => __("Column content", "wp-shortcode"),
|
338 |
"content_field" => "textarea",
|
339 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
340 |
),
|
341 |
"five_sixth_last" => array(
|
342 |
"self-closing" => false,
|
343 |
"atts" => array(),
|
344 |
+
"label" => __("Five Sixth (Last)", "wp-shortcode"),
|
345 |
+
"content" => __("Column content", "wp-shortcode"),
|
346 |
"content_field" => "textarea",
|
347 |
+
"description" => __("Use column shortcodes in conjunction with their <em>(Last)</em> version, eg. <br /><strong>One Third + One Third + One Third (Last)</strong>", "wp-shortcode")
|
348 |
),
|
349 |
"tooltip" => array(
|
350 |
"self-closing" => false,
|
353 |
"gravity" => "n",
|
354 |
"fade" => "0"
|
355 |
),
|
356 |
+
"label" => __("Tooltip", "wp-shortcode"),
|
357 |
+
"content" => __("Trigger text", "wp-shortcode"),
|
358 |
+
"description" => __("Add a tooltip that appears on hover. Possible values for direction(Cardinal) of bubble: nw | n | ne | w | e | sw | s | se", "wp-shortcode")
|
359 |
)
|
360 |
);
|
361 |
echo "<script type=\"text/javascript\">var shortcodes = ".json_encode($shortcodes).";</script>";
|
wp-shortcode.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP Shortcode by MyThemeShop
|
|
4 |
Plugin URI: http://mythemeshop.com/
|
5 |
Description: With the vast array of shortcodes, you can quickly and easily build content for your posts and pages and turbocharge your blogging experience.
|
6 |
Author: MyThemeShop
|
7 |
-
Version: 1.4.
|
8 |
Author URI: http://mythemeshop.com/
|
9 |
*/
|
10 |
|
@@ -24,7 +24,7 @@ function mts_wpshortcodes_scripts() {
|
|
24 |
add_action('wp_enqueue_scripts', 'mts_wpshortcodes_scripts', 99);
|
25 |
|
26 |
function mts_wpshortcodes_load_textdomain() {
|
27 |
-
load_plugin_textdomain( '
|
28 |
}
|
29 |
add_action( 'plugins_loaded', 'mts_wpshortcodes_load_textdomain' );
|
30 |
|
@@ -380,7 +380,7 @@ function no_texturize_tabs($shortcodes){
|
|
380 |
|
381 |
function mts_toggle( $atts, $content = null ) {
|
382 |
extract(shortcode_atts(array(
|
383 |
-
'title' => __('Toggle Title', '
|
384 |
), $atts));
|
385 |
|
386 |
return '<div class="toggle clearfix wp_shortcodes_toggle"><div class="wps_togglet"><span>' . $title . '</span></div><div class="togglec clearfix">' . do_shortcode(trim($content)) . '</div></div><div class="clear"></div>';
|
@@ -396,7 +396,7 @@ function mts_divider( $atts ) {
|
|
396 |
|
397 |
// Divider with an anchor link to top of page.
|
398 |
function mts_divider_top( $atts ) {
|
399 |
-
return '<div class="top-of-page"><a href="#top">'.__('Back to Top', '
|
400 |
}
|
401 |
|
402 |
// Used to clear an element of its neighbors, no floating elements are allowed on the left or the right side.
|
4 |
Plugin URI: http://mythemeshop.com/
|
5 |
Description: With the vast array of shortcodes, you can quickly and easily build content for your posts and pages and turbocharge your blogging experience.
|
6 |
Author: MyThemeShop
|
7 |
+
Version: 1.4.2
|
8 |
Author URI: http://mythemeshop.com/
|
9 |
*/
|
10 |
|
24 |
add_action('wp_enqueue_scripts', 'mts_wpshortcodes_scripts', 99);
|
25 |
|
26 |
function mts_wpshortcodes_load_textdomain() {
|
27 |
+
load_plugin_textdomain( 'wp-shortcode', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
28 |
}
|
29 |
add_action( 'plugins_loaded', 'mts_wpshortcodes_load_textdomain' );
|
30 |
|
380 |
|
381 |
function mts_toggle( $atts, $content = null ) {
|
382 |
extract(shortcode_atts(array(
|
383 |
+
'title' => __('Toggle Title', 'wp-shortcode')
|
384 |
), $atts));
|
385 |
|
386 |
return '<div class="toggle clearfix wp_shortcodes_toggle"><div class="wps_togglet"><span>' . $title . '</span></div><div class="togglec clearfix">' . do_shortcode(trim($content)) . '</div></div><div class="clear"></div>';
|
396 |
|
397 |
// Divider with an anchor link to top of page.
|
398 |
function mts_divider_top( $atts ) {
|
399 |
+
return '<div class="top-of-page"><a href="#top">'.__('Back to Top', 'wp-shortcode').'</a></div>';
|
400 |
}
|
401 |
|
402 |
// Used to clear an element of its neighbors, no floating elements are allowed on the left or the right side.
|