Version Description
- The code block that enqueue the CodeMirror library files is moved to a separate function '_load_scripts_codemirror' within the 'enqueue.php' file.
- Enqueue of the CodeMirror addons is moved to the beginning of the queue, before enqueuing the CodeMirror mods.
- Some texts updated, and typos are corrected.
- All translation files are updated.
Download this release
Release Info
Developer | Arthur Gareginyan |
Plugin | Head and Footer Scripts Inserter |
Version | 4.25 |
Comparing to | |
See all releases |
Code changes from version 4.24 to 4.25
- header-and-footer-scripts-inserter.php +1 -1
- inc/php/enqueue.php +43 -17
- inc/php/page.php +2 -2
- inc/php/settings.php +9 -9
- inc/php/sidebar.php +1 -1
- languages/header-and-footer-scripts-inserter-de_DE.mo +0 -0
- languages/header-and-footer-scripts-inserter-de_DE.po +11 -11
- languages/header-and-footer-scripts-inserter-es_ES.mo +0 -0
- languages/header-and-footer-scripts-inserter-es_ES.po +11 -11
- languages/header-and-footer-scripts-inserter-pl_PL.mo +0 -0
- languages/header-and-footer-scripts-inserter-pl_PL.po +11 -11
- languages/header-and-footer-scripts-inserter-ru_RU.mo +0 -0
- languages/header-and-footer-scripts-inserter-ru_RU.po +11 -11
- languages/header-and-footer-scripts-inserter.pot +10 -10
- readme.txt +9 -3
header-and-footer-scripts-inserter.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Easily add your scripts to the WordPress website's head and footer sections. This is a must have tool for authors and website's owners.
|
6 |
* Author: Space X-Chimp
|
7 |
* Author URI: https://www.spacexchimp.com
|
8 |
-
* Version: 4.
|
9 |
* License: GPL3
|
10 |
* Text Domain: header-and-footer-scripts-inserter
|
11 |
* Domain Path: /languages/
|
5 |
* Description: Easily add your scripts to the WordPress website's head and footer sections. This is a must have tool for authors and website's owners.
|
6 |
* Author: Space X-Chimp
|
7 |
* Author URI: https://www.spacexchimp.com
|
8 |
+
* Version: 4.25
|
9 |
* License: GPL3
|
10 |
* Text Domain: header-and-footer-scripts-inserter
|
11 |
* Domain Path: /languages/
|
inc/php/enqueue.php
CHANGED
@@ -5,6 +5,47 @@
|
|
5 |
*/
|
6 |
defined( 'ABSPATH' ) or die( "Restricted access!" );
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
/**
|
9 |
* Load scripts and style sheet for settings page
|
10 |
*/
|
@@ -31,23 +72,8 @@ function spacexchimp_p006_load_scripts_admin( $hook ) {
|
|
31 |
// Font Awesome library
|
32 |
wp_enqueue_style( $prefix . '-font-awesome-css', $url . 'inc/lib/font-awesome/css/font-awesome.css', array(), $version, 'screen' );
|
33 |
|
34 |
-
// CodeMirror library
|
35 |
-
|
36 |
-
wp_enqueue_script( $prefix . '-codemirror-js', $url . 'inc/lib/codemirror/lib/codemirror.js', array(), $version, false );
|
37 |
-
wp_enqueue_script( $prefix . '-codemirror-settings-js', $url . 'inc/js/codemirror-settings.js', array(), $version, true );
|
38 |
-
$modes = array( 'css', 'htmlmixed', 'javascript', 'xml' );
|
39 |
-
foreach ( $modes as $mode ) {
|
40 |
-
wp_enqueue_script( $prefix . '-codemirror-mode-' . $mode . '-js', $url . 'inc/lib/codemirror/mode/' . $mode . '/' . $mode . '.js', array(), $version, true );
|
41 |
-
}
|
42 |
-
$addons = array(
|
43 |
-
'display' => array( 'autorefresh', 'placeholder' ),
|
44 |
-
'selection' => array( 'active-line' )
|
45 |
-
);
|
46 |
-
foreach ( $addons as $addons_group_name => $addons_group ) {
|
47 |
-
foreach ( $addons_group as $addon ) {
|
48 |
-
wp_enqueue_script( $prefix . '-codemirror-addon-' . $addon . '-js', $url . 'inc/lib/codemirror/addon/' . $addons_group_name . '/' . $addon . '.js', array(), $version, false );
|
49 |
-
}
|
50 |
-
}
|
51 |
|
52 |
// Style sheet
|
53 |
wp_enqueue_style( $prefix . '-admin-css', $url . 'inc/css/admin.css', array(), $version, 'all' );
|
5 |
*/
|
6 |
defined( 'ABSPATH' ) or die( "Restricted access!" );
|
7 |
|
8 |
+
/**
|
9 |
+
* Callback to enqueue the CodeMirror library
|
10 |
+
*/
|
11 |
+
function spacexchimp_p006_load_scripts_codemirror() {
|
12 |
+
|
13 |
+
// Put value of constants to variables for easier access
|
14 |
+
$prefix = SPACEXCHIMP_P006_PREFIX;
|
15 |
+
$url = SPACEXCHIMP_P006_URL;
|
16 |
+
$version = SPACEXCHIMP_P006_VERSION;
|
17 |
+
|
18 |
+
// Enqueue main files of the CodeMirror library
|
19 |
+
wp_enqueue_style( $prefix . '-codemirror-css', $url . 'inc/lib/codemirror/lib/codemirror.css', array(), $version, 'all' );
|
20 |
+
wp_enqueue_script( $prefix . '-codemirror-js', $url . 'inc/lib/codemirror/lib/codemirror.js', array(), $version, false );
|
21 |
+
|
22 |
+
// Enqueue settings file
|
23 |
+
wp_enqueue_script( $prefix . '-codemirror-settings-js', $url . 'inc/js/codemirror-settings.js', array(), $version, true );
|
24 |
+
|
25 |
+
// Enqueue addons
|
26 |
+
$addons = array(
|
27 |
+
'display' => array( 'autorefresh', 'placeholder' ),
|
28 |
+
'selection' => array( 'active-line' )
|
29 |
+
);
|
30 |
+
foreach ( $addons as $addons_group_name => $addons_group ) {
|
31 |
+
foreach ( $addons_group as $addon ) {
|
32 |
+
wp_enqueue_script( $prefix . '-codemirror-addon-' . $addon . '-js', $url . 'inc/lib/codemirror/addon/' . $addons_group_name . '/' . $addon . '.js', array(), $version, false );
|
33 |
+
}
|
34 |
+
}
|
35 |
+
|
36 |
+
// Enqueue modes
|
37 |
+
$modes = array(
|
38 |
+
'css',
|
39 |
+
'htmlmixed',
|
40 |
+
'javascript',
|
41 |
+
'xml'
|
42 |
+
);
|
43 |
+
foreach ( $modes as $mode ) {
|
44 |
+
wp_enqueue_script( $prefix . '-codemirror-mode-' . $mode . '-js', $url . 'inc/lib/codemirror/mode/' . $mode . '/' . $mode . '.js', array(), $version, true );
|
45 |
+
}
|
46 |
+
|
47 |
+
}
|
48 |
+
|
49 |
/**
|
50 |
* Load scripts and style sheet for settings page
|
51 |
*/
|
72 |
// Font Awesome library
|
73 |
wp_enqueue_style( $prefix . '-font-awesome-css', $url . 'inc/lib/font-awesome/css/font-awesome.css', array(), $version, 'screen' );
|
74 |
|
75 |
+
// Call the function that enqueue the CodeMirror library
|
76 |
+
spacexchimp_p006_load_scripts_codemirror();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
|
78 |
// Style sheet
|
79 |
wp_enqueue_style( $prefix . '-admin-css', $url . 'inc/css/admin.css', array(), $version, 'all' );
|
inc/php/page.php
CHANGED
@@ -152,7 +152,7 @@ function spacexchimp_p006_render_submenu_page() {
|
|
152 |
<div class="answer-6"><?php _e( 'This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page. But you need to know the HTML or CSS in order to add/remove/modify the HTML or CSS code by using this plugin.', $text ); ?></div>
|
153 |
|
154 |
<div class="question-7"><?php _e( 'Can I add my script to a specific page of my website?', $text ); ?></div>
|
155 |
-
<div class="answer-7"><?php _e( 'For now, this plugin does not have an option to apply the custom scripts only on specific pages.
|
156 |
<pre><code>function my_custom_script() {
|
157 |
|
158 |
// Stop the function if this is not the Home page of website
|
@@ -165,7 +165,7 @@ function spacexchimp_p006_render_submenu_page() {
|
|
165 |
}
|
166 |
add_action( 'wp_head', 'my_custom_script' );</code></pre>
|
167 |
<?php printf(
|
168 |
-
__( 'To apply the PHP code on a website,
|
169 |
'<a href="https://wordpress.org/plugins/my-custom-functions/" target="_blank">My Custom Functions</a>'
|
170 |
);
|
171 |
?></div>
|
152 |
<div class="answer-6"><?php _e( 'This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page. But you need to know the HTML or CSS in order to add/remove/modify the HTML or CSS code by using this plugin.', $text ); ?></div>
|
153 |
|
154 |
<div class="question-7"><?php _e( 'Can I add my script to a specific page of my website?', $text ); ?></div>
|
155 |
+
<div class="answer-7"><?php _e( 'For now, this plugin does not have an option to apply the custom scripts only on specific pages. We plan to add this feature soon. But for now in order to apply your script only on specific pages of your website, you need to wrap your script in a PHP code that will determine the page you want. You need something like this:', $text ); ?><br><br>
|
156 |
<pre><code>function my_custom_script() {
|
157 |
|
158 |
// Stop the function if this is not the Home page of website
|
165 |
}
|
166 |
add_action( 'wp_head', 'my_custom_script' );</code></pre>
|
167 |
<?php printf(
|
168 |
+
__( 'To apply the PHP code on a website, we can recommend you to use another our plugin called %s.', $text ),
|
169 |
'<a href="https://wordpress.org/plugins/my-custom-functions/" target="_blank">My Custom Functions</a>'
|
170 |
);
|
171 |
?></div>
|
inc/php/settings.php
CHANGED
@@ -30,20 +30,20 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
30 |
<div class="postbox" id="head">
|
31 |
<h3 class="title"><?php _e( 'Head Section', $text ); ?></h3>
|
32 |
<div class="inside">
|
33 |
-
<p class="note"><?php _e( 'You can use the fields below to add scripts to HEAD section of your website.', $text ); ?></p>
|
34 |
|
35 |
-
<p class='help-text'><?php _e( 'Scripts from this field will be printed in the beginning of
|
36 |
<textarea
|
37 |
name="spacexchimp_p006_settings[header_beginning]"
|
38 |
id="spacexchimp_p006_settings[header_beginning]"
|
39 |
-
placeholder="<?php _e( 'Enter your scripts here', $text ); ?>"
|
40 |
><?php echo $header_beginning; ?></textarea>
|
41 |
|
42 |
-
<p class='help-text'><?php _e( 'Scripts from this field will be printed in the end of
|
43 |
<textarea
|
44 |
name="spacexchimp_p006_settings[header_end]"
|
45 |
id="spacexchimp_p006_settings[header_end]"
|
46 |
-
placeholder="<?php _e( 'Enter your scripts here', $text ); ?>"
|
47 |
><?php echo $header_end; ?></textarea>
|
48 |
|
49 |
<input type="submit" name="submit" id="submit" class="btn btn-primary" value="<?php _e( 'Save changes', $text ); ?>">
|
@@ -53,20 +53,20 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
53 |
<div class="postbox" id="footer">
|
54 |
<h3 class="title"><?php _e( 'Footer Section', $text ); ?></h3>
|
55 |
<div class="inside">
|
56 |
-
<p class="note"><?php _e( 'You can use the fields below to add scripts to FOOTER section of your website.', $text ); ?></p>
|
57 |
|
58 |
-
<p class='help-text'><?php _e( 'Scripts from this field will be printed before a
|
59 |
<textarea
|
60 |
name="spacexchimp_p006_settings[footer_beginning]"
|
61 |
id="spacexchimp_p006_settings[footer_beginning]"
|
62 |
-
placeholder="<?php _e( 'Enter your scripts here', $text ); ?>"
|
63 |
><?php echo $footer_beginning; ?></textarea>
|
64 |
|
65 |
<p class='help-text'><?php _e( 'Scripts from this field will be printed after all footers scripts. Do not place plain text in this!', $text ); ?></p>
|
66 |
<textarea
|
67 |
name="spacexchimp_p006_settings[footer_end]"
|
68 |
id="spacexchimp_p006_settings[footer_end]"
|
69 |
-
placeholder="<?php _e( 'Enter your scripts here', $text ); ?>"
|
70 |
><?php echo $footer_end; ?></textarea>
|
71 |
|
72 |
<input type="submit" name="submit" id="submit" class="btn btn-primary" value="<?php _e( 'Save changes', $text ); ?>">
|
30 |
<div class="postbox" id="head">
|
31 |
<h3 class="title"><?php _e( 'Head Section', $text ); ?></h3>
|
32 |
<div class="inside">
|
33 |
+
<p class="note"><?php _e( 'You can use the fields below to add your custom scripts to HEAD section of your website.', $text ); ?></p>
|
34 |
|
35 |
+
<p class='help-text'><?php _e( 'Scripts from this field will be printed in the beginning of HEAD section. Do not place plain text in this!', $text ); ?></p>
|
36 |
<textarea
|
37 |
name="spacexchimp_p006_settings[header_beginning]"
|
38 |
id="spacexchimp_p006_settings[header_beginning]"
|
39 |
+
placeholder="<?php _e( 'Enter your custom scripts here', $text ); ?>"
|
40 |
><?php echo $header_beginning; ?></textarea>
|
41 |
|
42 |
+
<p class='help-text'><?php _e( 'Scripts from this field will be printed in the end of HEAD section. Do not place plain text in this!', $text ); ?></p>
|
43 |
<textarea
|
44 |
name="spacexchimp_p006_settings[header_end]"
|
45 |
id="spacexchimp_p006_settings[header_end]"
|
46 |
+
placeholder="<?php _e( 'Enter your custom scripts here', $text ); ?>"
|
47 |
><?php echo $header_end; ?></textarea>
|
48 |
|
49 |
<input type="submit" name="submit" id="submit" class="btn btn-primary" value="<?php _e( 'Save changes', $text ); ?>">
|
53 |
<div class="postbox" id="footer">
|
54 |
<h3 class="title"><?php _e( 'Footer Section', $text ); ?></h3>
|
55 |
<div class="inside">
|
56 |
+
<p class="note"><?php _e( 'You can use the fields below to add your custom scripts to FOOTER section of your website.', $text ); ?></p>
|
57 |
|
58 |
+
<p class='help-text'><?php _e( 'Scripts from this field will be printed before a footer scripts. Do not place plain text in this!', $text ); ?></p>
|
59 |
<textarea
|
60 |
name="spacexchimp_p006_settings[footer_beginning]"
|
61 |
id="spacexchimp_p006_settings[footer_beginning]"
|
62 |
+
placeholder="<?php _e( 'Enter your custom scripts here', $text ); ?>"
|
63 |
><?php echo $footer_beginning; ?></textarea>
|
64 |
|
65 |
<p class='help-text'><?php _e( 'Scripts from this field will be printed after all footers scripts. Do not place plain text in this!', $text ); ?></p>
|
66 |
<textarea
|
67 |
name="spacexchimp_p006_settings[footer_end]"
|
68 |
id="spacexchimp_p006_settings[footer_end]"
|
69 |
+
placeholder="<?php _e( 'Enter your custom scripts here', $text ); ?>"
|
70 |
><?php echo $footer_end; ?></textarea>
|
71 |
|
72 |
<input type="submit" name="submit" id="submit" class="btn btn-primary" value="<?php _e( 'Save changes', $text ); ?>">
|
inc/php/sidebar.php
CHANGED
@@ -15,7 +15,7 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
15 |
<div class="postbox about">
|
16 |
<h3 class="title"><?php _e( 'About', $text ); ?></h3>
|
17 |
<div class="inside">
|
18 |
-
<p><?php _e( 'This plugin allows you to easily insert scripts in your website.', $text ); ?></p>
|
19 |
</div>
|
20 |
</div>
|
21 |
|
15 |
<div class="postbox about">
|
16 |
<h3 class="title"><?php _e( 'About', $text ); ?></h3>
|
17 |
<div class="inside">
|
18 |
+
<p><?php _e( 'This plugin allows you to easily insert your custom scripts in your website.', $text ); ?></p>
|
19 |
</div>
|
20 |
</div>
|
21 |
|
languages/header-and-footer-scripts-inserter-de_DE.mo
CHANGED
Binary file
|
languages/header-and-footer-scripts-inserter-de_DE.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
-
"POT-Creation-Date: 2018-
|
7 |
-
"PO-Revision-Date: 2018-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: German\n"
|
10 |
"Language: de_DE\n"
|
@@ -197,12 +197,12 @@ msgid "Can I add my script to a specific page of my website?"
|
|
197 |
msgstr ""
|
198 |
|
199 |
#: inc/php/page.php:155
|
200 |
-
msgid "For now, this plugin does not have an option to apply the custom scripts only on specific pages.
|
201 |
msgstr ""
|
202 |
|
203 |
#: inc/php/page.php:168
|
204 |
#, php-format
|
205 |
-
msgid "To apply the PHP code on a website,
|
206 |
msgstr ""
|
207 |
|
208 |
#: inc/php/page.php:173
|
@@ -295,20 +295,20 @@ msgid "Head Section"
|
|
295 |
msgstr ""
|
296 |
|
297 |
#: inc/php/settings.php:33
|
298 |
-
msgid "You can use the fields below to add scripts to HEAD section of your website."
|
299 |
msgstr ""
|
300 |
|
301 |
#: inc/php/settings.php:35
|
302 |
-
msgid "Scripts from this field will be printed in the beginning of
|
303 |
msgstr ""
|
304 |
|
305 |
#: inc/php/settings.php:39 inc/php/settings.php:46 inc/php/settings.php:62
|
306 |
#: inc/php/settings.php:69
|
307 |
-
msgid "Enter your scripts here"
|
308 |
msgstr ""
|
309 |
|
310 |
#: inc/php/settings.php:42
|
311 |
-
msgid "Scripts from this field will be printed in the end of
|
312 |
msgstr ""
|
313 |
|
314 |
#: inc/php/settings.php:49 inc/php/settings.php:72
|
@@ -320,11 +320,11 @@ msgid "Footer Section"
|
|
320 |
msgstr ""
|
321 |
|
322 |
#: inc/php/settings.php:56
|
323 |
-
msgid "You can use the fields below to add scripts to FOOTER section of your website."
|
324 |
msgstr ""
|
325 |
|
326 |
#: inc/php/settings.php:58
|
327 |
-
msgid "Scripts from this field will be printed before a
|
328 |
msgstr ""
|
329 |
|
330 |
#: inc/php/settings.php:65
|
@@ -344,7 +344,7 @@ msgid "About"
|
|
344 |
msgstr "Über"
|
345 |
|
346 |
#: inc/php/sidebar.php:18
|
347 |
-
msgid "This plugin allows you to easily insert scripts in your website."
|
348 |
msgstr ""
|
349 |
|
350 |
#: inc/php/sidebar.php:23
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2018-07-12 01:16+0300\n"
|
7 |
+
"PO-Revision-Date: 2018-07-12 01:16+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: German\n"
|
10 |
"Language: de_DE\n"
|
197 |
msgstr ""
|
198 |
|
199 |
#: inc/php/page.php:155
|
200 |
+
msgid "For now, this plugin does not have an option to apply the custom scripts only on specific pages. We plan to add this feature soon. But for now in order to apply your script only on specific pages of your website, you need to wrap your script in a PHP code that will determine the page you want. You need something like this:"
|
201 |
msgstr ""
|
202 |
|
203 |
#: inc/php/page.php:168
|
204 |
#, php-format
|
205 |
+
msgid "To apply the PHP code on a website, we can recommend you to use another our plugin called %s."
|
206 |
msgstr ""
|
207 |
|
208 |
#: inc/php/page.php:173
|
295 |
msgstr ""
|
296 |
|
297 |
#: inc/php/settings.php:33
|
298 |
+
msgid "You can use the fields below to add your custom scripts to HEAD section of your website."
|
299 |
msgstr ""
|
300 |
|
301 |
#: inc/php/settings.php:35
|
302 |
+
msgid "Scripts from this field will be printed in the beginning of HEAD section. Do not place plain text in this!"
|
303 |
msgstr ""
|
304 |
|
305 |
#: inc/php/settings.php:39 inc/php/settings.php:46 inc/php/settings.php:62
|
306 |
#: inc/php/settings.php:69
|
307 |
+
msgid "Enter your custom scripts here"
|
308 |
msgstr ""
|
309 |
|
310 |
#: inc/php/settings.php:42
|
311 |
+
msgid "Scripts from this field will be printed in the end of HEAD section. Do not place plain text in this!"
|
312 |
msgstr ""
|
313 |
|
314 |
#: inc/php/settings.php:49 inc/php/settings.php:72
|
320 |
msgstr ""
|
321 |
|
322 |
#: inc/php/settings.php:56
|
323 |
+
msgid "You can use the fields below to add your custom scripts to FOOTER section of your website."
|
324 |
msgstr ""
|
325 |
|
326 |
#: inc/php/settings.php:58
|
327 |
+
msgid "Scripts from this field will be printed before a footer scripts. Do not place plain text in this!"
|
328 |
msgstr ""
|
329 |
|
330 |
#: inc/php/settings.php:65
|
344 |
msgstr "Über"
|
345 |
|
346 |
#: inc/php/sidebar.php:18
|
347 |
+
msgid "This plugin allows you to easily insert your custom scripts in your website."
|
348 |
msgstr ""
|
349 |
|
350 |
#: inc/php/sidebar.php:23
|
languages/header-and-footer-scripts-inserter-es_ES.mo
CHANGED
Binary file
|
languages/header-and-footer-scripts-inserter-es_ES.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
-
"POT-Creation-Date: 2018-
|
7 |
-
"PO-Revision-Date: 2018-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Spanish\n"
|
10 |
"Language: es_ES\n"
|
@@ -197,12 +197,12 @@ msgid "Can I add my script to a specific page of my website?"
|
|
197 |
msgstr ""
|
198 |
|
199 |
#: inc/php/page.php:155
|
200 |
-
msgid "For now, this plugin does not have an option to apply the custom scripts only on specific pages.
|
201 |
msgstr ""
|
202 |
|
203 |
#: inc/php/page.php:168
|
204 |
#, php-format
|
205 |
-
msgid "To apply the PHP code on a website,
|
206 |
msgstr ""
|
207 |
|
208 |
#: inc/php/page.php:173
|
@@ -295,20 +295,20 @@ msgid "Head Section"
|
|
295 |
msgstr ""
|
296 |
|
297 |
#: inc/php/settings.php:33
|
298 |
-
msgid "You can use the fields below to add scripts to HEAD section of your website."
|
299 |
msgstr ""
|
300 |
|
301 |
#: inc/php/settings.php:35
|
302 |
-
msgid "Scripts from this field will be printed in the beginning of
|
303 |
msgstr ""
|
304 |
|
305 |
#: inc/php/settings.php:39 inc/php/settings.php:46 inc/php/settings.php:62
|
306 |
#: inc/php/settings.php:69
|
307 |
-
msgid "Enter your scripts here"
|
308 |
msgstr ""
|
309 |
|
310 |
#: inc/php/settings.php:42
|
311 |
-
msgid "Scripts from this field will be printed in the end of
|
312 |
msgstr ""
|
313 |
|
314 |
#: inc/php/settings.php:49 inc/php/settings.php:72
|
@@ -320,11 +320,11 @@ msgid "Footer Section"
|
|
320 |
msgstr ""
|
321 |
|
322 |
#: inc/php/settings.php:56
|
323 |
-
msgid "You can use the fields below to add scripts to FOOTER section of your website."
|
324 |
msgstr ""
|
325 |
|
326 |
#: inc/php/settings.php:58
|
327 |
-
msgid "Scripts from this field will be printed before a
|
328 |
msgstr ""
|
329 |
|
330 |
#: inc/php/settings.php:65
|
@@ -344,7 +344,7 @@ msgid "About"
|
|
344 |
msgstr "Acerca de"
|
345 |
|
346 |
#: inc/php/sidebar.php:18
|
347 |
-
msgid "This plugin allows you to easily insert scripts in your website."
|
348 |
msgstr ""
|
349 |
|
350 |
#: inc/php/sidebar.php:23
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2018-07-12 01:16+0300\n"
|
7 |
+
"PO-Revision-Date: 2018-07-12 01:16+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Spanish\n"
|
10 |
"Language: es_ES\n"
|
197 |
msgstr ""
|
198 |
|
199 |
#: inc/php/page.php:155
|
200 |
+
msgid "For now, this plugin does not have an option to apply the custom scripts only on specific pages. We plan to add this feature soon. But for now in order to apply your script only on specific pages of your website, you need to wrap your script in a PHP code that will determine the page you want. You need something like this:"
|
201 |
msgstr ""
|
202 |
|
203 |
#: inc/php/page.php:168
|
204 |
#, php-format
|
205 |
+
msgid "To apply the PHP code on a website, we can recommend you to use another our plugin called %s."
|
206 |
msgstr ""
|
207 |
|
208 |
#: inc/php/page.php:173
|
295 |
msgstr ""
|
296 |
|
297 |
#: inc/php/settings.php:33
|
298 |
+
msgid "You can use the fields below to add your custom scripts to HEAD section of your website."
|
299 |
msgstr ""
|
300 |
|
301 |
#: inc/php/settings.php:35
|
302 |
+
msgid "Scripts from this field will be printed in the beginning of HEAD section. Do not place plain text in this!"
|
303 |
msgstr ""
|
304 |
|
305 |
#: inc/php/settings.php:39 inc/php/settings.php:46 inc/php/settings.php:62
|
306 |
#: inc/php/settings.php:69
|
307 |
+
msgid "Enter your custom scripts here"
|
308 |
msgstr ""
|
309 |
|
310 |
#: inc/php/settings.php:42
|
311 |
+
msgid "Scripts from this field will be printed in the end of HEAD section. Do not place plain text in this!"
|
312 |
msgstr ""
|
313 |
|
314 |
#: inc/php/settings.php:49 inc/php/settings.php:72
|
320 |
msgstr ""
|
321 |
|
322 |
#: inc/php/settings.php:56
|
323 |
+
msgid "You can use the fields below to add your custom scripts to FOOTER section of your website."
|
324 |
msgstr ""
|
325 |
|
326 |
#: inc/php/settings.php:58
|
327 |
+
msgid "Scripts from this field will be printed before a footer scripts. Do not place plain text in this!"
|
328 |
msgstr ""
|
329 |
|
330 |
#: inc/php/settings.php:65
|
344 |
msgstr "Acerca de"
|
345 |
|
346 |
#: inc/php/sidebar.php:18
|
347 |
+
msgid "This plugin allows you to easily insert your custom scripts in your website."
|
348 |
msgstr ""
|
349 |
|
350 |
#: inc/php/sidebar.php:23
|
languages/header-and-footer-scripts-inserter-pl_PL.mo
CHANGED
Binary file
|
languages/header-and-footer-scripts-inserter-pl_PL.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Header and Footer Scripts Inserter\n"
|
6 |
-
"POT-Creation-Date: 2018-
|
7 |
-
"PO-Revision-Date: 2018-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Polish\n"
|
10 |
"Language: pl_PL\n"
|
@@ -198,12 +198,12 @@ msgid "Can I add my script to a specific page of my website?"
|
|
198 |
msgstr ""
|
199 |
|
200 |
#: inc/php/page.php:155
|
201 |
-
msgid "For now, this plugin does not have an option to apply the custom scripts only on specific pages.
|
202 |
msgstr ""
|
203 |
|
204 |
#: inc/php/page.php:168
|
205 |
#, php-format
|
206 |
-
msgid "To apply the PHP code on a website,
|
207 |
msgstr ""
|
208 |
|
209 |
#: inc/php/page.php:173
|
@@ -296,20 +296,20 @@ msgid "Head Section"
|
|
296 |
msgstr "Sekcja: Nagłówek"
|
297 |
|
298 |
#: inc/php/settings.php:33
|
299 |
-
msgid "You can use the fields below to add scripts to HEAD section of your website."
|
300 |
msgstr "Pola poniżej można użyć, aby dodać kody skryptów do nagłówka witryny."
|
301 |
|
302 |
#: inc/php/settings.php:35
|
303 |
-
msgid "Scripts from this field will be printed in the beginning of
|
304 |
msgstr "Skrypty z tego pola zostaną dodane na początku sekcji <b>HEAD</b>. Nie należy tu umieszczać zwykłego tekstu!"
|
305 |
|
306 |
#: inc/php/settings.php:39 inc/php/settings.php:46 inc/php/settings.php:62
|
307 |
#: inc/php/settings.php:69
|
308 |
-
msgid "Enter your scripts here"
|
309 |
msgstr ""
|
310 |
|
311 |
#: inc/php/settings.php:42
|
312 |
-
msgid "Scripts from this field will be printed in the end of
|
313 |
msgstr "Skrypty z tego pola zostaną dodane na końcu sekcji <b>HEAD</b>. Nie należy tu umieszczać zwykłego tekstu!"
|
314 |
|
315 |
#: inc/php/settings.php:49 inc/php/settings.php:72
|
@@ -321,11 +321,11 @@ msgid "Footer Section"
|
|
321 |
msgstr "Sekcja: Stopka"
|
322 |
|
323 |
#: inc/php/settings.php:56
|
324 |
-
msgid "You can use the fields below to add scripts to FOOTER section of your website."
|
325 |
msgstr "Pola poniżej można użyć, aby dodać kody skryptów do stopki witryny."
|
326 |
|
327 |
#: inc/php/settings.php:58
|
328 |
-
msgid "Scripts from this field will be printed before a
|
329 |
msgstr "Skrypty z tego pola zostaną dodane przed skryptami ze stopki. Nie należy tu umieszczać zwykłego tekstu!"
|
330 |
|
331 |
#: inc/php/settings.php:65
|
@@ -345,7 +345,7 @@ msgid "About"
|
|
345 |
msgstr "O wtyczce"
|
346 |
|
347 |
#: inc/php/sidebar.php:18
|
348 |
-
msgid "This plugin allows you to easily insert scripts in your website."
|
349 |
msgstr "Ta wtyczka pozwala łatwo wstawić kod skryptów na stronę www."
|
350 |
|
351 |
#: inc/php/sidebar.php:23
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Header and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2018-07-12 01:16+0300\n"
|
7 |
+
"PO-Revision-Date: 2018-07-12 01:16+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Polish\n"
|
10 |
"Language: pl_PL\n"
|
198 |
msgstr ""
|
199 |
|
200 |
#: inc/php/page.php:155
|
201 |
+
msgid "For now, this plugin does not have an option to apply the custom scripts only on specific pages. We plan to add this feature soon. But for now in order to apply your script only on specific pages of your website, you need to wrap your script in a PHP code that will determine the page you want. You need something like this:"
|
202 |
msgstr ""
|
203 |
|
204 |
#: inc/php/page.php:168
|
205 |
#, php-format
|
206 |
+
msgid "To apply the PHP code on a website, we can recommend you to use another our plugin called %s."
|
207 |
msgstr ""
|
208 |
|
209 |
#: inc/php/page.php:173
|
296 |
msgstr "Sekcja: Nagłówek"
|
297 |
|
298 |
#: inc/php/settings.php:33
|
299 |
+
msgid "You can use the fields below to add your custom scripts to HEAD section of your website."
|
300 |
msgstr "Pola poniżej można użyć, aby dodać kody skryptów do nagłówka witryny."
|
301 |
|
302 |
#: inc/php/settings.php:35
|
303 |
+
msgid "Scripts from this field will be printed in the beginning of HEAD section. Do not place plain text in this!"
|
304 |
msgstr "Skrypty z tego pola zostaną dodane na początku sekcji <b>HEAD</b>. Nie należy tu umieszczać zwykłego tekstu!"
|
305 |
|
306 |
#: inc/php/settings.php:39 inc/php/settings.php:46 inc/php/settings.php:62
|
307 |
#: inc/php/settings.php:69
|
308 |
+
msgid "Enter your custom scripts here"
|
309 |
msgstr ""
|
310 |
|
311 |
#: inc/php/settings.php:42
|
312 |
+
msgid "Scripts from this field will be printed in the end of HEAD section. Do not place plain text in this!"
|
313 |
msgstr "Skrypty z tego pola zostaną dodane na końcu sekcji <b>HEAD</b>. Nie należy tu umieszczać zwykłego tekstu!"
|
314 |
|
315 |
#: inc/php/settings.php:49 inc/php/settings.php:72
|
321 |
msgstr "Sekcja: Stopka"
|
322 |
|
323 |
#: inc/php/settings.php:56
|
324 |
+
msgid "You can use the fields below to add your custom scripts to FOOTER section of your website."
|
325 |
msgstr "Pola poniżej można użyć, aby dodać kody skryptów do stopki witryny."
|
326 |
|
327 |
#: inc/php/settings.php:58
|
328 |
+
msgid "Scripts from this field will be printed before a footer scripts. Do not place plain text in this!"
|
329 |
msgstr "Skrypty z tego pola zostaną dodane przed skryptami ze stopki. Nie należy tu umieszczać zwykłego tekstu!"
|
330 |
|
331 |
#: inc/php/settings.php:65
|
345 |
msgstr "O wtyczce"
|
346 |
|
347 |
#: inc/php/sidebar.php:18
|
348 |
+
msgid "This plugin allows you to easily insert your custom scripts in your website."
|
349 |
msgstr "Ta wtyczka pozwala łatwo wstawić kod skryptów na stronę www."
|
350 |
|
351 |
#: inc/php/sidebar.php:23
|
languages/header-and-footer-scripts-inserter-ru_RU.mo
CHANGED
Binary file
|
languages/header-and-footer-scripts-inserter-ru_RU.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Header and Footer Scripts Inserter\n"
|
6 |
-
"POT-Creation-Date: 2018-
|
7 |
-
"PO-Revision-Date: 2018-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Russian\n"
|
10 |
"Language: ru_RU\n"
|
@@ -197,12 +197,12 @@ msgid "Can I add my script to a specific page of my website?"
|
|
197 |
msgstr "Могу ли я добавить свой скрипт на определенную страницу моего веб-сайта?"
|
198 |
|
199 |
#: inc/php/page.php:155
|
200 |
-
msgid "For now, this plugin does not have an option to apply the custom scripts only on specific pages.
|
201 |
msgstr "Пока этот плагин не имеет возможности применять собственные скрипты только на определенных страницах. Я планирую добавить эту функцию в ближайшее время. Но сейчас, чтобы применить ваш скрипт только на определенных страницах вашего сайта, вам нужно обернуть свой скрипт в PHP-код, который будет определять страницу, которая вам нужна. Вам нужно что-то вроде этого:"
|
202 |
|
203 |
#: inc/php/page.php:168
|
204 |
#, php-format
|
205 |
-
msgid "To apply the PHP code on a website,
|
206 |
msgstr "Чтобы применить PHP-код на веб-сайте, я могу порекомендовать вам использовать другой мой плагин, называемый %s."
|
207 |
|
208 |
#: inc/php/page.php:173
|
@@ -295,20 +295,20 @@ msgid "Head Section"
|
|
295 |
msgstr "Верхний колонтитул (HEAD)"
|
296 |
|
297 |
#: inc/php/settings.php:33
|
298 |
-
msgid "You can use the fields below to add scripts to HEAD section of your website."
|
299 |
msgstr "Используйте поле расположенное ниже для того, чтобы добавить скрипты в верхний колонтитул вашего вебсайта."
|
300 |
|
301 |
#: inc/php/settings.php:35
|
302 |
-
msgid "Scripts from this field will be printed in the beginning of
|
303 |
msgstr "Скрипты этой области будут напечатаны в начале верхнего колонтитула (<b>HEAD</b>). Не помещайте сюда обычный текст!"
|
304 |
|
305 |
#: inc/php/settings.php:39 inc/php/settings.php:46 inc/php/settings.php:62
|
306 |
#: inc/php/settings.php:69
|
307 |
-
msgid "Enter your scripts here"
|
308 |
msgstr "Поместите сюда свои скрипты"
|
309 |
|
310 |
#: inc/php/settings.php:42
|
311 |
-
msgid "Scripts from this field will be printed in the end of
|
312 |
msgstr "Скрипты этой области будут напечатаны в конце верхнего колонтитула (<b>HEAD</b>). Не помещайте сюда обычный текст!"
|
313 |
|
314 |
#: inc/php/settings.php:49 inc/php/settings.php:72
|
@@ -320,11 +320,11 @@ msgid "Footer Section"
|
|
320 |
msgstr "Нижний колонтитул (FOOTER)"
|
321 |
|
322 |
#: inc/php/settings.php:56
|
323 |
-
msgid "You can use the fields below to add scripts to FOOTER section of your website."
|
324 |
msgstr "Используйте поле расположенное ниже для того, чтобы добавить скрипты в нижний колонтитул вашего вебсайта."
|
325 |
|
326 |
#: inc/php/settings.php:58
|
327 |
-
msgid "Scripts from this field will be printed before a
|
328 |
msgstr "Скрипты из этой области будут напечатаны в начале нижнего колонтитула. Не помещайте сюда обычный текст!"
|
329 |
|
330 |
#: inc/php/settings.php:65
|
@@ -344,7 +344,7 @@ msgid "About"
|
|
344 |
msgstr "О плагине"
|
345 |
|
346 |
#: inc/php/sidebar.php:18
|
347 |
-
msgid "This plugin allows you to easily insert scripts in your website."
|
348 |
msgstr "Этот плагин позволяет легко вставлять скрипты в ваш веб-сайте."
|
349 |
|
350 |
#: inc/php/sidebar.php:23
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Header and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2018-07-12 01:16+0300\n"
|
7 |
+
"PO-Revision-Date: 2018-07-12 01:16+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Russian\n"
|
10 |
"Language: ru_RU\n"
|
197 |
msgstr "Могу ли я добавить свой скрипт на определенную страницу моего веб-сайта?"
|
198 |
|
199 |
#: inc/php/page.php:155
|
200 |
+
msgid "For now, this plugin does not have an option to apply the custom scripts only on specific pages. We plan to add this feature soon. But for now in order to apply your script only on specific pages of your website, you need to wrap your script in a PHP code that will determine the page you want. You need something like this:"
|
201 |
msgstr "Пока этот плагин не имеет возможности применять собственные скрипты только на определенных страницах. Я планирую добавить эту функцию в ближайшее время. Но сейчас, чтобы применить ваш скрипт только на определенных страницах вашего сайта, вам нужно обернуть свой скрипт в PHP-код, который будет определять страницу, которая вам нужна. Вам нужно что-то вроде этого:"
|
202 |
|
203 |
#: inc/php/page.php:168
|
204 |
#, php-format
|
205 |
+
msgid "To apply the PHP code on a website, we can recommend you to use another our plugin called %s."
|
206 |
msgstr "Чтобы применить PHP-код на веб-сайте, я могу порекомендовать вам использовать другой мой плагин, называемый %s."
|
207 |
|
208 |
#: inc/php/page.php:173
|
295 |
msgstr "Верхний колонтитул (HEAD)"
|
296 |
|
297 |
#: inc/php/settings.php:33
|
298 |
+
msgid "You can use the fields below to add your custom scripts to HEAD section of your website."
|
299 |
msgstr "Используйте поле расположенное ниже для того, чтобы добавить скрипты в верхний колонтитул вашего вебсайта."
|
300 |
|
301 |
#: inc/php/settings.php:35
|
302 |
+
msgid "Scripts from this field will be printed in the beginning of HEAD section. Do not place plain text in this!"
|
303 |
msgstr "Скрипты этой области будут напечатаны в начале верхнего колонтитула (<b>HEAD</b>). Не помещайте сюда обычный текст!"
|
304 |
|
305 |
#: inc/php/settings.php:39 inc/php/settings.php:46 inc/php/settings.php:62
|
306 |
#: inc/php/settings.php:69
|
307 |
+
msgid "Enter your custom scripts here"
|
308 |
msgstr "Поместите сюда свои скрипты"
|
309 |
|
310 |
#: inc/php/settings.php:42
|
311 |
+
msgid "Scripts from this field will be printed in the end of HEAD section. Do not place plain text in this!"
|
312 |
msgstr "Скрипты этой области будут напечатаны в конце верхнего колонтитула (<b>HEAD</b>). Не помещайте сюда обычный текст!"
|
313 |
|
314 |
#: inc/php/settings.php:49 inc/php/settings.php:72
|
320 |
msgstr "Нижний колонтитул (FOOTER)"
|
321 |
|
322 |
#: inc/php/settings.php:56
|
323 |
+
msgid "You can use the fields below to add your custom scripts to FOOTER section of your website."
|
324 |
msgstr "Используйте поле расположенное ниже для того, чтобы добавить скрипты в нижний колонтитул вашего вебсайта."
|
325 |
|
326 |
#: inc/php/settings.php:58
|
327 |
+
msgid "Scripts from this field will be printed before a footer scripts. Do not place plain text in this!"
|
328 |
msgstr "Скрипты из этой области будут напечатаны в начале нижнего колонтитула. Не помещайте сюда обычный текст!"
|
329 |
|
330 |
#: inc/php/settings.php:65
|
344 |
msgstr "О плагине"
|
345 |
|
346 |
#: inc/php/sidebar.php:18
|
347 |
+
msgid "This plugin allows you to easily insert your custom scripts in your website."
|
348 |
msgstr "Этот плагин позволяет легко вставлять скрипты в ваш веб-сайте."
|
349 |
|
350 |
#: inc/php/sidebar.php:23
|
languages/header-and-footer-scripts-inserter.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Header and Footer Scripts Inserter\n"
|
6 |
-
"POT-Creation-Date: 2018-
|
7 |
"PO-Revision-Date: 2016-01-30 11:39+0300\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
@@ -195,12 +195,12 @@ msgid "Can I add my script to a specific page of my website?"
|
|
195 |
msgstr ""
|
196 |
|
197 |
#: inc/php/page.php:155
|
198 |
-
msgid "For now, this plugin does not have an option to apply the custom scripts only on specific pages.
|
199 |
msgstr ""
|
200 |
|
201 |
#: inc/php/page.php:168
|
202 |
#, php-format
|
203 |
-
msgid "To apply the PHP code on a website,
|
204 |
msgstr ""
|
205 |
|
206 |
#: inc/php/page.php:173
|
@@ -293,20 +293,20 @@ msgid "Head Section"
|
|
293 |
msgstr ""
|
294 |
|
295 |
#: inc/php/settings.php:33
|
296 |
-
msgid "You can use the fields below to add scripts to HEAD section of your website."
|
297 |
msgstr ""
|
298 |
|
299 |
#: inc/php/settings.php:35
|
300 |
-
msgid "Scripts from this field will be printed in the beginning of
|
301 |
msgstr ""
|
302 |
|
303 |
#: inc/php/settings.php:39 inc/php/settings.php:46 inc/php/settings.php:62
|
304 |
#: inc/php/settings.php:69
|
305 |
-
msgid "Enter your scripts here"
|
306 |
msgstr ""
|
307 |
|
308 |
#: inc/php/settings.php:42
|
309 |
-
msgid "Scripts from this field will be printed in the end of
|
310 |
msgstr ""
|
311 |
|
312 |
#: inc/php/settings.php:49 inc/php/settings.php:72
|
@@ -318,11 +318,11 @@ msgid "Footer Section"
|
|
318 |
msgstr ""
|
319 |
|
320 |
#: inc/php/settings.php:56
|
321 |
-
msgid "You can use the fields below to add scripts to FOOTER section of your website."
|
322 |
msgstr ""
|
323 |
|
324 |
#: inc/php/settings.php:58
|
325 |
-
msgid "Scripts from this field will be printed before a
|
326 |
msgstr ""
|
327 |
|
328 |
#: inc/php/settings.php:65
|
@@ -342,7 +342,7 @@ msgid "About"
|
|
342 |
msgstr ""
|
343 |
|
344 |
#: inc/php/sidebar.php:18
|
345 |
-
msgid "This plugin allows you to easily insert scripts in your website."
|
346 |
msgstr ""
|
347 |
|
348 |
#: inc/php/sidebar.php:23
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Header and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2018-07-12 01:17+0300\n"
|
7 |
"PO-Revision-Date: 2016-01-30 11:39+0300\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
195 |
msgstr ""
|
196 |
|
197 |
#: inc/php/page.php:155
|
198 |
+
msgid "For now, this plugin does not have an option to apply the custom scripts only on specific pages. We plan to add this feature soon. But for now in order to apply your script only on specific pages of your website, you need to wrap your script in a PHP code that will determine the page you want. You need something like this:"
|
199 |
msgstr ""
|
200 |
|
201 |
#: inc/php/page.php:168
|
202 |
#, php-format
|
203 |
+
msgid "To apply the PHP code on a website, we can recommend you to use another our plugin called %s."
|
204 |
msgstr ""
|
205 |
|
206 |
#: inc/php/page.php:173
|
293 |
msgstr ""
|
294 |
|
295 |
#: inc/php/settings.php:33
|
296 |
+
msgid "You can use the fields below to add your custom scripts to HEAD section of your website."
|
297 |
msgstr ""
|
298 |
|
299 |
#: inc/php/settings.php:35
|
300 |
+
msgid "Scripts from this field will be printed in the beginning of HEAD section. Do not place plain text in this!"
|
301 |
msgstr ""
|
302 |
|
303 |
#: inc/php/settings.php:39 inc/php/settings.php:46 inc/php/settings.php:62
|
304 |
#: inc/php/settings.php:69
|
305 |
+
msgid "Enter your custom scripts here"
|
306 |
msgstr ""
|
307 |
|
308 |
#: inc/php/settings.php:42
|
309 |
+
msgid "Scripts from this field will be printed in the end of HEAD section. Do not place plain text in this!"
|
310 |
msgstr ""
|
311 |
|
312 |
#: inc/php/settings.php:49 inc/php/settings.php:72
|
318 |
msgstr ""
|
319 |
|
320 |
#: inc/php/settings.php:56
|
321 |
+
msgid "You can use the fields below to add your custom scripts to FOOTER section of your website."
|
322 |
msgstr ""
|
323 |
|
324 |
#: inc/php/settings.php:58
|
325 |
+
msgid "Scripts from this field will be printed before a footer scripts. Do not place plain text in this!"
|
326 |
msgstr ""
|
327 |
|
328 |
#: inc/php/settings.php:65
|
342 |
msgstr ""
|
343 |
|
344 |
#: inc/php/sidebar.php:18
|
345 |
+
msgid "This plugin allows you to easily insert your custom scripts in your website."
|
346 |
msgstr ""
|
347 |
|
348 |
#: inc/php/sidebar.php:23
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: inject, insert, insert scripts, insert javascript, insert js, insert html,
|
|
4 |
Donate link: https://www.spacexchimp.com/donate.html
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 4.
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -120,7 +120,7 @@ A. Absolutely not. This plugin is configurable entirely from the plugin settings
|
|
120 |
A. This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page. But you need to know the HTML or CSS in order to add/remove/modify the HTML or CSS code by using this plugin.
|
121 |
|
122 |
= Q. Can I add my script to a specific page of my website? =
|
123 |
-
A. For now, this plugin does not have an option to apply the custom scripts only on specific pages.
|
124 |
|
125 |
`function my_custom_script() {
|
126 |
|
@@ -134,7 +134,7 @@ A. For now, this plugin does not have an option to apply the custom scripts only
|
|
134 |
}
|
135 |
add_action( 'wp_head', 'my_custom_script' );`
|
136 |
|
137 |
-
To apply the PHP code on a website,
|
138 |
|
139 |
= Q. It's not working. What could be wrong? =
|
140 |
A. As with every plugin, it's possible that things don't work. The most common reason for this is a web browser's cache. Every web browser stores a cache of the websites you visit (pages, images, and etc.) to reduce bandwidth usage and server load. This is called the browser's cache. Clearing your browser's cache may solve the problem.
|
@@ -187,6 +187,12 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
|
|
187 |
|
188 |
== Changelog ==
|
189 |
|
|
|
|
|
|
|
|
|
|
|
|
|
190 |
= 4.24 =
|
191 |
* Fixed: CodeMirror addon 'autorefresh.js' was added to one of the previous versions of the plugin, but it was not enabled.
|
192 |
|
4 |
Donate link: https://www.spacexchimp.com/donate.html
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 4.25
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
120 |
A. This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page. But you need to know the HTML or CSS in order to add/remove/modify the HTML or CSS code by using this plugin.
|
121 |
|
122 |
= Q. Can I add my script to a specific page of my website? =
|
123 |
+
A. For now, this plugin does not have an option to apply the custom scripts only on specific pages. We plan to add this feature soon. But for now in order to apply your script only on specific pages of your website, you need to wrap your script in a PHP code that will determine the page you want. You need something like this:
|
124 |
|
125 |
`function my_custom_script() {
|
126 |
|
134 |
}
|
135 |
add_action( 'wp_head', 'my_custom_script' );`
|
136 |
|
137 |
+
To apply the PHP code on a website, we can recommend you to use another our plugin called [My Custom Functions](https://wordpress.org/plugins/my-custom-functions/).
|
138 |
|
139 |
= Q. It's not working. What could be wrong? =
|
140 |
A. As with every plugin, it's possible that things don't work. The most common reason for this is a web browser's cache. Every web browser stores a cache of the websites you visit (pages, images, and etc.) to reduce bandwidth usage and server load. This is called the browser's cache. Clearing your browser's cache may solve the problem.
|
187 |
|
188 |
== Changelog ==
|
189 |
|
190 |
+
= 4.25 =
|
191 |
+
* The code block that enqueue the CodeMirror library files is moved to a separate function '_load_scripts_codemirror' within the 'enqueue.php' file.
|
192 |
+
* Enqueue of the CodeMirror addons is moved to the beginning of the queue, before enqueuing the CodeMirror mods.
|
193 |
+
* Some texts updated, and typos are corrected.
|
194 |
+
* All translation files are updated.
|
195 |
+
|
196 |
= 4.24 =
|
197 |
* Fixed: CodeMirror addon 'autorefresh.js' was added to one of the previous versions of the plugin, but it was not enabled.
|
198 |
|