Version Description
- 2019-03-24 =
- Framework updated: Added function "plugin", which returns an array with the contents of plugin constants. The mention of plugin constants is replaced by the use of the function "plugin".
- Framework updated: The functions "_settings_link" and "_upgrade_link" are combined and improved.
- Framework updated: The function "_plugin_row_meta" is improved.
- Framework updated: Code formatting improved.
- Framework updated: Code commenting improved.
- Framework updated: All translation files are updated.
Download this release
Release Info
Developer | Arthur Gareginyan |
Plugin | Head and Footer Scripts Inserter |
Version | 4.39 |
Comparing to | |
See all releases |
Code changes from version 4.38 to 4.39
- header-and-footer-scripts-inserter.php +34 -9
- inc/php/core.php +83 -38
- inc/php/enqueue.php +23 -21
- inc/php/functional.php +5 -2
- inc/php/messages.php +17 -20
- inc/php/page.php +15 -19
- inc/php/sidebar.php +12 -12
- inc/php/tabs/faq.php +108 -108
- inc/php/tabs/settings.php +27 -27
- inc/php/tabs/support.php +13 -13
- inc/php/tabs/usage.php +10 -10
- inc/php/versioning.php +10 -8
- languages/header-and-footer-scripts-inserter-de_DE.mo +0 -0
- languages/header-and-footer-scripts-inserter-de_DE.po +19 -19
- languages/header-and-footer-scripts-inserter-es_ES.mo +0 -0
- languages/header-and-footer-scripts-inserter-es_ES.po +19 -19
- languages/header-and-footer-scripts-inserter-fr_FR.mo +0 -0
- languages/header-and-footer-scripts-inserter-fr_FR.po +19 -19
- languages/header-and-footer-scripts-inserter-nl_NL.mo +0 -0
- languages/header-and-footer-scripts-inserter-nl_NL.po +19 -19
- languages/header-and-footer-scripts-inserter-pl_PL.mo +0 -0
- languages/header-and-footer-scripts-inserter-pl_PL.po +19 -19
- languages/header-and-footer-scripts-inserter-ru_RU.mo +0 -0
- languages/header-and-footer-scripts-inserter-ru_RU.po +19 -19
- languages/header-and-footer-scripts-inserter.pot +18 -18
- readme.txt +9 -1
header-and-footer-scripts-inserter.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Easily and safely add your custom HTML code (plus JavaScript, CSS, etc.) to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.
|
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/
|
@@ -52,7 +52,7 @@ $plugin_data = get_file_data( __FILE__,
|
|
52 |
);
|
53 |
function spacexchimp_p006_define_constants( $constant_name, $value ) {
|
54 |
$constant_name = 'SPACEXCHIMP_P006_' . $constant_name;
|
55 |
-
if ( !defined( $constant_name ) )
|
56 |
define( $constant_name, $value );
|
57 |
}
|
58 |
spacexchimp_p006_define_constants( 'FILE', __FILE__ );
|
@@ -67,13 +67,38 @@ spacexchimp_p006_define_constants( 'TEXT', $plugin_data['text'] );
|
|
67 |
spacexchimp_p006_define_constants( 'PREFIX', 'spacexchimp_p006' );
|
68 |
spacexchimp_p006_define_constants( 'SETTINGS', 'spacexchimp_p006' );
|
69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
/**
|
71 |
* Load the plugin modules
|
72 |
*/
|
73 |
-
require_once(
|
74 |
-
require_once(
|
75 |
-
require_once(
|
76 |
-
require_once(
|
77 |
-
require_once(
|
78 |
-
require_once(
|
79 |
-
require_once(
|
5 |
* Description: Easily and safely add your custom HTML code (plus JavaScript, CSS, etc.) to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.
|
6 |
* Author: Space X-Chimp
|
7 |
* Author URI: https://www.spacexchimp.com
|
8 |
+
* Version: 4.39
|
9 |
* License: GPL3
|
10 |
* Text Domain: header-and-footer-scripts-inserter
|
11 |
* Domain Path: /languages/
|
52 |
);
|
53 |
function spacexchimp_p006_define_constants( $constant_name, $value ) {
|
54 |
$constant_name = 'SPACEXCHIMP_P006_' . $constant_name;
|
55 |
+
if ( ! defined( $constant_name ) )
|
56 |
define( $constant_name, $value );
|
57 |
}
|
58 |
spacexchimp_p006_define_constants( 'FILE', __FILE__ );
|
67 |
spacexchimp_p006_define_constants( 'PREFIX', 'spacexchimp_p006' );
|
68 |
spacexchimp_p006_define_constants( 'SETTINGS', 'spacexchimp_p006' );
|
69 |
|
70 |
+
/**
|
71 |
+
* A useful function that returns an array with the contents of plugin constants
|
72 |
+
*/
|
73 |
+
function spacexchimp_p006_plugin() {
|
74 |
+
$array = array(
|
75 |
+
'file' => SPACEXCHIMP_P006_FILE,
|
76 |
+
'dir' => SPACEXCHIMP_P006_DIR,
|
77 |
+
'base' => SPACEXCHIMP_P006_BASE,
|
78 |
+
'url' => SPACEXCHIMP_P006_URL,
|
79 |
+
'path' => SPACEXCHIMP_P006_PATH,
|
80 |
+
'slug' => SPACEXCHIMP_P006_SLUG,
|
81 |
+
'name' => SPACEXCHIMP_P006_NAME,
|
82 |
+
'version' => SPACEXCHIMP_P006_VERSION,
|
83 |
+
'text' => SPACEXCHIMP_P006_TEXT,
|
84 |
+
'prefix' => SPACEXCHIMP_P006_PREFIX,
|
85 |
+
'settings' => SPACEXCHIMP_P006_SETTINGS
|
86 |
+
);
|
87 |
+
return $array;
|
88 |
+
}
|
89 |
+
|
90 |
+
/**
|
91 |
+
* Put value of plugin constants into an array for easier access
|
92 |
+
*/
|
93 |
+
$plugin = spacexchimp_p006_plugin();
|
94 |
+
|
95 |
/**
|
96 |
* Load the plugin modules
|
97 |
*/
|
98 |
+
require_once( $plugin['path'] . 'inc/php/core.php' );
|
99 |
+
require_once( $plugin['path'] . 'inc/php/upgrade.php' );
|
100 |
+
require_once( $plugin['path'] . 'inc/php/versioning.php' );
|
101 |
+
require_once( $plugin['path'] . 'inc/php/enqueue.php' );
|
102 |
+
require_once( $plugin['path'] . 'inc/php/functional.php' );
|
103 |
+
require_once( $plugin['path'] . 'inc/php/page.php' );
|
104 |
+
require_once( $plugin['path'] . 'inc/php/messages.php' );
|
inc/php/core.php
CHANGED
@@ -9,121 +9,166 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
9 |
* Register text domain
|
10 |
*/
|
11 |
function spacexchimp_p006_textdomain() {
|
12 |
-
|
|
|
|
|
|
|
|
|
13 |
}
|
14 |
-
add_action( 'init', '
|
15 |
|
16 |
/**
|
17 |
-
* Print direct link to plugin
|
18 |
*
|
19 |
* Fetches array of links generated by WordPress Plugin admin page ( Deactivate | Edit )
|
20 |
* and inserts a link to the plugin admin page
|
21 |
*/
|
22 |
function spacexchimp_p006_settings_link( $links ) {
|
23 |
-
$page = '<a href="' . admin_url( 'options-general.php?page=' . SPACEXCHIMP_P006_SLUG ) . '">' . __( 'Settings', SPACEXCHIMP_P006_TEXT ) . '</a>';
|
24 |
-
array_unshift( $links, $page );
|
25 |
-
return $links;
|
26 |
-
}
|
27 |
-
add_filter( 'plugin_action_links_' . SPACEXCHIMP_P006_BASE, 'spacexchimp_p006_settings_link' );
|
28 |
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
$
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
return $links;
|
36 |
}
|
37 |
-
add_filter( 'plugin_action_links_' .
|
38 |
|
39 |
/**
|
40 |
-
* Print additional links to plugin meta row
|
41 |
*/
|
42 |
function spacexchimp_p006_plugin_row_meta( $links, $file ) {
|
43 |
|
44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
$new_links = array(
|
47 |
-
'donate' =>
|
48 |
-
'upgrage' =>
|
49 |
);
|
|
|
50 |
$links = array_merge( $links, $new_links );
|
51 |
}
|
52 |
|
53 |
return $links;
|
54 |
}
|
55 |
-
add_filter( 'plugin_row_meta', '
|
56 |
|
57 |
/**
|
58 |
* Register a submenu item in the top-level menu item "Settings"
|
59 |
*/
|
60 |
function spacexchimp_p006_register_submenu_page() {
|
61 |
|
62 |
-
|
63 |
-
$
|
|
|
|
|
|
|
|
|
64 |
$capability = 'manage_options';
|
65 |
-
$menu_slug =
|
66 |
-
$function = '
|
67 |
|
68 |
add_options_page( $page_title, $menu_title, $capability, $menu_slug, $function );
|
69 |
}
|
70 |
-
add_action( 'admin_menu', '
|
71 |
|
72 |
/**
|
73 |
* Register settings
|
74 |
*/
|
75 |
function spacexchimp_p006_register_settings() {
|
76 |
-
|
77 |
-
|
|
|
|
|
|
|
|
|
78 |
}
|
79 |
-
add_action( 'admin_init', '
|
80 |
|
81 |
/**
|
82 |
* Branded footer text on the plugin's settings page
|
83 |
*/
|
84 |
function spacexchimp_p006_admin_footer_text() {
|
85 |
|
|
|
|
|
|
|
86 |
// Get current screen data
|
87 |
$current_screen = get_current_screen();
|
88 |
|
89 |
// Return if the page is not a settings page of this plugin
|
90 |
-
$settings_page = 'settings_page_' .
|
91 |
-
if ( $settings_page != $current_screen->id )
|
|
|
|
|
92 |
|
93 |
// Filter footer text
|
94 |
function spacexchimp_p006_new_admin_footer_text() {
|
95 |
$year = date('Y');
|
96 |
return "Copyright © " . $year . " <a href='https://www.spacexchimp.com' target='_blank'>Space X-Chimp</a> | Click <a href='https://www.spacexchimp.com/store.html' target='_blank'>here</a> to see our other products.";
|
97 |
}
|
98 |
-
add_filter( 'admin_footer_text', '
|
99 |
}
|
100 |
-
add_action( 'current_screen', '
|
101 |
|
102 |
/**
|
103 |
* Runs during the plugin activation
|
104 |
*/
|
105 |
function spacexchimp_p006_activation() {
|
106 |
|
|
|
|
|
|
|
107 |
// Read the plugin service information from the database and put it into an array
|
108 |
-
$info = get_option(
|
109 |
|
110 |
// Make the "$info" array if the plugin service information in the database is not exist
|
111 |
-
if ( ! is_array( $info ) )
|
|
|
|
|
112 |
|
113 |
// Get the activation date of the plugin from the database
|
114 |
$activation_date = !empty( $info['activation_date'] ) ? $info['activation_date'] : '';
|
115 |
|
116 |
if ( $activation_date == '' ) {
|
117 |
$info['activation_date'] = time();
|
118 |
-
update_option(
|
119 |
}
|
120 |
}
|
121 |
-
register_activation_hook(
|
122 |
|
123 |
/**
|
124 |
* Delete options on uninstall
|
125 |
*/
|
126 |
function spacexchimp_p006_uninstall() {
|
127 |
-
|
|
|
|
|
|
|
|
|
128 |
}
|
129 |
-
register_uninstall_hook(
|
9 |
* Register text domain
|
10 |
*/
|
11 |
function spacexchimp_p006_textdomain() {
|
12 |
+
|
13 |
+
// Put value of plugin constants into an array for easier access
|
14 |
+
$plugin = spacexchimp_p006_plugin();
|
15 |
+
|
16 |
+
load_plugin_textdomain( $plugin['text'], false, $plugin['dir'] . '/languages/' );
|
17 |
}
|
18 |
+
add_action( 'init', $plugin['prefix'] . '_textdomain' );
|
19 |
|
20 |
/**
|
21 |
+
* Print direct link to the plugin administration page
|
22 |
*
|
23 |
* Fetches array of links generated by WordPress Plugin admin page ( Deactivate | Edit )
|
24 |
* and inserts a link to the plugin admin page
|
25 |
*/
|
26 |
function spacexchimp_p006_settings_link( $links ) {
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
+
// Put value of plugin constants into an array for easier access
|
29 |
+
$plugin = spacexchimp_p006_plugin();
|
30 |
+
|
31 |
+
// Declare variables
|
32 |
+
$text_settings = __( 'Settings', $plugin['text'] );
|
33 |
+
$url_settings = admin_url( 'options-general.php?page=' . $plugin['slug'] );
|
34 |
+
$link_settings = '<a href="' . $url_settings . '">' . $text_settings . '</a>';
|
35 |
+
|
36 |
+
array_unshift( $links, $link_settings );
|
37 |
+
|
38 |
+
// Declare variables
|
39 |
+
$url_upgrade = "https://www.spacexchimp.com/plugins/header-and-footer-scripts-inserter-pro.html";
|
40 |
+
$text_upgrade = __( 'Upgrade to PRO', $plugin['text'] );
|
41 |
+
$link_upgrade = '<a href="' . $url_upgrade . '" target="_blank"><b style="color:red;">' . $text_upgrade . '</b></a>';
|
42 |
+
|
43 |
+
array_unshift( $links, $link_upgrade );
|
44 |
+
|
45 |
return $links;
|
46 |
}
|
47 |
+
add_filter( 'plugin_action_links_' . $plugin['base'], $plugin['prefix'] . '_settings_link' );
|
48 |
|
49 |
/**
|
50 |
+
* Print additional links to the plugin meta row
|
51 |
*/
|
52 |
function spacexchimp_p006_plugin_row_meta( $links, $file ) {
|
53 |
|
54 |
+
// Put value of plugin constants into an array for easier access
|
55 |
+
$plugin = spacexchimp_p006_plugin();
|
56 |
+
|
57 |
+
if ( strpos( $file, $plugin['slug'] . '.php' ) !== false ) {
|
58 |
+
|
59 |
+
// Declare variables
|
60 |
+
$url_donate = "https://www.spacexchimp.com/donate.html";
|
61 |
+
$text_donate = __( 'Donate', $plugin['text'] );
|
62 |
+
$link_donate = '<a href="' . $url_donate . '" target="_blank"><span class="dashicons dashicons-heart"></span> ' . $text_donate . '</a>';
|
63 |
+
|
64 |
+
$url_upgrade = "https://www.spacexchimp.com/plugins/header-and-footer-scripts-inserter-pro.html";
|
65 |
+
$text_upgrade = __( 'Upgrade to PRO', $plugin['text'] );
|
66 |
+
$link_upgrade = '<a href="' . $url_upgrade . '" target="_blank"><span class="dashicons dashicons-star-filled"></span> ' . $text_upgrade . '</a>';
|
67 |
|
68 |
$new_links = array(
|
69 |
+
'donate' => $link_donate,
|
70 |
+
'upgrage' => $link_upgrade
|
71 |
);
|
72 |
+
|
73 |
$links = array_merge( $links, $new_links );
|
74 |
}
|
75 |
|
76 |
return $links;
|
77 |
}
|
78 |
+
add_filter( 'plugin_row_meta', $plugin['prefix'] . '_plugin_row_meta', 10, 2 );
|
79 |
|
80 |
/**
|
81 |
* Register a submenu item in the top-level menu item "Settings"
|
82 |
*/
|
83 |
function spacexchimp_p006_register_submenu_page() {
|
84 |
|
85 |
+
// Put value of plugin constants into an array for easier access
|
86 |
+
$plugin = spacexchimp_p006_plugin();
|
87 |
+
|
88 |
+
// Declare variables
|
89 |
+
$page_title = $plugin['name'];
|
90 |
+
$menu_title = __( 'Scripts Inserter', $plugin['text'] );
|
91 |
$capability = 'manage_options';
|
92 |
+
$menu_slug = $plugin['slug'];
|
93 |
+
$function = $plugin['prefix'] . '_render_submenu_page';
|
94 |
|
95 |
add_options_page( $page_title, $menu_title, $capability, $menu_slug, $function );
|
96 |
}
|
97 |
+
add_action( 'admin_menu', $plugin['prefix'] . '_register_submenu_page' );
|
98 |
|
99 |
/**
|
100 |
* Register settings
|
101 |
*/
|
102 |
function spacexchimp_p006_register_settings() {
|
103 |
+
|
104 |
+
// Put value of plugin constants into an array for easier access
|
105 |
+
$plugin = spacexchimp_p006_plugin();
|
106 |
+
|
107 |
+
register_setting( $plugin['settings'] . '_settings_group', $plugin['settings'] . '_settings' );
|
108 |
+
register_setting( $plugin['settings'] . '_settings_group_si', $plugin['settings'] . '_service_info' );
|
109 |
}
|
110 |
+
add_action( 'admin_init', $plugin['prefix'] . '_register_settings' );
|
111 |
|
112 |
/**
|
113 |
* Branded footer text on the plugin's settings page
|
114 |
*/
|
115 |
function spacexchimp_p006_admin_footer_text() {
|
116 |
|
117 |
+
// Put value of plugin constants into an array for easier access
|
118 |
+
$plugin = spacexchimp_p006_plugin();
|
119 |
+
|
120 |
// Get current screen data
|
121 |
$current_screen = get_current_screen();
|
122 |
|
123 |
// Return if the page is not a settings page of this plugin
|
124 |
+
$settings_page = 'settings_page_' . $plugin['slug'];
|
125 |
+
if ( $settings_page != $current_screen->id ) {
|
126 |
+
return;
|
127 |
+
}
|
128 |
|
129 |
// Filter footer text
|
130 |
function spacexchimp_p006_new_admin_footer_text() {
|
131 |
$year = date('Y');
|
132 |
return "Copyright © " . $year . " <a href='https://www.spacexchimp.com' target='_blank'>Space X-Chimp</a> | Click <a href='https://www.spacexchimp.com/store.html' target='_blank'>here</a> to see our other products.";
|
133 |
}
|
134 |
+
add_filter( 'admin_footer_text', $plugin['prefix'] . '_new_admin_footer_text', 11 );
|
135 |
}
|
136 |
+
add_action( 'current_screen', $plugin['prefix'] . '_admin_footer_text' );
|
137 |
|
138 |
/**
|
139 |
* Runs during the plugin activation
|
140 |
*/
|
141 |
function spacexchimp_p006_activation() {
|
142 |
|
143 |
+
// Put value of plugin constants into an array for easier access
|
144 |
+
$plugin = spacexchimp_p006_plugin();
|
145 |
+
|
146 |
// Read the plugin service information from the database and put it into an array
|
147 |
+
$info = get_option( $plugin['settings'] . '_service_info' );
|
148 |
|
149 |
// Make the "$info" array if the plugin service information in the database is not exist
|
150 |
+
if ( ! is_array( $info ) ) {
|
151 |
+
$info = array();
|
152 |
+
}
|
153 |
|
154 |
// Get the activation date of the plugin from the database
|
155 |
$activation_date = !empty( $info['activation_date'] ) ? $info['activation_date'] : '';
|
156 |
|
157 |
if ( $activation_date == '' ) {
|
158 |
$info['activation_date'] = time();
|
159 |
+
update_option( $plugin['settings'] . '_service_info', $info );
|
160 |
}
|
161 |
}
|
162 |
+
register_activation_hook( $plugin['file'], $plugin['prefix'] . '_activation' );
|
163 |
|
164 |
/**
|
165 |
* Delete options on uninstall
|
166 |
*/
|
167 |
function spacexchimp_p006_uninstall() {
|
168 |
+
|
169 |
+
// Put value of plugin constants into an array for easier access
|
170 |
+
$plugin = spacexchimp_p006_plugin();
|
171 |
+
|
172 |
+
delete_option( $plugin['settings'] . '_settings' );
|
173 |
}
|
174 |
+
register_uninstall_hook( $plugin['file'], $plugin['prefix'] . '_uninstall' );
|
inc/php/enqueue.php
CHANGED
@@ -8,14 +8,17 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
8 |
/**
|
9 |
* Callback to enqueue the CodeMirror library
|
10 |
*/
|
11 |
-
function spacexchimp_p006_load_scripts_codemirror(
|
|
|
|
|
|
|
12 |
|
13 |
// Enqueue main files of the CodeMirror library
|
14 |
-
wp_enqueue_style( $prefix . '-codemirror-css', $url . 'inc/lib/codemirror/lib/codemirror.css', array(), $version, 'all' );
|
15 |
-
wp_enqueue_script( $prefix . '-codemirror-js', $url . 'inc/lib/codemirror/lib/codemirror.js', array(), $version, false );
|
16 |
|
17 |
// Enqueue settings file
|
18 |
-
wp_enqueue_script( $prefix . '-codemirror-settings-js', $url . 'inc/js/codemirror-settings.js', array(), $version, true );
|
19 |
|
20 |
// Enqueue addons
|
21 |
$addons = array(
|
@@ -24,7 +27,7 @@ function spacexchimp_p006_load_scripts_codemirror( $prefix, $url, $version ) {
|
|
24 |
);
|
25 |
foreach ( $addons as $addons_group_name => $addons_group ) {
|
26 |
foreach ( $addons_group as $addon ) {
|
27 |
-
wp_enqueue_script( $prefix . '-codemirror-addon-' . $addon . '-js', $url . 'inc/lib/codemirror/addon/' . $addons_group_name . '/' . $addon . '.js', array(), $version, false );
|
28 |
}
|
29 |
}
|
30 |
|
@@ -36,7 +39,7 @@ function spacexchimp_p006_load_scripts_codemirror( $prefix, $url, $version ) {
|
|
36 |
'xml'
|
37 |
);
|
38 |
foreach ( $modes as $mode ) {
|
39 |
-
wp_enqueue_script( $prefix . '-codemirror-mode-' . $mode . '-js', $url . 'inc/lib/codemirror/mode/' . $mode . '/' . $mode . '.js', array(), $version, true );
|
40 |
}
|
41 |
|
42 |
}
|
@@ -46,35 +49,34 @@ function spacexchimp_p006_load_scripts_codemirror( $prefix, $url, $version ) {
|
|
46 |
*/
|
47 |
function spacexchimp_p006_load_scripts_admin( $hook ) {
|
48 |
|
49 |
-
// Put value of constants
|
50 |
-
$
|
51 |
-
$prefix = SPACEXCHIMP_P006_PREFIX;
|
52 |
-
$url = SPACEXCHIMP_P006_URL;
|
53 |
-
$version = SPACEXCHIMP_P006_VERSION;
|
54 |
|
55 |
// Return if the page is not a settings page of this plugin
|
56 |
-
$settings_page = 'settings_page_' . $slug;
|
57 |
-
if ( $settings_page != $hook )
|
|
|
|
|
58 |
|
59 |
// Load jQuery library
|
60 |
wp_enqueue_script( 'jquery' );
|
61 |
|
62 |
// Bootstrap library
|
63 |
-
wp_enqueue_style( $prefix . '-bootstrap-css', $url . 'inc/lib/bootstrap/bootstrap.css', array(), $version, 'all' );
|
64 |
-
wp_enqueue_style( $prefix . '-bootstrap-theme-css', $url . 'inc/lib/bootstrap/bootstrap-theme.css', array(), $version, 'all' );
|
65 |
-
wp_enqueue_script( $prefix . '-bootstrap-js', $url . 'inc/lib/bootstrap/bootstrap.js', array(), $version, false );
|
66 |
|
67 |
// Font Awesome library
|
68 |
-
wp_enqueue_style( $prefix . '-font-awesome-css', $url . 'inc/lib/font-awesome/css/font-awesome.css', array(), $version, 'screen' );
|
69 |
|
70 |
// Style sheet
|
71 |
-
wp_enqueue_style( $prefix . '-admin-css', $url . 'inc/css/admin.css', array(), $version, 'all' );
|
72 |
|
73 |
// JavaScript
|
74 |
-
wp_enqueue_script( $prefix . '-admin-js', $url . 'inc/js/admin.js', array(), $version, true );
|
75 |
|
76 |
// Call the function that enqueue the CodeMirror library
|
77 |
-
spacexchimp_p006_load_scripts_codemirror(
|
78 |
|
79 |
}
|
80 |
-
add_action( 'admin_enqueue_scripts', '
|
8 |
/**
|
9 |
* Callback to enqueue the CodeMirror library
|
10 |
*/
|
11 |
+
function spacexchimp_p006_load_scripts_codemirror() {
|
12 |
+
|
13 |
+
// Put value of plugin constants into an array for easier access
|
14 |
+
$plugin = spacexchimp_p006_plugin();
|
15 |
|
16 |
// Enqueue main files of the CodeMirror library
|
17 |
+
wp_enqueue_style( $plugin['prefix'] . '-codemirror-css', $plugin['url'] . 'inc/lib/codemirror/lib/codemirror.css', array(), $plugin['version'], 'all' );
|
18 |
+
wp_enqueue_script( $plugin['prefix'] . '-codemirror-js', $plugin['url'] . 'inc/lib/codemirror/lib/codemirror.js', array(), $plugin['version'], false );
|
19 |
|
20 |
// Enqueue settings file
|
21 |
+
wp_enqueue_script( $plugin['prefix'] . '-codemirror-settings-js', $plugin['url'] . 'inc/js/codemirror-settings.js', array(), $plugin['version'], true );
|
22 |
|
23 |
// Enqueue addons
|
24 |
$addons = array(
|
27 |
);
|
28 |
foreach ( $addons as $addons_group_name => $addons_group ) {
|
29 |
foreach ( $addons_group as $addon ) {
|
30 |
+
wp_enqueue_script( $plugin['prefix'] . '-codemirror-addon-' . $addon . '-js', $plugin['url'] . 'inc/lib/codemirror/addon/' . $addons_group_name . '/' . $addon . '.js', array(), $plugin['version'], false );
|
31 |
}
|
32 |
}
|
33 |
|
39 |
'xml'
|
40 |
);
|
41 |
foreach ( $modes as $mode ) {
|
42 |
+
wp_enqueue_script( $plugin['prefix'] . '-codemirror-mode-' . $mode . '-js', $plugin['url'] . 'inc/lib/codemirror/mode/' . $mode . '/' . $mode . '.js', array(), $plugin['version'], true );
|
43 |
}
|
44 |
|
45 |
}
|
49 |
*/
|
50 |
function spacexchimp_p006_load_scripts_admin( $hook ) {
|
51 |
|
52 |
+
// Put value of plugin constants into an array for easier access
|
53 |
+
$plugin = spacexchimp_p006_plugin();
|
|
|
|
|
|
|
54 |
|
55 |
// Return if the page is not a settings page of this plugin
|
56 |
+
$settings_page = 'settings_page_' . $plugin['slug'];
|
57 |
+
if ( $settings_page != $hook ) {
|
58 |
+
return;
|
59 |
+
}
|
60 |
|
61 |
// Load jQuery library
|
62 |
wp_enqueue_script( 'jquery' );
|
63 |
|
64 |
// Bootstrap library
|
65 |
+
wp_enqueue_style( $plugin['prefix'] . '-bootstrap-css', $plugin['url'] . 'inc/lib/bootstrap/bootstrap.css', array(), $plugin['version'], 'all' );
|
66 |
+
wp_enqueue_style( $plugin['prefix'] . '-bootstrap-theme-css', $plugin['url'] . 'inc/lib/bootstrap/bootstrap-theme.css', array(), $plugin['version'], 'all' );
|
67 |
+
wp_enqueue_script( $plugin['prefix'] . '-bootstrap-js', $plugin['url'] . 'inc/lib/bootstrap/bootstrap.js', array(), $plugin['version'], false );
|
68 |
|
69 |
// Font Awesome library
|
70 |
+
wp_enqueue_style( $plugin['prefix'] . '-font-awesome-css', $plugin['url'] . 'inc/lib/font-awesome/css/font-awesome.css', array(), $plugin['version'], 'screen' );
|
71 |
|
72 |
// Style sheet
|
73 |
+
wp_enqueue_style( $plugin['prefix'] . '-admin-css', $plugin['url'] . 'inc/css/admin.css', array(), $plugin['version'], 'all' );
|
74 |
|
75 |
// JavaScript
|
76 |
+
wp_enqueue_script( $plugin['prefix'] . '-admin-js', $plugin['url'] . 'inc/js/admin.js', array(), $plugin['version'], true );
|
77 |
|
78 |
// Call the function that enqueue the CodeMirror library
|
79 |
+
spacexchimp_p006_load_scripts_codemirror();
|
80 |
|
81 |
}
|
82 |
+
add_action( 'admin_enqueue_scripts', $plugin['prefix'] . '_load_scripts_admin' );
|
inc/php/functional.php
CHANGED
@@ -15,15 +15,18 @@ function spacexchimp_p006_prepare( $option ) {
|
|
15 |
return;
|
16 |
}
|
17 |
|
|
|
|
|
|
|
18 |
// Retrieve options from database and declare variables
|
19 |
-
$options = get_option(
|
20 |
$data = !empty( $options[$option] ) ? $options[$option] : '';
|
21 |
|
22 |
// Prepare a variable for storing the processed data
|
23 |
$data_out = "";
|
24 |
|
25 |
// If data is not empty...
|
26 |
-
if ( !empty( $data ) ) {
|
27 |
|
28 |
$data_out .= $data;
|
29 |
|
15 |
return;
|
16 |
}
|
17 |
|
18 |
+
// Put value of plugin constants into an array for easier access
|
19 |
+
$plugin = spacexchimp_p006_plugin();
|
20 |
+
|
21 |
// Retrieve options from database and declare variables
|
22 |
+
$options = get_option( $plugin['settings'] . '_settings' );
|
23 |
$data = !empty( $options[$option] ) ? $options[$option] : '';
|
24 |
|
25 |
// Prepare a variable for storing the processed data
|
26 |
$data_out = "";
|
27 |
|
28 |
// If data is not empty...
|
29 |
+
if ( ! empty( $data ) ) {
|
30 |
|
31 |
$data_out .= $data;
|
32 |
|
inc/php/messages.php
CHANGED
@@ -10,16 +10,14 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
10 |
*/
|
11 |
function spacexchimp_p006_message_hello() {
|
12 |
|
13 |
-
// Put value of constants
|
14 |
-
$
|
15 |
-
$url = SPACEXCHIMP_P006_URL;
|
16 |
-
$text = SPACEXCHIMP_P006_TEXT;
|
17 |
|
18 |
// Retrieve options from database and declare variables
|
19 |
-
$options = get_option( $settings . '_settings' );
|
20 |
|
21 |
// Exit if options are already set in database
|
22 |
-
if ( !empty( $options ) ) {
|
23 |
return;
|
24 |
}
|
25 |
|
@@ -29,16 +27,16 @@ function spacexchimp_p006_message_hello() {
|
|
29 |
<div class="modal-dialog">
|
30 |
<div class="modal-content">
|
31 |
<div class="modal-body">
|
32 |
-
<img src="<?php echo $url . 'inc/img/spacexchimp-logo.png'; ?>">
|
33 |
<button type="button" class="close" data-dismiss="modal">×</button>
|
34 |
<p>
|
35 |
-
<?php _e( 'Hello!', $text ); ?>
|
36 |
-
<?php _e( 'We are the team of Space X-Chimp.', $text ); ?>
|
37 |
</p>
|
38 |
<p>
|
39 |
<?php
|
40 |
printf(
|
41 |
-
__( 'Thank you for installing our plugin! We hope you will love it! %s', $text ),
|
42 |
'😃'
|
43 |
);
|
44 |
?>
|
@@ -71,12 +69,11 @@ function spacexchimp_p006_message_hello() {
|
|
71 |
*/
|
72 |
function spacexchimp_p006_message_error_version() {
|
73 |
|
74 |
-
// Put value of constants
|
75 |
-
$
|
76 |
-
$text = SPACEXCHIMP_P006_TEXT;
|
77 |
|
78 |
// Retrieve options from database and declare variables
|
79 |
-
$info = get_option( $settings . '_service_info' );
|
80 |
$old_version = !empty( $info['old_version'] ) ? $info['old_version'] : '0';
|
81 |
|
82 |
// Exit if this is not the old version of the plugin
|
@@ -90,8 +87,8 @@ function spacexchimp_p006_message_error_version() {
|
|
90 |
<div class="modal-dialog">
|
91 |
<div class="modal-content">
|
92 |
<div class="modal-body">
|
93 |
-
<p><?php _e( 'You have installed an old version of this plugin.', $text ); ?></p>
|
94 |
-
<p><?php _e( 'Please update the plugin to the latest version, and all will be fine.', $text ); ?></p>
|
95 |
</div>
|
96 |
</div>
|
97 |
</div>
|
@@ -114,19 +111,19 @@ function spacexchimp_p006_message_error_version() {
|
|
114 |
function spacexchimp_p006_message_save() {
|
115 |
|
116 |
// Exit if settings are not updated
|
117 |
-
if ( !isset( $_GET['settings-updated'] ) ) {
|
118 |
return;
|
119 |
}
|
120 |
|
121 |
-
// Put value of constants
|
122 |
-
$
|
123 |
|
124 |
// HTML layout
|
125 |
?>
|
126 |
<div id="message" class="updated">
|
127 |
<p>
|
128 |
<i class="fa fa-check" aria-hidden="true"></i>
|
129 |
-
<?php _e( 'Custom code saved successfully.', $text ); ?>
|
130 |
</p>
|
131 |
</div>
|
132 |
<?php
|
10 |
*/
|
11 |
function spacexchimp_p006_message_hello() {
|
12 |
|
13 |
+
// Put value of plugin constants into an array for easier access
|
14 |
+
$plugin = spacexchimp_p006_plugin();
|
|
|
|
|
15 |
|
16 |
// Retrieve options from database and declare variables
|
17 |
+
$options = get_option( $plugin['settings'] . '_settings' );
|
18 |
|
19 |
// Exit if options are already set in database
|
20 |
+
if ( ! empty( $options ) ) {
|
21 |
return;
|
22 |
}
|
23 |
|
27 |
<div class="modal-dialog">
|
28 |
<div class="modal-content">
|
29 |
<div class="modal-body">
|
30 |
+
<img src="<?php echo $plugin['url'] . 'inc/img/spacexchimp-logo.png'; ?>">
|
31 |
<button type="button" class="close" data-dismiss="modal">×</button>
|
32 |
<p>
|
33 |
+
<?php _e( 'Hello!', $plugin['text'] ); ?>
|
34 |
+
<?php _e( 'We are the team of Space X-Chimp.', $plugin['text'] ); ?>
|
35 |
</p>
|
36 |
<p>
|
37 |
<?php
|
38 |
printf(
|
39 |
+
__( 'Thank you for installing our plugin! We hope you will love it! %s', $plugin['text'] ),
|
40 |
'😃'
|
41 |
);
|
42 |
?>
|
69 |
*/
|
70 |
function spacexchimp_p006_message_error_version() {
|
71 |
|
72 |
+
// Put value of plugin constants into an array for easier access
|
73 |
+
$plugin = spacexchimp_p006_plugin();
|
|
|
74 |
|
75 |
// Retrieve options from database and declare variables
|
76 |
+
$info = get_option( $plugin['settings'] . '_service_info' );
|
77 |
$old_version = !empty( $info['old_version'] ) ? $info['old_version'] : '0';
|
78 |
|
79 |
// Exit if this is not the old version of the plugin
|
87 |
<div class="modal-dialog">
|
88 |
<div class="modal-content">
|
89 |
<div class="modal-body">
|
90 |
+
<p><?php _e( 'You have installed an old version of this plugin.', $plugin['text'] ); ?></p>
|
91 |
+
<p><?php _e( 'Please update the plugin to the latest version, and all will be fine.', $plugin['text'] ); ?></p>
|
92 |
</div>
|
93 |
</div>
|
94 |
</div>
|
111 |
function spacexchimp_p006_message_save() {
|
112 |
|
113 |
// Exit if settings are not updated
|
114 |
+
if ( ! isset( $_GET['settings-updated'] ) ) {
|
115 |
return;
|
116 |
}
|
117 |
|
118 |
+
// Put value of plugin constants into an array for easier access
|
119 |
+
$plugin = spacexchimp_p006_plugin();
|
120 |
|
121 |
// HTML layout
|
122 |
?>
|
123 |
<div id="message" class="updated">
|
124 |
<p>
|
125 |
<i class="fa fa-check" aria-hidden="true"></i>
|
126 |
+
<?php _e( 'Custom code saved successfully.', $plugin['text'] ); ?>
|
127 |
</p>
|
128 |
</div>
|
129 |
<?php
|
inc/php/page.php
CHANGED
@@ -10,12 +10,8 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
10 |
*/
|
11 |
function spacexchimp_p006_render_submenu_page() {
|
12 |
|
13 |
-
// Put value of constants
|
14 |
-
$
|
15 |
-
$slug = SPACEXCHIMP_P006_SLUG;
|
16 |
-
$version = SPACEXCHIMP_P006_VERSION;
|
17 |
-
$text = SPACEXCHIMP_P006_TEXT;
|
18 |
-
$path = SPACEXCHIMP_P006_PATH;
|
19 |
|
20 |
// Call messages
|
21 |
spacexchimp_p006_message_hello();
|
@@ -27,55 +23,55 @@ function spacexchimp_p006_render_submenu_page() {
|
|
27 |
<div class="wrap">
|
28 |
|
29 |
<h2 class="sxc-header">
|
30 |
-
<?php echo $name; ?>
|
31 |
<span>
|
32 |
<?php
|
33 |
printf(
|
34 |
-
__( 'by %s Space X-Chimp %s', $text ),
|
35 |
'<a href="https://www.spacexchimp.com" target="_blank">',
|
36 |
'</a>'
|
37 |
);
|
38 |
?>
|
39 |
</span>
|
40 |
-
<p class="version"><?php _e( 'Version', $text ); ?> <?php echo $version; ?></p>
|
41 |
</h2>
|
42 |
|
43 |
<div id="poststuff" class="metabox-holder has-right-sidebar">
|
44 |
|
45 |
<!-- TABS NAVIGATION MENU -->
|
46 |
<ul class="tabs-nav">
|
47 |
-
<li class="active"><a href="#tab-core" data-toggle="tab"><?php _e( 'Main', $text ); ?></a></li>
|
48 |
-
<li><a href="#tab-usage" data-toggle="tab"><?php _e( 'Usage', $text ); ?></a></li>
|
49 |
-
<li><a href="#tab-faq" data-toggle="tab"><?php _e( 'F.A.Q.', $text ); ?></a></li>
|
50 |
-
<li><a href="#tab-support" data-toggle="tab"><?php _e( 'Support', $text ); ?></a></li>
|
51 |
-
<li><a href="#tab-store" data-toggle="tab"><?php _e( 'Store', $text ); ?></a></li>
|
52 |
</ul>
|
53 |
<!-- END-TABS NAVIGATION MENU -->
|
54 |
|
55 |
<!-- TAB 1 -->
|
56 |
<div class="tab-page fade active in" id="tab-core">
|
57 |
<!-- INCLUDE SIDEBAR -->
|
58 |
-
<?php require_once( $path . 'inc/php/sidebar.php' ); ?>
|
59 |
<!-- INCLUDE SETTINGS -->
|
60 |
-
<?php require_once( $path . 'inc/php/tabs/settings.php' ); ?>
|
61 |
</div>
|
62 |
<!-- END-TAB 1 -->
|
63 |
|
64 |
<!-- TAB 2 -->
|
65 |
<div class="tab-page fade" id="tab-usage">
|
66 |
-
<?php require_once( $path . 'inc/php/tabs/usage.php' ); ?>
|
67 |
</div>
|
68 |
<!-- END-TAB 2 -->
|
69 |
|
70 |
<!-- TAB 3 -->
|
71 |
<div class="tab-page fade" id="tab-faq">
|
72 |
-
<?php require_once( $path . 'inc/php/tabs/faq.php' ); ?>
|
73 |
</div>
|
74 |
<!-- END-TAB 3 -->
|
75 |
|
76 |
<!-- TAB 4 -->
|
77 |
<div class="tab-page fade" id="tab-support">
|
78 |
-
<?php require_once( $path . 'inc/php/tabs/support.php' ); ?>
|
79 |
</div>
|
80 |
<!-- END-TAB 4 -->
|
81 |
|
10 |
*/
|
11 |
function spacexchimp_p006_render_submenu_page() {
|
12 |
|
13 |
+
// Put value of plugin constants into an array for easier access
|
14 |
+
$plugin = spacexchimp_p006_plugin();
|
|
|
|
|
|
|
|
|
15 |
|
16 |
// Call messages
|
17 |
spacexchimp_p006_message_hello();
|
23 |
<div class="wrap">
|
24 |
|
25 |
<h2 class="sxc-header">
|
26 |
+
<?php echo $plugin['name']; ?>
|
27 |
<span>
|
28 |
<?php
|
29 |
printf(
|
30 |
+
__( 'by %s Space X-Chimp %s', $plugin['text'] ),
|
31 |
'<a href="https://www.spacexchimp.com" target="_blank">',
|
32 |
'</a>'
|
33 |
);
|
34 |
?>
|
35 |
</span>
|
36 |
+
<p class="version"><?php _e( 'Version', $plugin['text'] ); ?> <?php echo $plugin['version']; ?></p>
|
37 |
</h2>
|
38 |
|
39 |
<div id="poststuff" class="metabox-holder has-right-sidebar">
|
40 |
|
41 |
<!-- TABS NAVIGATION MENU -->
|
42 |
<ul class="tabs-nav">
|
43 |
+
<li class="active"><a href="#tab-core" data-toggle="tab"><?php _e( 'Main', $plugin['text'] ); ?></a></li>
|
44 |
+
<li><a href="#tab-usage" data-toggle="tab"><?php _e( 'Usage', $plugin['text'] ); ?></a></li>
|
45 |
+
<li><a href="#tab-faq" data-toggle="tab"><?php _e( 'F.A.Q.', $plugin['text'] ); ?></a></li>
|
46 |
+
<li><a href="#tab-support" data-toggle="tab"><?php _e( 'Support', $plugin['text'] ); ?></a></li>
|
47 |
+
<li><a href="#tab-store" data-toggle="tab"><?php _e( 'Store', $plugin['text'] ); ?></a></li>
|
48 |
</ul>
|
49 |
<!-- END-TABS NAVIGATION MENU -->
|
50 |
|
51 |
<!-- TAB 1 -->
|
52 |
<div class="tab-page fade active in" id="tab-core">
|
53 |
<!-- INCLUDE SIDEBAR -->
|
54 |
+
<?php require_once( $plugin['path'] . 'inc/php/sidebar.php' ); ?>
|
55 |
<!-- INCLUDE SETTINGS -->
|
56 |
+
<?php require_once( $plugin['path'] . 'inc/php/tabs/settings.php' ); ?>
|
57 |
</div>
|
58 |
<!-- END-TAB 1 -->
|
59 |
|
60 |
<!-- TAB 2 -->
|
61 |
<div class="tab-page fade" id="tab-usage">
|
62 |
+
<?php require_once( $plugin['path'] . 'inc/php/tabs/usage.php' ); ?>
|
63 |
</div>
|
64 |
<!-- END-TAB 2 -->
|
65 |
|
66 |
<!-- TAB 3 -->
|
67 |
<div class="tab-page fade" id="tab-faq">
|
68 |
+
<?php require_once( $plugin['path'] . 'inc/php/tabs/faq.php' ); ?>
|
69 |
</div>
|
70 |
<!-- END-TAB 3 -->
|
71 |
|
72 |
<!-- TAB 4 -->
|
73 |
<div class="tab-page fade" id="tab-support">
|
74 |
+
<?php require_once( $plugin['path'] . 'inc/php/tabs/support.php' ); ?>
|
75 |
</div>
|
76 |
<!-- END-TAB 4 -->
|
77 |
|
inc/php/sidebar.php
CHANGED
@@ -13,10 +13,10 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
13 |
<div id="side-sortables" class="meta-box-sortabless ui-sortable">
|
14 |
|
15 |
<div class="postbox banner">
|
16 |
-
<h3 class="title"><?php _e( 'We are «Space X-Chimp»', $text ); ?></h3>
|
17 |
<div class="inside">
|
18 |
<a href="https://www.spacexchimp.com/" target="_blank">
|
19 |
-
<img src="<?php echo
|
20 |
</a>
|
21 |
</div>
|
22 |
</div>
|
@@ -24,36 +24,36 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
24 |
<div class="postbox banner">
|
25 |
<div class="inside">
|
26 |
<a href="https://www.spacexchimp.com/plugins/header-and-footer-scripts-inserter-pro.html" target="_blank">
|
27 |
-
<img src="<?php echo
|
28 |
</a>
|
29 |
</div>
|
30 |
</div>
|
31 |
|
32 |
<div class="postbox about">
|
33 |
-
<h3 class="title"><?php _e( 'About', $text ); ?></h3>
|
34 |
<div class="inside">
|
35 |
-
<p><?php _e( 'This plugin gives you the ability to easily and safely add your custom HTML code (plus JavaScript, CSS, etc.) to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.', $text ); ?></p>
|
36 |
</div>
|
37 |
</div>
|
38 |
|
39 |
<div class="postbox help">
|
40 |
-
<h3 class="title"><?php _e( 'Help', $text ); ?></h3>
|
41 |
<div class="inside">
|
42 |
-
<p><?php _e( 'If you have a question, please read the information in the FAQ section.', $text ); ?></p>
|
43 |
</div>
|
44 |
</div>
|
45 |
|
46 |
<div class="postbox support">
|
47 |
-
<h3 class="title"><?php _e( 'Support', $text ); ?></h3>
|
48 |
<div class="inside">
|
49 |
-
<p><?php _e( 'Every little contribution helps to cover our costs and allows us to spend more time creating things for awesome people like you to enjoy.', $text ); ?></p>
|
50 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" class="btn btn-default button-labeled">
|
51 |
<span class="btn-label">
|
52 |
-
<img src="<?php echo
|
53 |
</span>
|
54 |
-
<?php _e( 'Donate with PayPal', $text ); ?>
|
55 |
</a>
|
56 |
-
<p><?php _e( 'Thanks for your support!', $text ); ?></p>
|
57 |
</div>
|
58 |
</div>
|
59 |
|
13 |
<div id="side-sortables" class="meta-box-sortabless ui-sortable">
|
14 |
|
15 |
<div class="postbox banner">
|
16 |
+
<h3 class="title"><?php _e( 'We are «Space X-Chimp»', $plugin['text'] ); ?></h3>
|
17 |
<div class="inside">
|
18 |
<a href="https://www.spacexchimp.com/" target="_blank">
|
19 |
+
<img src="<?php echo $plugin['url'] . 'inc/img/spacexchimp-logo.png'; ?>" alt="Space X-Chimp">
|
20 |
</a>
|
21 |
</div>
|
22 |
</div>
|
24 |
<div class="postbox banner">
|
25 |
<div class="inside">
|
26 |
<a href="https://www.spacexchimp.com/plugins/header-and-footer-scripts-inserter-pro.html" target="_blank">
|
27 |
+
<img src="<?php echo $plugin['url'] . 'inc/img/upgrade.png'; ?>" alt="Upgrade" style="margin-top:-16px;">
|
28 |
</a>
|
29 |
</div>
|
30 |
</div>
|
31 |
|
32 |
<div class="postbox about">
|
33 |
+
<h3 class="title"><?php _e( 'About', $plugin['text'] ); ?></h3>
|
34 |
<div class="inside">
|
35 |
+
<p><?php _e( 'This plugin gives you the ability to easily and safely add your custom HTML code (plus JavaScript, CSS, etc.) to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.', $plugin['text'] ); ?></p>
|
36 |
</div>
|
37 |
</div>
|
38 |
|
39 |
<div class="postbox help">
|
40 |
+
<h3 class="title"><?php _e( 'Help', $plugin['text'] ); ?></h3>
|
41 |
<div class="inside">
|
42 |
+
<p><?php _e( 'If you have a question, please read the information in the FAQ section.', $plugin['text'] ); ?></p>
|
43 |
</div>
|
44 |
</div>
|
45 |
|
46 |
<div class="postbox support">
|
47 |
+
<h3 class="title"><?php _e( 'Support', $plugin['text'] ); ?></h3>
|
48 |
<div class="inside">
|
49 |
+
<p><?php _e( 'Every little contribution helps to cover our costs and allows us to spend more time creating things for awesome people like you to enjoy.', $plugin['text'] ); ?></p>
|
50 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" class="btn btn-default button-labeled">
|
51 |
<span class="btn-label">
|
52 |
+
<img src="<?php echo $plugin['url'] . 'inc/img/paypal.svg'; ?>" alt="PayPal">
|
53 |
</span>
|
54 |
+
<?php _e( 'Donate with PayPal', $plugin['text'] ); ?>
|
55 |
</a>
|
56 |
+
<p><?php _e( 'Thanks for your support!', $plugin['text'] ); ?></p>
|
57 |
</div>
|
58 |
</div>
|
59 |
|
inc/php/tabs/faq.php
CHANGED
@@ -10,11 +10,11 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
10 |
*/
|
11 |
?>
|
12 |
<div class="postbox">
|
13 |
-
<h3 class="title"><?php _e( 'Frequently Asked Questions', $text ); ?></h3>
|
14 |
<div class="inside">
|
15 |
|
16 |
<p class="note">
|
17 |
-
<?php _e( 'If you have a question, please read the Frequently Asked Questions below to see if the answer is here.', $text ); ?>
|
18 |
</p>
|
19 |
|
20 |
<div class="panel-group" id="collapse-group">
|
@@ -39,12 +39,12 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
39 |
<?php $i = 1; ?>
|
40 |
|
41 |
<div class="question-<?php echo $i; ?>">
|
42 |
-
<?php _e( 'Where can I find a documentation for this plugin?', $text ); ?>
|
43 |
</div>
|
44 |
<div class="answer-<?php echo $i; $i++ ?>">
|
45 |
<?php
|
46 |
printf(
|
47 |
-
__( 'Please visit our %s Documentation site %s to view documentation.', $text ),
|
48 |
'<a href="https://docs.spacexchimp.com" target="_blank">',
|
49 |
'</a>'
|
50 |
);
|
@@ -52,116 +52,116 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
52 |
</div>
|
53 |
|
54 |
<div class="question-<?php echo $i; ?>">
|
55 |
-
<?php _e( 'Will this plugin work on my wordpress.COM website?', $text ); ?>
|
56 |
</div>
|
57 |
<div class="answer-<?php echo $i; $i++ ?>">
|
58 |
-
<?php _e( 'Sorry, this plugin is available for use only on self-hosted (wordpress.ORG) websites.', $text ); ?>
|
59 |
<br><br>
|
60 |
-
<?php _e( 'Please note that there is a difference between wordpress.COM and wordpress.ORG.', $text ); ?>
|
61 |
-
<?php _e( 'The wordpress.COM is a blog hosting service that offers a limited version of the popular self-hosted WordPress software.', $text ); ?>
|
62 |
<?php
|
63 |
printf(
|
64 |
-
__( 'You can learn more about the difference here: %s .', $text ),
|
65 |
'<a href="https://en.support.wordpress.com/com-vs-org/" target="_blank">https://en.support.wordpress.com/com-vs-org/</a>'
|
66 |
);
|
67 |
?>
|
68 |
</div>
|
69 |
|
70 |
<div class="question-<?php echo $i; ?>">
|
71 |
-
<?php _e( 'Will this plugin work/compatible with the theme I use?', $text ); ?>
|
72 |
</div>
|
73 |
<div class="answer-<?php echo $i; $i++ ?>">
|
74 |
-
<?php _e( 'This plugin is compatible with most themes.', $text ); ?>
|
75 |
-
<?php _e( 'But, unfortunately, we cannot check it with all third-party themes (especially paid ones) for compatibility, therefore there are cases when this plugin does not work with a third-party theme.', $text ); ?>
|
76 |
-
<?php _e( 'We constantly check this plugin for compatibility with third-party themes.', $text ); ?>
|
77 |
-
<?php _e( 'If we find that this plugin is incompatible with a third-party theme, and if we can fix it on our part, we release an update of our plugin to fix the problem.', $text ); ?>
|
78 |
<br><br>
|
79 |
-
<?php _e( 'If you find a conflict between our plugin and a third-party theme, please let us know and we will definitely release an update of our plugin to fix the problem.', $text ); ?>
|
80 |
</div>
|
81 |
|
82 |
<div class="question-<?php echo $i; ?>">
|
83 |
-
<?php _e( 'Will this plugin work/compatible with other plugins that I use?', $text ); ?>
|
84 |
</div>
|
85 |
<div class="answer-<?php echo $i; $i++ ?>">
|
86 |
-
<?php _e( 'This plugin is compatible with most plugins.', $text ); ?>
|
87 |
-
<?php _e( 'But, unfortunately, we cannot check it with all third-party plugins (especially paid ones) for compatibility, therefore there are cases when this plugin does not work with a third-party plugin.', $text ); ?>
|
88 |
-
<?php _e( 'We constantly check this plugin for compatibility with third-party plugins.', $text ); ?>
|
89 |
-
<?php _e( 'If we find that this plugin is incompatible with a third-party plugin, and if we can fix it on our part, we release an update of our plugin to fix the problem.', $text ); ?>
|
90 |
<br><br>
|
91 |
-
<?php _e( 'If you find a conflict between our plugin and a third-party plugin, please let us know and we will definitely release an update of our plugin to fix the problem.', $text ); ?>
|
92 |
</div>
|
93 |
|
94 |
<div class="question-<?php echo $i; ?>">
|
95 |
-
<?php _e( 'Can I use this plugin on my language?', $text ); ?>
|
96 |
</div>
|
97 |
<div class="answer-<?php echo $i; $i++ ?>">
|
98 |
-
<?php _e( 'Yes.', $text ); ?>
|
99 |
-
<?php _e( 'This plugin is ready for translation and has already been translated into several languages.', $text ); ?>
|
100 |
-
<?php _e( 'But If your language is not available then you can make one.', $text ); ?>
|
101 |
-
<?php _e( 'It is also possible that not all existing translations are up-to-date or correct, so you are welcome to make corrections.', $text ); ?>
|
102 |
-
<?php _e( 'Many of plugin users would be delighted if you share your translation with the community.', $text ); ?>
|
103 |
-
<?php _e( 'Thanks for your contribution!', $text ); ?>
|
104 |
<br><br>
|
105 |
<?php
|
106 |
printf(
|
107 |
-
__( 'If you want to help translate this plugin, please visit the %s.', $text ),
|
108 |
-
'<a href="https://translate.wordpress.org/projects/wp-plugins/' . $slug . '" target="_blank">translation page</a>'
|
109 |
);
|
110 |
?>
|
111 |
-
<?php _e( 'You can also use the POT file that is included and placed in the "languages" folder to create a translation PO file.', $text ); ?>
|
112 |
<?php
|
113 |
printf(
|
114 |
-
__( 'Just send the PO file to us ( %s ) and we will include this translation within the next plugin update.', $text ),
|
115 |
-
'<a href="mailto:support@spacexchimp.com?subject=New translation of the ' . $name . ' plugin">support@spacexchimp.com</a>'
|
116 |
);
|
117 |
?>
|
118 |
</div>
|
119 |
|
120 |
<div class="question-<?php echo $i; ?>">
|
121 |
-
<?php _e( 'How does it work?', $text ); ?>
|
122 |
</div>
|
123 |
<div class="answer-<?php echo $i; $i++ ?>">
|
124 |
-
<?php _e( 'On the "Main" tab, place your custom HTML code in the code editor field and click the "Save changes" button.', $text ); ?>
|
125 |
-
<?php _e( 'Enjoy the result of applying your custom HTML code.', $text ); ?>
|
126 |
-
<?php _e( 'It\'s that simple!', $text ); ?>
|
127 |
</div>
|
128 |
|
129 |
<div class="question-<?php echo $i; ?>">
|
130 |
-
<?php _e( 'How much of HTML code (characters) I can enter in the code editor?', $text ); ?>
|
131 |
</div>
|
132 |
<div class="answer-<?php echo $i; $i++ ?>">
|
133 |
-
<?php _e( 'We don\'t limit the number of characters.', $text ); ?>
|
134 |
</div>
|
135 |
|
136 |
<div class="question-<?php echo $i; ?>">
|
137 |
-
<?php _e( 'Does this plugin requires any modification of the theme?', $text ); ?>
|
138 |
</div>
|
139 |
<div class="answer-<?php echo $i; $i++ ?>">
|
140 |
-
<?php _e( 'Absolutely not.', $text ); ?>
|
141 |
-
<?php _e( 'This plugin is configurable entirely from the plugin settings page.', $text ); ?>
|
142 |
</div>
|
143 |
|
144 |
<div class="question-<?php echo $i; ?>">
|
145 |
-
<?php _e( 'Does this require any knowledge of HTML or CSS?', $text ); ?>
|
146 |
</div>
|
147 |
<div class="answer-<?php echo $i; $i++ ?>">
|
148 |
-
<?php _e( 'This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page.', $text ); ?>
|
149 |
-
<?php _e( '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 ); ?>
|
150 |
</div>
|
151 |
|
152 |
<div class="question-<?php echo $i; ?>">
|
153 |
-
<?php _e( 'Can I add my custom HTML code to a specific page of my website?', $text ); ?>
|
154 |
</div>
|
155 |
<div class="answer-<?php echo $i; $i++ ?>">
|
156 |
-
<?php _e( 'For now, this plugin does not have an option to apply the custom HTML code only on specific pages.', $text ); ?>
|
157 |
-
<?php _e( 'We plan to add this feature soon.', $text ); ?>
|
158 |
-
<?php _e( 'But for now in order to apply your custom HTML code only on specific pages of your website, you need to wrap your custom HTML code in a PHP code that will determine the page you want.', $text ); ?>
|
159 |
-
<?php _e( 'You need something like this:', $text ); ?>
|
160 |
<br><br>
|
161 |
<pre><code>function my_custom_html_code() {
|
162 |
|
163 |
// Stop the function if this is not the Home page of website
|
164 |
-
if ( !is_home() ) {
|
165 |
return;
|
166 |
}
|
167 |
|
@@ -172,121 +172,121 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
172 |
add_action( 'wp_head', 'my_custom_html_code' );</code></pre>
|
173 |
<?php
|
174 |
printf(
|
175 |
-
__( 'To apply the PHP code on a website, we can recommend you to use another our plugin called %s.', $text ),
|
176 |
'<a href="https://wordpress.org/plugins/my-custom-functions/" target="_blank">My Custom Functions</a>'
|
177 |
);
|
178 |
?>
|
179 |
</div>
|
180 |
|
181 |
<div class="question-<?php echo $i; ?> question-red">
|
182 |
-
<?php _e( 'It\'s not working.', $text ); ?>
|
183 |
-
<?php _e( 'What could be wrong?', $text ); ?>
|
184 |
</div>
|
185 |
<div class="answer-<?php echo $i; $i++ ?>">
|
186 |
-
<?php _e( 'As with every plugin, it\'s possible that things don\'t work.', $text ); ?>
|
187 |
-
<?php _e( 'It\'s impossible to tell what could be wrong exactly.', $text ); ?>
|
188 |
-
<?php _e( 'The most common reason for this is a web browser\'s cache.', $text ); ?>
|
189 |
-
<?php _e( 'Every web browser stores a cache of the websites you visit (pages, images, and etc.) to reduce bandwidth usage and server load.', $text ); ?>
|
190 |
-
<?php _e( 'This is called the browser\'s cache.', $text ); ?>
|
191 |
-
<?php _e( 'Clearing your browser\'s cache may solve the problem.', $text ); ?>
|
192 |
<br><br>
|
193 |
-
<?php _e( 'If you post a support request in the plugin\'s support forum on WordPress.org, we\'d be happy to give it a look and try to help out.', $text ); ?>
|
194 |
-
<?php _e( 'Please include as much information as possible, including a link to your website where the problem can be seen.', $text ); ?>
|
195 |
</div>
|
196 |
|
197 |
<div class="question-<?php echo $i; ?> question-red">
|
198 |
-
<?php _e( 'My custom HTML code is not working.', $text ); ?>
|
199 |
-
<?php _e( 'What could be wrong?', $text ); ?>
|
200 |
</div>
|
201 |
<div class="answer-<?php echo $i; $i++ ?>">
|
202 |
-
<?php _e( 'It happens that your custom HTML code that you insert on the plugin page does not work, even if an error message does not appear.', $text ); ?>
|
203 |
-
<?php _e( 'Here are a few of the most likely causes of the issue:', $text ); ?>
|
204 |
<ol class="custom-list">
|
205 |
-
<li><?php _e( 'You have a typo during the insertion of your custom HTML code.', $text ); ?></li>
|
206 |
-
<li><?php _e( 'Your custom HTML code has a syntax error.', $text ); ?></li>
|
207 |
-
<li><?php _e( 'Your custom HTML code is incorrect and may not work.', $text ); ?></li>
|
208 |
</ol>
|
209 |
</div>
|
210 |
|
211 |
<div class="question-<?php echo $i; ?> question-red">
|
212 |
-
<?php _e( 'The last WordPress update is preventing me from editing my website that is using this plugin.', $text ); ?>
|
213 |
-
<?php _e( 'Why is this?', $text ); ?>
|
214 |
</div>
|
215 |
<div class="answer-<?php echo $i; $i++ ?>">
|
216 |
-
<?php _e( 'This plugin can not cause such problem.', $text ); ?>
|
217 |
-
<?php _e( 'More likely, the problem are related to the settings of the website.', $text ); ?>
|
218 |
-
<?php _e( 'It could just be a cache, so please try to clear your website\'s cache (may be you using a caching plugin, or some web service such as the CloudFlare) and then the cache of your web browser.', $text ); ?>
|
219 |
-
<?php _e( 'Also please try to re-login to the website, this too can help.', $text ); ?>
|
220 |
</div>
|
221 |
|
222 |
<div class="question-<?php echo $i; ?> question-red">
|
223 |
-
<?php _e( 'Where to report bug if found?', $text ); ?>
|
224 |
</div>
|
225 |
<div class="answer-<?php echo $i; $i++ ?>">
|
226 |
-
<?php _e( 'Bug reports are very welcome!', $text ); ?>
|
227 |
<?php
|
228 |
printf(
|
229 |
-
__( 'Please visit our %s contact page %s and report.', $text ),
|
230 |
'<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
|
231 |
'</a>'
|
232 |
);
|
233 |
?>
|
234 |
-
<?php _e( 'Please do not forget to specify the name of the plugin.', $text ); ?>
|
235 |
-
<?php _e( 'Thank you!', $text ); ?>
|
236 |
<br><br>
|
237 |
-
<?php _e( 'Please include as much information as possible, including a link to your website where the problem can be seen.', $text ); ?>
|
238 |
-
<?php _e( 'Describe in more detail what exactly you are seeing.', $text ); ?>
|
239 |
-
<?php _e( 'Here are some examples:', $text ); ?>
|
240 |
<br><br>
|
241 |
<ul class="custom-list">
|
242 |
-
<li><?php _e( 'Elements of the plugin settings page are not working.', $text ); ?></li>
|
243 |
-
<li><?php _e( 'An error message is displayed on the plugin settings page.', $text ); ?></li>
|
244 |
-
<li><?php _e( 'An error message is displayed on the front end of website.', $text ); ?></li>
|
245 |
-
<li><?php _e( 'An error message is displayed on the back end of website.', $text ); ?></li>
|
246 |
-
<li><?php _e( 'Custom code is inserted on the plugin settings page, but it is not applied on the website.', $text ); ?></li>
|
247 |
-
<li><?php _e( 'Website is crashed.', $text ); ?></li>
|
248 |
</ul>
|
249 |
</div>
|
250 |
|
251 |
<div class="question-<?php echo $i; ?>">
|
252 |
-
<?php _e( 'Where to share any ideas or suggestions to make the plugin better?', $text ); ?>
|
253 |
</div>
|
254 |
<div class="answer-<?php echo $i; $i++ ?>">
|
255 |
-
<?php _e( 'Any suggestions are very welcome!', $text ); ?>
|
256 |
<?php
|
257 |
printf(
|
258 |
-
__( 'Please visit our %s contact page %s.', $text ),
|
259 |
'<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
|
260 |
'</a>'
|
261 |
);
|
262 |
?>
|
263 |
-
<?php _e( 'Please do not forget to specify the name of the plugin.', $text ); ?>
|
264 |
-
<?php _e( 'Thank you!', $text ); ?>
|
265 |
</div>
|
266 |
|
267 |
<div class="question-<?php echo $i; ?>">
|
268 |
-
<?php _e( 'I love this plugin!', $text ); ?>
|
269 |
-
<?php _e( 'Can I help somehow?', $text ); ?>
|
270 |
</div>
|
271 |
<div class="answer-<?php echo $i; $i++ ?>">
|
272 |
-
<?php _e( 'Yes, any contributions are very welcome!', $text ); ?>
|
273 |
<?php
|
274 |
printf(
|
275 |
-
__( 'Please visit our %s Support Us %s page.', $text ),
|
276 |
'<a href="https://www.spacexchimp.com/donate.html" target="_blank">',
|
277 |
'</a>'
|
278 |
);
|
279 |
?>
|
280 |
-
<?php _e( 'Thank you!', $text ); ?>
|
281 |
</div>
|
282 |
|
283 |
<div class="question-<?php echo $i; ?>">
|
284 |
-
<?php _e( 'Where can I find information about your licenses, payment process and refunds?', $text ); ?>
|
285 |
</div>
|
286 |
<div class="answer-<?php echo $i; $i++ ?>">
|
287 |
<?php
|
288 |
printf(
|
289 |
-
__( 'Answers to common questions about our licenses, payment process and refunds can be found on our %s Common Questions %s page.', $text ),
|
290 |
'<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
|
291 |
'</a>'
|
292 |
);
|
@@ -294,12 +294,12 @@ add_action( 'wp_head', 'my_custom_html_code' );</code></pre>
|
|
294 |
</div>
|
295 |
|
296 |
<div class="question-<?php echo $i; ?>">
|
297 |
-
<?php _e( 'Where can I find information about your customer support?', $text ); ?>
|
298 |
</div>
|
299 |
<div class="answer-<?php echo $i; $i++ ?>">
|
300 |
<?php
|
301 |
printf(
|
302 |
-
__( 'Answers to common questions about our customer support can be found on our %s Common Questions %s page.', $text ),
|
303 |
'<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
|
304 |
'</a>'
|
305 |
);
|
@@ -307,12 +307,12 @@ add_action( 'wp_head', 'my_custom_html_code' );</code></pre>
|
|
307 |
</div>
|
308 |
|
309 |
<div class="question-<?php echo $i; ?>">
|
310 |
-
<?php _e( 'Where can I find information about your affiliate program?', $text ); ?>
|
311 |
</div>
|
312 |
<div class="answer-<?php echo $i; $i++ ?>">
|
313 |
<?php
|
314 |
printf(
|
315 |
-
__( 'Answers to common questions about our affiliate program can be found on our %s Common Questions %s page.', $text ),
|
316 |
'<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
|
317 |
'</a>'
|
318 |
);
|
@@ -320,17 +320,17 @@ add_action( 'wp_head', 'my_custom_html_code' );</code></pre>
|
|
320 |
</div>
|
321 |
|
322 |
<div class="question-<?php echo $i; ?>">
|
323 |
-
<?php _e( 'My question wasn\'t answered here.', $text ); ?>
|
324 |
</div>
|
325 |
<div class="answer-<?php echo $i; $i++ ?>">
|
326 |
<?php
|
327 |
printf(
|
328 |
-
__( 'You can ask your question on %s this page %s.', $text ),
|
329 |
'<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
|
330 |
'</a>'
|
331 |
);
|
332 |
?>
|
333 |
-
<?php _e( 'But please keep in mind that this plugin is free, and there is no a special support team, so we have no way to answer everyone.', $text ); ?>
|
334 |
</div>
|
335 |
|
336 |
</div>
|
10 |
*/
|
11 |
?>
|
12 |
<div class="postbox">
|
13 |
+
<h3 class="title"><?php _e( 'Frequently Asked Questions', $plugin['text'] ); ?></h3>
|
14 |
<div class="inside">
|
15 |
|
16 |
<p class="note">
|
17 |
+
<?php _e( 'If you have a question, please read the Frequently Asked Questions below to see if the answer is here.', $plugin['text'] ); ?>
|
18 |
</p>
|
19 |
|
20 |
<div class="panel-group" id="collapse-group">
|
39 |
<?php $i = 1; ?>
|
40 |
|
41 |
<div class="question-<?php echo $i; ?>">
|
42 |
+
<?php _e( 'Where can I find a documentation for this plugin?', $plugin['text'] ); ?>
|
43 |
</div>
|
44 |
<div class="answer-<?php echo $i; $i++ ?>">
|
45 |
<?php
|
46 |
printf(
|
47 |
+
__( 'Please visit our %s Documentation site %s to view documentation.', $plugin['text'] ),
|
48 |
'<a href="https://docs.spacexchimp.com" target="_blank">',
|
49 |
'</a>'
|
50 |
);
|
52 |
</div>
|
53 |
|
54 |
<div class="question-<?php echo $i; ?>">
|
55 |
+
<?php _e( 'Will this plugin work on my wordpress.COM website?', $plugin['text'] ); ?>
|
56 |
</div>
|
57 |
<div class="answer-<?php echo $i; $i++ ?>">
|
58 |
+
<?php _e( 'Sorry, this plugin is available for use only on self-hosted (wordpress.ORG) websites.', $plugin['text'] ); ?>
|
59 |
<br><br>
|
60 |
+
<?php _e( 'Please note that there is a difference between wordpress.COM and wordpress.ORG.', $plugin['text'] ); ?>
|
61 |
+
<?php _e( 'The wordpress.COM is a blog hosting service that offers a limited version of the popular self-hosted WordPress software.', $plugin['text'] ); ?>
|
62 |
<?php
|
63 |
printf(
|
64 |
+
__( 'You can learn more about the difference here: %s .', $plugin['text'] ),
|
65 |
'<a href="https://en.support.wordpress.com/com-vs-org/" target="_blank">https://en.support.wordpress.com/com-vs-org/</a>'
|
66 |
);
|
67 |
?>
|
68 |
</div>
|
69 |
|
70 |
<div class="question-<?php echo $i; ?>">
|
71 |
+
<?php _e( 'Will this plugin work/compatible with the theme I use?', $plugin['text'] ); ?>
|
72 |
</div>
|
73 |
<div class="answer-<?php echo $i; $i++ ?>">
|
74 |
+
<?php _e( 'This plugin is compatible with most themes.', $plugin['text'] ); ?>
|
75 |
+
<?php _e( 'But, unfortunately, we cannot check it with all third-party themes (especially paid ones) for compatibility, therefore there are cases when this plugin does not work with a third-party theme.', $plugin['text'] ); ?>
|
76 |
+
<?php _e( 'We constantly check this plugin for compatibility with third-party themes.', $plugin['text'] ); ?>
|
77 |
+
<?php _e( 'If we find that this plugin is incompatible with a third-party theme, and if we can fix it on our part, we release an update of our plugin to fix the problem.', $plugin['text'] ); ?>
|
78 |
<br><br>
|
79 |
+
<?php _e( 'If you find a conflict between our plugin and a third-party theme, please let us know and we will definitely release an update of our plugin to fix the problem.', $plugin['text'] ); ?>
|
80 |
</div>
|
81 |
|
82 |
<div class="question-<?php echo $i; ?>">
|
83 |
+
<?php _e( 'Will this plugin work/compatible with other plugins that I use?', $plugin['text'] ); ?>
|
84 |
</div>
|
85 |
<div class="answer-<?php echo $i; $i++ ?>">
|
86 |
+
<?php _e( 'This plugin is compatible with most plugins.', $plugin['text'] ); ?>
|
87 |
+
<?php _e( 'But, unfortunately, we cannot check it with all third-party plugins (especially paid ones) for compatibility, therefore there are cases when this plugin does not work with a third-party plugin.', $plugin['text'] ); ?>
|
88 |
+
<?php _e( 'We constantly check this plugin for compatibility with third-party plugins.', $plugin['text'] ); ?>
|
89 |
+
<?php _e( 'If we find that this plugin is incompatible with a third-party plugin, and if we can fix it on our part, we release an update of our plugin to fix the problem.', $plugin['text'] ); ?>
|
90 |
<br><br>
|
91 |
+
<?php _e( 'If you find a conflict between our plugin and a third-party plugin, please let us know and we will definitely release an update of our plugin to fix the problem.', $plugin['text'] ); ?>
|
92 |
</div>
|
93 |
|
94 |
<div class="question-<?php echo $i; ?>">
|
95 |
+
<?php _e( 'Can I use this plugin on my language?', $plugin['text'] ); ?>
|
96 |
</div>
|
97 |
<div class="answer-<?php echo $i; $i++ ?>">
|
98 |
+
<?php _e( 'Yes.', $plugin['text'] ); ?>
|
99 |
+
<?php _e( 'This plugin is ready for translation and has already been translated into several languages.', $plugin['text'] ); ?>
|
100 |
+
<?php _e( 'But If your language is not available then you can make one.', $plugin['text'] ); ?>
|
101 |
+
<?php _e( 'It is also possible that not all existing translations are up-to-date or correct, so you are welcome to make corrections.', $plugin['text'] ); ?>
|
102 |
+
<?php _e( 'Many of plugin users would be delighted if you share your translation with the community.', $plugin['text'] ); ?>
|
103 |
+
<?php _e( 'Thanks for your contribution!', $plugin['text'] ); ?>
|
104 |
<br><br>
|
105 |
<?php
|
106 |
printf(
|
107 |
+
__( 'If you want to help translate this plugin, please visit the %s.', $plugin['text'] ),
|
108 |
+
'<a href="https://translate.wordpress.org/projects/wp-plugins/' . $plugin['slug'] . '" target="_blank">translation page</a>'
|
109 |
);
|
110 |
?>
|
111 |
+
<?php _e( 'You can also use the POT file that is included and placed in the "languages" folder to create a translation PO file.', $plugin['text'] ); ?>
|
112 |
<?php
|
113 |
printf(
|
114 |
+
__( 'Just send the PO file to us ( %s ) and we will include this translation within the next plugin update.', $plugin['text'] ),
|
115 |
+
'<a href="mailto:support@spacexchimp.com?subject=New translation of the ' . $plugin['name'] . ' plugin">support@spacexchimp.com</a>'
|
116 |
);
|
117 |
?>
|
118 |
</div>
|
119 |
|
120 |
<div class="question-<?php echo $i; ?>">
|
121 |
+
<?php _e( 'How does it work?', $plugin['text'] ); ?>
|
122 |
</div>
|
123 |
<div class="answer-<?php echo $i; $i++ ?>">
|
124 |
+
<?php _e( 'On the "Main" tab, place your custom HTML code in the code editor field and click the "Save changes" button.', $plugin['text'] ); ?>
|
125 |
+
<?php _e( 'Enjoy the result of applying your custom HTML code.', $plugin['text'] ); ?>
|
126 |
+
<?php _e( 'It\'s that simple!', $plugin['text'] ); ?>
|
127 |
</div>
|
128 |
|
129 |
<div class="question-<?php echo $i; ?>">
|
130 |
+
<?php _e( 'How much of HTML code (characters) I can enter in the code editor?', $plugin['text'] ); ?>
|
131 |
</div>
|
132 |
<div class="answer-<?php echo $i; $i++ ?>">
|
133 |
+
<?php _e( 'We don\'t limit the number of characters.', $plugin['text'] ); ?>
|
134 |
</div>
|
135 |
|
136 |
<div class="question-<?php echo $i; ?>">
|
137 |
+
<?php _e( 'Does this plugin requires any modification of the theme?', $plugin['text'] ); ?>
|
138 |
</div>
|
139 |
<div class="answer-<?php echo $i; $i++ ?>">
|
140 |
+
<?php _e( 'Absolutely not.', $plugin['text'] ); ?>
|
141 |
+
<?php _e( 'This plugin is configurable entirely from the plugin settings page.', $plugin['text'] ); ?>
|
142 |
</div>
|
143 |
|
144 |
<div class="question-<?php echo $i; ?>">
|
145 |
+
<?php _e( 'Does this require any knowledge of HTML or CSS?', $plugin['text'] ); ?>
|
146 |
</div>
|
147 |
<div class="answer-<?php echo $i; $i++ ?>">
|
148 |
+
<?php _e( 'This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page.', $plugin['text'] ); ?>
|
149 |
+
<?php _e( 'But you need to know the HTML or CSS in order to add/remove/modify the HTML or CSS code by using this plugin.', $plugin['text'] ); ?>
|
150 |
</div>
|
151 |
|
152 |
<div class="question-<?php echo $i; ?>">
|
153 |
+
<?php _e( 'Can I add my custom HTML code to a specific page of my website?', $plugin['text'] ); ?>
|
154 |
</div>
|
155 |
<div class="answer-<?php echo $i; $i++ ?>">
|
156 |
+
<?php _e( 'For now, this plugin does not have an option to apply the custom HTML code only on specific pages.', $plugin['text'] ); ?>
|
157 |
+
<?php _e( 'We plan to add this feature soon.', $plugin['text'] ); ?>
|
158 |
+
<?php _e( 'But for now in order to apply your custom HTML code only on specific pages of your website, you need to wrap your custom HTML code in a PHP code that will determine the page you want.', $plugin['text'] ); ?>
|
159 |
+
<?php _e( 'You need something like this:', $plugin['text'] ); ?>
|
160 |
<br><br>
|
161 |
<pre><code>function my_custom_html_code() {
|
162 |
|
163 |
// Stop the function if this is not the Home page of website
|
164 |
+
if ( ! is_home() ) {
|
165 |
return;
|
166 |
}
|
167 |
|
172 |
add_action( 'wp_head', 'my_custom_html_code' );</code></pre>
|
173 |
<?php
|
174 |
printf(
|
175 |
+
__( 'To apply the PHP code on a website, we can recommend you to use another our plugin called %s.', $plugin['text'] ),
|
176 |
'<a href="https://wordpress.org/plugins/my-custom-functions/" target="_blank">My Custom Functions</a>'
|
177 |
);
|
178 |
?>
|
179 |
</div>
|
180 |
|
181 |
<div class="question-<?php echo $i; ?> question-red">
|
182 |
+
<?php _e( 'It\'s not working.', $plugin['text'] ); ?>
|
183 |
+
<?php _e( 'What could be wrong?', $plugin['text'] ); ?>
|
184 |
</div>
|
185 |
<div class="answer-<?php echo $i; $i++ ?>">
|
186 |
+
<?php _e( 'As with every plugin, it\'s possible that things don\'t work.', $plugin['text'] ); ?>
|
187 |
+
<?php _e( 'It\'s impossible to tell what could be wrong exactly.', $plugin['text'] ); ?>
|
188 |
+
<?php _e( 'The most common reason for this is a web browser\'s cache.', $plugin['text'] ); ?>
|
189 |
+
<?php _e( 'Every web browser stores a cache of the websites you visit (pages, images, and etc.) to reduce bandwidth usage and server load.', $plugin['text'] ); ?>
|
190 |
+
<?php _e( 'This is called the browser\'s cache.', $plugin['text'] ); ?>
|
191 |
+
<?php _e( 'Clearing your browser\'s cache may solve the problem.', $plugin['text'] ); ?>
|
192 |
<br><br>
|
193 |
+
<?php _e( 'If you post a support request in the plugin\'s support forum on WordPress.org, we\'d be happy to give it a look and try to help out.', $plugin['text'] ); ?>
|
194 |
+
<?php _e( 'Please include as much information as possible, including a link to your website where the problem can be seen.', $plugin['text'] ); ?>
|
195 |
</div>
|
196 |
|
197 |
<div class="question-<?php echo $i; ?> question-red">
|
198 |
+
<?php _e( 'My custom HTML code is not working.', $plugin['text'] ); ?>
|
199 |
+
<?php _e( 'What could be wrong?', $plugin['text'] ); ?>
|
200 |
</div>
|
201 |
<div class="answer-<?php echo $i; $i++ ?>">
|
202 |
+
<?php _e( 'It happens that your custom HTML code that you insert on the plugin page does not work, even if an error message does not appear.', $plugin['text'] ); ?>
|
203 |
+
<?php _e( 'Here are a few of the most likely causes of the issue:', $plugin['text'] ); ?>
|
204 |
<ol class="custom-list">
|
205 |
+
<li><?php _e( 'You have a typo during the insertion of your custom HTML code.', $plugin['text'] ); ?></li>
|
206 |
+
<li><?php _e( 'Your custom HTML code has a syntax error.', $plugin['text'] ); ?></li>
|
207 |
+
<li><?php _e( 'Your custom HTML code is incorrect and may not work.', $plugin['text'] ); ?></li>
|
208 |
</ol>
|
209 |
</div>
|
210 |
|
211 |
<div class="question-<?php echo $i; ?> question-red">
|
212 |
+
<?php _e( 'The last WordPress update is preventing me from editing my website that is using this plugin.', $plugin['text'] ); ?>
|
213 |
+
<?php _e( 'Why is this?', $plugin['text'] ); ?>
|
214 |
</div>
|
215 |
<div class="answer-<?php echo $i; $i++ ?>">
|
216 |
+
<?php _e( 'This plugin can not cause such problem.', $plugin['text'] ); ?>
|
217 |
+
<?php _e( 'More likely, the problem are related to the settings of the website.', $plugin['text'] ); ?>
|
218 |
+
<?php _e( 'It could just be a cache, so please try to clear your website\'s cache (may be you using a caching plugin, or some web service such as the CloudFlare) and then the cache of your web browser.', $plugin['text'] ); ?>
|
219 |
+
<?php _e( 'Also please try to re-login to the website, this too can help.', $plugin['text'] ); ?>
|
220 |
</div>
|
221 |
|
222 |
<div class="question-<?php echo $i; ?> question-red">
|
223 |
+
<?php _e( 'Where to report bug if found?', $plugin['text'] ); ?>
|
224 |
</div>
|
225 |
<div class="answer-<?php echo $i; $i++ ?>">
|
226 |
+
<?php _e( 'Bug reports are very welcome!', $plugin['text'] ); ?>
|
227 |
<?php
|
228 |
printf(
|
229 |
+
__( 'Please visit our %s contact page %s and report.', $plugin['text'] ),
|
230 |
'<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
|
231 |
'</a>'
|
232 |
);
|
233 |
?>
|
234 |
+
<?php _e( 'Please do not forget to specify the name of the plugin.', $plugin['text'] ); ?>
|
235 |
+
<?php _e( 'Thank you!', $plugin['text'] ); ?>
|
236 |
<br><br>
|
237 |
+
<?php _e( 'Please include as much information as possible, including a link to your website where the problem can be seen.', $plugin['text'] ); ?>
|
238 |
+
<?php _e( 'Describe in more detail what exactly you are seeing.', $plugin['text'] ); ?>
|
239 |
+
<?php _e( 'Here are some examples:', $plugin['text'] ); ?>
|
240 |
<br><br>
|
241 |
<ul class="custom-list">
|
242 |
+
<li><?php _e( 'Elements of the plugin settings page are not working.', $plugin['text'] ); ?></li>
|
243 |
+
<li><?php _e( 'An error message is displayed on the plugin settings page.', $plugin['text'] ); ?></li>
|
244 |
+
<li><?php _e( 'An error message is displayed on the front end of website.', $plugin['text'] ); ?></li>
|
245 |
+
<li><?php _e( 'An error message is displayed on the back end of website.', $plugin['text'] ); ?></li>
|
246 |
+
<li><?php _e( 'Custom code is inserted on the plugin settings page, but it is not applied on the website.', $plugin['text'] ); ?></li>
|
247 |
+
<li><?php _e( 'Website is crashed.', $plugin['text'] ); ?></li>
|
248 |
</ul>
|
249 |
</div>
|
250 |
|
251 |
<div class="question-<?php echo $i; ?>">
|
252 |
+
<?php _e( 'Where to share any ideas or suggestions to make the plugin better?', $plugin['text'] ); ?>
|
253 |
</div>
|
254 |
<div class="answer-<?php echo $i; $i++ ?>">
|
255 |
+
<?php _e( 'Any suggestions are very welcome!', $plugin['text'] ); ?>
|
256 |
<?php
|
257 |
printf(
|
258 |
+
__( 'Please visit our %s contact page %s.', $plugin['text'] ),
|
259 |
'<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
|
260 |
'</a>'
|
261 |
);
|
262 |
?>
|
263 |
+
<?php _e( 'Please do not forget to specify the name of the plugin.', $plugin['text'] ); ?>
|
264 |
+
<?php _e( 'Thank you!', $plugin['text'] ); ?>
|
265 |
</div>
|
266 |
|
267 |
<div class="question-<?php echo $i; ?>">
|
268 |
+
<?php _e( 'I love this plugin!', $plugin['text'] ); ?>
|
269 |
+
<?php _e( 'Can I help somehow?', $plugin['text'] ); ?>
|
270 |
</div>
|
271 |
<div class="answer-<?php echo $i; $i++ ?>">
|
272 |
+
<?php _e( 'Yes, any contributions are very welcome!', $plugin['text'] ); ?>
|
273 |
<?php
|
274 |
printf(
|
275 |
+
__( 'Please visit our %s Support Us %s page.', $plugin['text'] ),
|
276 |
'<a href="https://www.spacexchimp.com/donate.html" target="_blank">',
|
277 |
'</a>'
|
278 |
);
|
279 |
?>
|
280 |
+
<?php _e( 'Thank you!', $plugin['text'] ); ?>
|
281 |
</div>
|
282 |
|
283 |
<div class="question-<?php echo $i; ?>">
|
284 |
+
<?php _e( 'Where can I find information about your licenses, payment process and refunds?', $plugin['text'] ); ?>
|
285 |
</div>
|
286 |
<div class="answer-<?php echo $i; $i++ ?>">
|
287 |
<?php
|
288 |
printf(
|
289 |
+
__( 'Answers to common questions about our licenses, payment process and refunds can be found on our %s Common Questions %s page.', $plugin['text'] ),
|
290 |
'<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
|
291 |
'</a>'
|
292 |
);
|
294 |
</div>
|
295 |
|
296 |
<div class="question-<?php echo $i; ?>">
|
297 |
+
<?php _e( 'Where can I find information about your customer support?', $plugin['text'] ); ?>
|
298 |
</div>
|
299 |
<div class="answer-<?php echo $i; $i++ ?>">
|
300 |
<?php
|
301 |
printf(
|
302 |
+
__( 'Answers to common questions about our customer support can be found on our %s Common Questions %s page.', $plugin['text'] ),
|
303 |
'<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
|
304 |
'</a>'
|
305 |
);
|
307 |
</div>
|
308 |
|
309 |
<div class="question-<?php echo $i; ?>">
|
310 |
+
<?php _e( 'Where can I find information about your affiliate program?', $plugin['text'] ); ?>
|
311 |
</div>
|
312 |
<div class="answer-<?php echo $i; $i++ ?>">
|
313 |
<?php
|
314 |
printf(
|
315 |
+
__( 'Answers to common questions about our affiliate program can be found on our %s Common Questions %s page.', $plugin['text'] ),
|
316 |
'<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
|
317 |
'</a>'
|
318 |
);
|
320 |
</div>
|
321 |
|
322 |
<div class="question-<?php echo $i; ?>">
|
323 |
+
<?php _e( 'My question wasn\'t answered here.', $plugin['text'] ); ?>
|
324 |
</div>
|
325 |
<div class="answer-<?php echo $i; $i++ ?>">
|
326 |
<?php
|
327 |
printf(
|
328 |
+
__( 'You can ask your question on %s this page %s.', $plugin['text'] ),
|
329 |
'<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
|
330 |
'</a>'
|
331 |
);
|
332 |
?>
|
333 |
+
<?php _e( 'But please keep in mind that this plugin is free, and there is no a special support team, so we have no way to answer everyone.', $plugin['text'] ); ?>
|
334 |
</div>
|
335 |
|
336 |
</div>
|
inc/php/tabs/settings.php
CHANGED
@@ -14,11 +14,11 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
14 |
<div class="meta-box-sortabless">
|
15 |
|
16 |
<form action="options.php" method="post" enctype="multipart/form-data">
|
17 |
-
<?php settings_fields(
|
18 |
|
19 |
<?php
|
20 |
// Retrieve options from database
|
21 |
-
$options = get_option(
|
22 |
|
23 |
// Set default value if option is empty
|
24 |
$header_beginning = !empty( $options['header_beginning'] ) ? esc_attr( $options['header_beginning'] ) : '';
|
@@ -29,83 +29,83 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
29 |
|
30 |
<div class="postbox" id="head">
|
31 |
<h3 class="title">
|
32 |
-
<?php _e( 'Head Section', $text ); ?>
|
33 |
<div class="pull-right">
|
34 |
-
<span class="not-saved"><?php _e( 'NOT SAVED!', $text ); ?></span>
|
35 |
</div>
|
36 |
</h3>
|
37 |
<div class="inside">
|
38 |
-
<p class="note"><?php _e( 'You can use the fields below to add your custom HTML code to the HEAD section of your website\'s front end.', $text ); ?></p>
|
39 |
|
40 |
<p class='help-text'>
|
41 |
-
<?php _e( 'The HTML code from this field will be printed at the beginning of the HEAD section.', $text ); ?>
|
42 |
-
<?php _e( 'Do not place plain text in this!', $text ); ?>
|
43 |
</p>
|
44 |
<textarea
|
45 |
name="spacexchimp_p006_settings[header_beginning]"
|
46 |
id="spacexchimp_p006_settings[header_beginning]"
|
47 |
-
placeholder="<?php _e( 'Enter your custom HTML code here', $text ); ?>"
|
48 |
><?php echo $header_beginning; ?></textarea>
|
49 |
|
50 |
<p class='help-text'>
|
51 |
-
<?php _e( 'The HTML code from this field will be printed at the end of the HEAD section.', $text ); ?>
|
52 |
-
<?php _e( 'Do not place plain text in this!', $text ); ?>
|
53 |
</p>
|
54 |
<textarea
|
55 |
name="spacexchimp_p006_settings[header_end]"
|
56 |
id="spacexchimp_p006_settings[header_end]"
|
57 |
-
placeholder="<?php _e( 'Enter your custom HTML code here', $text ); ?>"
|
58 |
><?php echo $header_end; ?></textarea>
|
59 |
|
60 |
-
<input type="submit" name="submit" id="submit" class="btn btn-primary" value="<?php _e( 'Save changes', $text ); ?>">
|
61 |
</div>
|
62 |
</div>
|
63 |
|
64 |
<div class="postbox" id="footer">
|
65 |
<h3 class="title">
|
66 |
-
<?php _e( 'Footer Section', $text ); ?>
|
67 |
<div class="pull-right">
|
68 |
-
<span class="not-saved"><?php _e( 'NOT SAVED!', $text ); ?></span>
|
69 |
</div>
|
70 |
</h3>
|
71 |
<div class="inside">
|
72 |
-
<p class="note"><?php _e( 'You can use the fields below to add your custom HTML code to the FOOTER section of your website\'s front end.', $text ); ?></p>
|
73 |
|
74 |
<p class='help-text'>
|
75 |
-
<?php _e( 'The HTML code from this field will be printed at the beginning of the FOOTER section.', $text ); ?>
|
76 |
-
<?php _e( 'Do not place plain text in this!', $text ); ?>
|
77 |
</p>
|
78 |
<textarea
|
79 |
name="spacexchimp_p006_settings[footer_beginning]"
|
80 |
id="spacexchimp_p006_settings[footer_beginning]"
|
81 |
-
placeholder="<?php _e( 'Enter your custom HTML code here', $text ); ?>"
|
82 |
><?php echo $footer_beginning; ?></textarea>
|
83 |
|
84 |
<p class='help-text'>
|
85 |
-
<?php _e( 'The HTML code from this field will be printed at the end of the FOOTER section.', $text ); ?>
|
86 |
-
<?php _e( 'Do not place plain text in this!', $text ); ?>
|
87 |
</p>
|
88 |
<textarea
|
89 |
name="spacexchimp_p006_settings[footer_end]"
|
90 |
id="spacexchimp_p006_settings[footer_end]"
|
91 |
-
placeholder="<?php _e( 'Enter your custom HTML code here', $text ); ?>"
|
92 |
><?php echo $footer_end; ?></textarea>
|
93 |
|
94 |
-
<input type="submit" name="submit" id="submit" class="btn btn-primary" value="<?php _e( 'Save changes', $text ); ?>">
|
95 |
</div>
|
96 |
</div>
|
97 |
|
98 |
<div class="postbox" id="support-addition">
|
99 |
-
<h3 class="title"><?php _e( 'Support', $text ); ?></h3>
|
100 |
<div class="inside">
|
101 |
-
<p><?php _e( 'Every little contribution helps to cover our costs and allows us to spend more time creating things for awesome people like you to enjoy.', $text ); ?></p>
|
102 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" class="btn btn-default button-labeled">
|
103 |
<span class="btn-label">
|
104 |
-
<img src="<?php echo
|
105 |
</span>
|
106 |
-
<?php _e( 'Donate with PayPal', $text ); ?>
|
107 |
</a>
|
108 |
-
<p><?php _e( 'Thanks for your support!', $text ); ?></p>
|
109 |
</div>
|
110 |
</div>
|
111 |
|
14 |
<div class="meta-box-sortabless">
|
15 |
|
16 |
<form action="options.php" method="post" enctype="multipart/form-data">
|
17 |
+
<?php settings_fields( $plugin['settings'] . '_settings_group' ); ?>
|
18 |
|
19 |
<?php
|
20 |
// Retrieve options from database
|
21 |
+
$options = get_option( $plugin['settings'] . '_settings' );
|
22 |
|
23 |
// Set default value if option is empty
|
24 |
$header_beginning = !empty( $options['header_beginning'] ) ? esc_attr( $options['header_beginning'] ) : '';
|
29 |
|
30 |
<div class="postbox" id="head">
|
31 |
<h3 class="title">
|
32 |
+
<?php _e( 'Head Section', $plugin['text'] ); ?>
|
33 |
<div class="pull-right">
|
34 |
+
<span class="not-saved"><?php _e( 'NOT SAVED!', $plugin['text'] ); ?></span>
|
35 |
</div>
|
36 |
</h3>
|
37 |
<div class="inside">
|
38 |
+
<p class="note"><?php _e( 'You can use the fields below to add your custom HTML code to the HEAD section of your website\'s front end.', $plugin['text'] ); ?></p>
|
39 |
|
40 |
<p class='help-text'>
|
41 |
+
<?php _e( 'The HTML code from this field will be printed at the beginning of the HEAD section.', $plugin['text'] ); ?>
|
42 |
+
<?php _e( 'Do not place plain text in this!', $plugin['text'] ); ?>
|
43 |
</p>
|
44 |
<textarea
|
45 |
name="spacexchimp_p006_settings[header_beginning]"
|
46 |
id="spacexchimp_p006_settings[header_beginning]"
|
47 |
+
placeholder="<?php _e( 'Enter your custom HTML code here', $plugin['text'] ); ?>"
|
48 |
><?php echo $header_beginning; ?></textarea>
|
49 |
|
50 |
<p class='help-text'>
|
51 |
+
<?php _e( 'The HTML code from this field will be printed at the end of the HEAD section.', $plugin['text'] ); ?>
|
52 |
+
<?php _e( 'Do not place plain text in this!', $plugin['text'] ); ?>
|
53 |
</p>
|
54 |
<textarea
|
55 |
name="spacexchimp_p006_settings[header_end]"
|
56 |
id="spacexchimp_p006_settings[header_end]"
|
57 |
+
placeholder="<?php _e( 'Enter your custom HTML code here', $plugin['text'] ); ?>"
|
58 |
><?php echo $header_end; ?></textarea>
|
59 |
|
60 |
+
<input type="submit" name="submit" id="submit" class="btn btn-primary" value="<?php _e( 'Save changes', $plugin['text'] ); ?>">
|
61 |
</div>
|
62 |
</div>
|
63 |
|
64 |
<div class="postbox" id="footer">
|
65 |
<h3 class="title">
|
66 |
+
<?php _e( 'Footer Section', $plugin['text'] ); ?>
|
67 |
<div class="pull-right">
|
68 |
+
<span class="not-saved"><?php _e( 'NOT SAVED!', $plugin['text'] ); ?></span>
|
69 |
</div>
|
70 |
</h3>
|
71 |
<div class="inside">
|
72 |
+
<p class="note"><?php _e( 'You can use the fields below to add your custom HTML code to the FOOTER section of your website\'s front end.', $plugin['text'] ); ?></p>
|
73 |
|
74 |
<p class='help-text'>
|
75 |
+
<?php _e( 'The HTML code from this field will be printed at the beginning of the FOOTER section.', $plugin['text'] ); ?>
|
76 |
+
<?php _e( 'Do not place plain text in this!', $plugin['text'] ); ?>
|
77 |
</p>
|
78 |
<textarea
|
79 |
name="spacexchimp_p006_settings[footer_beginning]"
|
80 |
id="spacexchimp_p006_settings[footer_beginning]"
|
81 |
+
placeholder="<?php _e( 'Enter your custom HTML code here', $plugin['text'] ); ?>"
|
82 |
><?php echo $footer_beginning; ?></textarea>
|
83 |
|
84 |
<p class='help-text'>
|
85 |
+
<?php _e( 'The HTML code from this field will be printed at the end of the FOOTER section.', $plugin['text'] ); ?>
|
86 |
+
<?php _e( 'Do not place plain text in this!', $plugin['text'] ); ?>
|
87 |
</p>
|
88 |
<textarea
|
89 |
name="spacexchimp_p006_settings[footer_end]"
|
90 |
id="spacexchimp_p006_settings[footer_end]"
|
91 |
+
placeholder="<?php _e( 'Enter your custom HTML code here', $plugin['text'] ); ?>"
|
92 |
><?php echo $footer_end; ?></textarea>
|
93 |
|
94 |
+
<input type="submit" name="submit" id="submit" class="btn btn-primary" value="<?php _e( 'Save changes', $plugin['text'] ); ?>">
|
95 |
</div>
|
96 |
</div>
|
97 |
|
98 |
<div class="postbox" id="support-addition">
|
99 |
+
<h3 class="title"><?php _e( 'Support', $plugin['text'] ); ?></h3>
|
100 |
<div class="inside">
|
101 |
+
<p><?php _e( 'Every little contribution helps to cover our costs and allows us to spend more time creating things for awesome people like you to enjoy.', $plugin['text'] ); ?></p>
|
102 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" class="btn btn-default button-labeled">
|
103 |
<span class="btn-label">
|
104 |
+
<img src="<?php echo $plugin['url'] . 'inc/img/paypal.svg'; ?>" alt="PayPal">
|
105 |
</span>
|
106 |
+
<?php _e( 'Donate with PayPal', $plugin['text'] ); ?>
|
107 |
</a>
|
108 |
+
<p><?php _e( 'Thanks for your support!', $plugin['text'] ); ?></p>
|
109 |
</div>
|
110 |
</div>
|
111 |
|
inc/php/tabs/support.php
CHANGED
@@ -10,22 +10,22 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
10 |
*/
|
11 |
?>
|
12 |
<div class="postbox">
|
13 |
-
<h3 class="title"><?php _e( 'Support Us', $text ); ?></h3>
|
14 |
<div class="inside">
|
15 |
<span class="image-with-button pull-left">
|
16 |
-
<img src="<?php echo
|
17 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" class="btn btn-default button-labeled">
|
18 |
<span class="btn-label">
|
19 |
-
<img src="<?php echo
|
20 |
</span>
|
21 |
-
<?php _e( 'Donate with PayPal', $text ); ?>
|
22 |
</a>
|
23 |
</span>
|
24 |
<p>
|
25 |
-
<?php _e( 'Hello!', $text ); ?>
|
26 |
<?php
|
27 |
printf(
|
28 |
-
__( 'My name is %s Arthur %s, I\'m the founder of %s Space X-Chimp %s, which unites a small international team of young people.', $text ),
|
29 |
'<a href="https://www.instagram.com/arthur_gareginyan/" target="_blank">',
|
30 |
'</a>',
|
31 |
'<a href="https://www.spacexchimp.com" target="_blank">',
|
@@ -34,19 +34,19 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
34 |
?>
|
35 |
</p>
|
36 |
<p>
|
37 |
-
<?php _e( 'Our intention is to create projects that will make this world a better place.', $text ); ?>
|
38 |
-
<?php _e( 'Our motto is - «Follow your dreams and don’t give up».', $text ); ?>
|
39 |
-
<?php _e( 'We are really passionate about our work, we like what we are doing and hope that you will be enriched by our projects too.', $text ); ?>
|
40 |
</p>
|
41 |
<p>
|
42 |
-
<?php _e( 'We spend a lot of time and effort trying to make sure that the themes, plugins and other things we build are useful, and the ultimate proof of that for us is that you actually want to use them.', $text ); ?>
|
43 |
-
<?php _e( 'But we are an independent developers, without a regular income, so every little contribution helps to cover our costs and allows us to spend more time creating things for awesome people like you to enjoy.', $text ); ?>
|
44 |
</p>
|
45 |
<p>
|
46 |
-
<?php _e( 'If you appreciate our work, you can buy us a cup of coffee!', $text ); ?>
|
47 |
</p>
|
48 |
<p>
|
49 |
-
<?php _e( 'Thank you for your support!', $text ); ?>
|
50 |
</p>
|
51 |
</div>
|
52 |
</div>
|
10 |
*/
|
11 |
?>
|
12 |
<div class="postbox">
|
13 |
+
<h3 class="title"><?php _e( 'Support Us', $plugin['text'] ); ?></h3>
|
14 |
<div class="inside">
|
15 |
<span class="image-with-button pull-left">
|
16 |
+
<img src="<?php echo $plugin['url'] . 'inc/img/thanks.png'; ?>" alt="Thanks!">
|
17 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" class="btn btn-default button-labeled">
|
18 |
<span class="btn-label">
|
19 |
+
<img src="<?php echo $plugin['url'] . 'inc/img/paypal.svg'; ?>" alt="PayPal">
|
20 |
</span>
|
21 |
+
<?php _e( 'Donate with PayPal', $plugin['text'] ); ?>
|
22 |
</a>
|
23 |
</span>
|
24 |
<p>
|
25 |
+
<?php _e( 'Hello!', $plugin['text'] ); ?>
|
26 |
<?php
|
27 |
printf(
|
28 |
+
__( 'My name is %s Arthur %s, I\'m the founder of %s Space X-Chimp %s, which unites a small international team of young people.', $plugin['text'] ),
|
29 |
'<a href="https://www.instagram.com/arthur_gareginyan/" target="_blank">',
|
30 |
'</a>',
|
31 |
'<a href="https://www.spacexchimp.com" target="_blank">',
|
34 |
?>
|
35 |
</p>
|
36 |
<p>
|
37 |
+
<?php _e( 'Our intention is to create projects that will make this world a better place.', $plugin['text'] ); ?>
|
38 |
+
<?php _e( 'Our motto is - «Follow your dreams and don’t give up».', $plugin['text'] ); ?>
|
39 |
+
<?php _e( 'We are really passionate about our work, we like what we are doing and hope that you will be enriched by our projects too.', $plugin['text'] ); ?>
|
40 |
</p>
|
41 |
<p>
|
42 |
+
<?php _e( 'We spend a lot of time and effort trying to make sure that the themes, plugins and other things we build are useful, and the ultimate proof of that for us is that you actually want to use them.', $plugin['text'] ); ?>
|
43 |
+
<?php _e( 'But we are an independent developers, without a regular income, so every little contribution helps to cover our costs and allows us to spend more time creating things for awesome people like you to enjoy.', $plugin['text'] ); ?>
|
44 |
</p>
|
45 |
<p>
|
46 |
+
<?php _e( 'If you appreciate our work, you can buy us a cup of coffee!', $plugin['text'] ); ?>
|
47 |
</p>
|
48 |
<p>
|
49 |
+
<?php _e( 'Thank you for your support!', $plugin['text'] ); ?>
|
50 |
</p>
|
51 |
</div>
|
52 |
</div>
|
inc/php/tabs/usage.php
CHANGED
@@ -10,27 +10,27 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
10 |
*/
|
11 |
?>
|
12 |
<div class="postbox">
|
13 |
-
<h3 class="title"><?php _e( 'Usage Instructions', $text ); ?></h3>
|
14 |
<div class="inside">
|
15 |
-
<p><?php _e( 'To add your custom HTML code (plus JavaScript, CSS, etc.) to your website, simply follow these steps:', $text ); ?></p>
|
16 |
<ol class="custom-counter">
|
17 |
-
<li><?php _e( 'Go to the "Main" tab on this page.', $text ); ?></li>
|
18 |
<li>
|
19 |
-
<?php _e( 'Place your custom HTML code in the code editor field.', $text ); ?>
|
20 |
<br><br>
|
21 |
<p class="note">
|
22 |
-
<b><?php _e( 'Note!', $text ); ?></b>
|
23 |
-
<?php _e( 'The JavaScript and CSS code must be wrapped in HTML tags.', $text ); ?>
|
24 |
-
<?php _e( 'For JavaScript code use the <code><script></code> tag, and for CSS code use the <code><style></code> tag.', $text ); ?>
|
25 |
</p>
|
26 |
</li>
|
27 |
-
<li><?php _e( 'Click the "Save changes" button.', $text ); ?></li>
|
28 |
-
<li><?php _e( 'Enjoy the result of applying your custom HTML code.', $text ); ?> <?php _e( 'It\'s that simple!', $text ); ?></li>
|
29 |
</ol>
|
30 |
<p class="note">
|
31 |
<?php
|
32 |
printf(
|
33 |
-
__( 'If you want more options, then %s let us know %s and we will be happy to add them.', $text ),
|
34 |
'<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
|
35 |
'</a>'
|
36 |
);
|
10 |
*/
|
11 |
?>
|
12 |
<div class="postbox">
|
13 |
+
<h3 class="title"><?php _e( 'Usage Instructions', $plugin['text'] ); ?></h3>
|
14 |
<div class="inside">
|
15 |
+
<p><?php _e( 'To add your custom HTML code (plus JavaScript, CSS, etc.) to your website, simply follow these steps:', $plugin['text'] ); ?></p>
|
16 |
<ol class="custom-counter">
|
17 |
+
<li><?php _e( 'Go to the "Main" tab on this page.', $plugin['text'] ); ?></li>
|
18 |
<li>
|
19 |
+
<?php _e( 'Place your custom HTML code in the code editor field.', $plugin['text'] ); ?>
|
20 |
<br><br>
|
21 |
<p class="note">
|
22 |
+
<b><?php _e( 'Note!', $plugin['text'] ); ?></b>
|
23 |
+
<?php _e( 'The JavaScript and CSS code must be wrapped in HTML tags.', $plugin['text'] ); ?>
|
24 |
+
<?php _e( 'For JavaScript code use the <code><script></code> tag, and for CSS code use the <code><style></code> tag.', $plugin['text'] ); ?>
|
25 |
</p>
|
26 |
</li>
|
27 |
+
<li><?php _e( 'Click the "Save changes" button.', $plugin['text'] ); ?></li>
|
28 |
+
<li><?php _e( 'Enjoy the result of applying your custom HTML code.', $plugin['text'] ); ?> <?php _e( 'It\'s that simple!', $plugin['text'] ); ?></li>
|
29 |
</ol>
|
30 |
<p class="note">
|
31 |
<?php
|
32 |
printf(
|
33 |
+
__( 'If you want more options, then %s let us know %s and we will be happy to add them.', $plugin['text'] ),
|
34 |
'<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
|
35 |
'</a>'
|
36 |
);
|
inc/php/versioning.php
CHANGED
@@ -14,15 +14,17 @@ function spacexchimp_p006_versioning() {
|
|
14 |
// SETTING VARIABLES //
|
15 |
///////////////////////////////////////////////////////////////////
|
16 |
|
17 |
-
// Put value of constants
|
18 |
-
$
|
19 |
-
$
|
20 |
|
21 |
// Read the plugin service information from the database and put it into an array
|
22 |
-
$info = get_option( $settings . '_service_info' );
|
23 |
|
24 |
// Make the "$info" array if the plugin service information in the database is not exist
|
25 |
-
if ( ! is_array( $info ) )
|
|
|
|
|
26 |
|
27 |
// Get the current plugin version number from the database
|
28 |
$version_db = !empty( $info['version'] ) ? $info['version'] : '0';
|
@@ -69,7 +71,7 @@ function spacexchimp_p006_versioning() {
|
|
69 |
if ( $info['old_version'] == '1' ) {
|
70 |
|
71 |
$info['old_version'] = '0';
|
72 |
-
update_option( $settings . '_service_info', $info );
|
73 |
|
74 |
}
|
75 |
|
@@ -84,7 +86,7 @@ function spacexchimp_p006_versioning() {
|
|
84 |
|
85 |
$info['version'] = $version_files;
|
86 |
$info['old_version'] = '0';
|
87 |
-
update_option( $settings . '_service_info', $info );
|
88 |
|
89 |
return;
|
90 |
}
|
@@ -95,7 +97,7 @@ function spacexchimp_p006_versioning() {
|
|
95 |
if ( $version_files < $version_db ) {
|
96 |
|
97 |
$info['old_version'] = '1';
|
98 |
-
update_option( $settings . '_service_info', $info );
|
99 |
|
100 |
return;
|
101 |
}
|
14 |
// SETTING VARIABLES //
|
15 |
///////////////////////////////////////////////////////////////////
|
16 |
|
17 |
+
// Put value of plugin constants into an array for easier access
|
18 |
+
$plugin = spacexchimp_p006_plugin();
|
19 |
+
$version_files = $plugin['version'];
|
20 |
|
21 |
// Read the plugin service information from the database and put it into an array
|
22 |
+
$info = get_option( $plugin['settings'] . '_service_info' );
|
23 |
|
24 |
// Make the "$info" array if the plugin service information in the database is not exist
|
25 |
+
if ( ! is_array( $info ) ) {
|
26 |
+
$info = array();
|
27 |
+
}
|
28 |
|
29 |
// Get the current plugin version number from the database
|
30 |
$version_db = !empty( $info['version'] ) ? $info['version'] : '0';
|
71 |
if ( $info['old_version'] == '1' ) {
|
72 |
|
73 |
$info['old_version'] = '0';
|
74 |
+
update_option( $plugin['settings'] . '_service_info', $info );
|
75 |
|
76 |
}
|
77 |
|
86 |
|
87 |
$info['version'] = $version_files;
|
88 |
$info['old_version'] = '0';
|
89 |
+
update_option( $plugin['settings'] . '_service_info', $info );
|
90 |
|
91 |
return;
|
92 |
}
|
97 |
if ( $version_files < $version_db ) {
|
98 |
|
99 |
$info['old_version'] = '1';
|
100 |
+
update_option( $plugin['settings'] . '_service_info', $info );
|
101 |
|
102 |
return;
|
103 |
}
|
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: 2019-03-
|
7 |
-
"PO-Revision-Date: 2019-03-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: German\n"
|
10 |
"Language: de_DE\n"
|
@@ -20,73 +20,73 @@ msgstr ""
|
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
-
#: inc/php/core.php:
|
24 |
msgid "Settings"
|
25 |
msgstr "Einstellungen"
|
26 |
|
27 |
-
#: inc/php/core.php:
|
28 |
msgid "Upgrade to PRO"
|
29 |
msgstr "Upgrade auf PRO"
|
30 |
|
31 |
-
#: inc/php/core.php:
|
32 |
msgid "Donate"
|
33 |
msgstr "Spende"
|
34 |
|
35 |
-
#: inc/php/core.php:
|
36 |
msgid "Scripts Inserter"
|
37 |
msgstr "Scripts Inserter"
|
38 |
|
39 |
-
#: inc/php/messages.php:
|
40 |
msgid "Hello!"
|
41 |
msgstr "Hallo!"
|
42 |
|
43 |
-
#: inc/php/messages.php:
|
44 |
msgid "We are the team of Space X-Chimp."
|
45 |
msgstr "Wir sind das Team von Space X-Chimp."
|
46 |
|
47 |
-
#: inc/php/messages.php:
|
48 |
#, php-format
|
49 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
50 |
msgstr "Danke, dass Sie mein Plugin installiert haben. Ich hoffe, sie werden es mögen. %s"
|
51 |
|
52 |
-
#: inc/php/messages.php:
|
53 |
msgid "You have installed an old version of this plugin."
|
54 |
msgstr "Sie haben eine veraltete Version dieses Plugin installiert."
|
55 |
|
56 |
-
#: inc/php/messages.php:
|
57 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
58 |
msgstr "Bitte installieren Sie die aktuelle Version des Plugins und alles wir gut."
|
59 |
|
60 |
-
#: inc/php/messages.php:
|
61 |
msgid "Custom code saved successfully."
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: inc/php/page.php:
|
65 |
#, php-format
|
66 |
msgid "by %s Space X-Chimp %s"
|
67 |
msgstr "by %s Space X-Chimp %s"
|
68 |
|
69 |
-
#: inc/php/page.php:
|
70 |
msgid "Version"
|
71 |
msgstr "Version"
|
72 |
|
73 |
-
#: inc/php/page.php:
|
74 |
msgid "Main"
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: inc/php/page.php:
|
78 |
msgid "Usage"
|
79 |
msgstr "Verwendung"
|
80 |
|
81 |
-
#: inc/php/page.php:
|
82 |
msgid "F.A.Q."
|
83 |
msgstr "F.A.Q."
|
84 |
|
85 |
-
#: inc/php/page.php:
|
86 |
msgid "Support"
|
87 |
msgstr "Unterstützung"
|
88 |
|
89 |
-
#: inc/php/page.php:
|
90 |
msgid "Store"
|
91 |
msgstr "Geschäft"
|
92 |
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2019-03-23 04:27+0300\n"
|
7 |
+
"PO-Revision-Date: 2019-03-23 04:27+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: German\n"
|
10 |
"Language: de_DE\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
+
#: inc/php/core.php:32
|
24 |
msgid "Settings"
|
25 |
msgstr "Einstellungen"
|
26 |
|
27 |
+
#: inc/php/core.php:40 inc/php/core.php:65
|
28 |
msgid "Upgrade to PRO"
|
29 |
msgstr "Upgrade auf PRO"
|
30 |
|
31 |
+
#: inc/php/core.php:61
|
32 |
msgid "Donate"
|
33 |
msgstr "Spende"
|
34 |
|
35 |
+
#: inc/php/core.php:90
|
36 |
msgid "Scripts Inserter"
|
37 |
msgstr "Scripts Inserter"
|
38 |
|
39 |
+
#: inc/php/messages.php:33 inc/php/tabs/support.php:25
|
40 |
msgid "Hello!"
|
41 |
msgstr "Hallo!"
|
42 |
|
43 |
+
#: inc/php/messages.php:34
|
44 |
msgid "We are the team of Space X-Chimp."
|
45 |
msgstr "Wir sind das Team von Space X-Chimp."
|
46 |
|
47 |
+
#: inc/php/messages.php:39
|
48 |
#, php-format
|
49 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
50 |
msgstr "Danke, dass Sie mein Plugin installiert haben. Ich hoffe, sie werden es mögen. %s"
|
51 |
|
52 |
+
#: inc/php/messages.php:90
|
53 |
msgid "You have installed an old version of this plugin."
|
54 |
msgstr "Sie haben eine veraltete Version dieses Plugin installiert."
|
55 |
|
56 |
+
#: inc/php/messages.php:91
|
57 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
58 |
msgstr "Bitte installieren Sie die aktuelle Version des Plugins und alles wir gut."
|
59 |
|
60 |
+
#: inc/php/messages.php:126
|
61 |
msgid "Custom code saved successfully."
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: inc/php/page.php:30
|
65 |
#, php-format
|
66 |
msgid "by %s Space X-Chimp %s"
|
67 |
msgstr "by %s Space X-Chimp %s"
|
68 |
|
69 |
+
#: inc/php/page.php:36
|
70 |
msgid "Version"
|
71 |
msgstr "Version"
|
72 |
|
73 |
+
#: inc/php/page.php:43
|
74 |
msgid "Main"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: inc/php/page.php:44
|
78 |
msgid "Usage"
|
79 |
msgstr "Verwendung"
|
80 |
|
81 |
+
#: inc/php/page.php:45
|
82 |
msgid "F.A.Q."
|
83 |
msgstr "F.A.Q."
|
84 |
|
85 |
+
#: inc/php/page.php:46 inc/php/sidebar.php:47 inc/php/tabs/settings.php:99
|
86 |
msgid "Support"
|
87 |
msgstr "Unterstützung"
|
88 |
|
89 |
+
#: inc/php/page.php:47
|
90 |
msgid "Store"
|
91 |
msgstr "Geschäft"
|
92 |
|
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: 2019-03-
|
7 |
-
"PO-Revision-Date: 2019-03-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Spanish\n"
|
10 |
"Language: es_ES\n"
|
@@ -20,73 +20,73 @@ msgstr ""
|
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
-
#: inc/php/core.php:
|
24 |
msgid "Settings"
|
25 |
msgstr "Ajustes"
|
26 |
|
27 |
-
#: inc/php/core.php:
|
28 |
msgid "Upgrade to PRO"
|
29 |
msgstr "Actualiza a PRO"
|
30 |
|
31 |
-
#: inc/php/core.php:
|
32 |
msgid "Donate"
|
33 |
msgstr "Donar"
|
34 |
|
35 |
-
#: inc/php/core.php:
|
36 |
msgid "Scripts Inserter"
|
37 |
msgstr "Scripts Inserter"
|
38 |
|
39 |
-
#: inc/php/messages.php:
|
40 |
msgid "Hello!"
|
41 |
msgstr "¡Hola!"
|
42 |
|
43 |
-
#: inc/php/messages.php:
|
44 |
msgid "We are the team of Space X-Chimp."
|
45 |
msgstr "Somos el equipo de Space X-Chimp."
|
46 |
|
47 |
-
#: inc/php/messages.php:
|
48 |
#, php-format
|
49 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
50 |
msgstr "Gracias por instalar este complemento! Espero que te encante! %s"
|
51 |
|
52 |
-
#: inc/php/messages.php:
|
53 |
msgid "You have installed an old version of this plugin."
|
54 |
msgstr "Has instalado una versión antigua de este complemento."
|
55 |
|
56 |
-
#: inc/php/messages.php:
|
57 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
58 |
msgstr "Actualiza el complemento a la versión más reciente y todo estará bien."
|
59 |
|
60 |
-
#: inc/php/messages.php:
|
61 |
msgid "Custom code saved successfully."
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: inc/php/page.php:
|
65 |
#, php-format
|
66 |
msgid "by %s Space X-Chimp %s"
|
67 |
msgstr "por %s Space X-Chimp %s"
|
68 |
|
69 |
-
#: inc/php/page.php:
|
70 |
msgid "Version"
|
71 |
msgstr "Versión"
|
72 |
|
73 |
-
#: inc/php/page.php:
|
74 |
msgid "Main"
|
75 |
msgstr "Principal"
|
76 |
|
77 |
-
#: inc/php/page.php:
|
78 |
msgid "Usage"
|
79 |
msgstr "Uso"
|
80 |
|
81 |
-
#: inc/php/page.php:
|
82 |
msgid "F.A.Q."
|
83 |
msgstr "Preguntas ?"
|
84 |
|
85 |
-
#: inc/php/page.php:
|
86 |
msgid "Support"
|
87 |
msgstr "Soporte"
|
88 |
|
89 |
-
#: inc/php/page.php:
|
90 |
msgid "Store"
|
91 |
msgstr "Tienda"
|
92 |
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2019-03-23 04:27+0300\n"
|
7 |
+
"PO-Revision-Date: 2019-03-23 04:27+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Spanish\n"
|
10 |
"Language: es_ES\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
+
#: inc/php/core.php:32
|
24 |
msgid "Settings"
|
25 |
msgstr "Ajustes"
|
26 |
|
27 |
+
#: inc/php/core.php:40 inc/php/core.php:65
|
28 |
msgid "Upgrade to PRO"
|
29 |
msgstr "Actualiza a PRO"
|
30 |
|
31 |
+
#: inc/php/core.php:61
|
32 |
msgid "Donate"
|
33 |
msgstr "Donar"
|
34 |
|
35 |
+
#: inc/php/core.php:90
|
36 |
msgid "Scripts Inserter"
|
37 |
msgstr "Scripts Inserter"
|
38 |
|
39 |
+
#: inc/php/messages.php:33 inc/php/tabs/support.php:25
|
40 |
msgid "Hello!"
|
41 |
msgstr "¡Hola!"
|
42 |
|
43 |
+
#: inc/php/messages.php:34
|
44 |
msgid "We are the team of Space X-Chimp."
|
45 |
msgstr "Somos el equipo de Space X-Chimp."
|
46 |
|
47 |
+
#: inc/php/messages.php:39
|
48 |
#, php-format
|
49 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
50 |
msgstr "Gracias por instalar este complemento! Espero que te encante! %s"
|
51 |
|
52 |
+
#: inc/php/messages.php:90
|
53 |
msgid "You have installed an old version of this plugin."
|
54 |
msgstr "Has instalado una versión antigua de este complemento."
|
55 |
|
56 |
+
#: inc/php/messages.php:91
|
57 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
58 |
msgstr "Actualiza el complemento a la versión más reciente y todo estará bien."
|
59 |
|
60 |
+
#: inc/php/messages.php:126
|
61 |
msgid "Custom code saved successfully."
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: inc/php/page.php:30
|
65 |
#, php-format
|
66 |
msgid "by %s Space X-Chimp %s"
|
67 |
msgstr "por %s Space X-Chimp %s"
|
68 |
|
69 |
+
#: inc/php/page.php:36
|
70 |
msgid "Version"
|
71 |
msgstr "Versión"
|
72 |
|
73 |
+
#: inc/php/page.php:43
|
74 |
msgid "Main"
|
75 |
msgstr "Principal"
|
76 |
|
77 |
+
#: inc/php/page.php:44
|
78 |
msgid "Usage"
|
79 |
msgstr "Uso"
|
80 |
|
81 |
+
#: inc/php/page.php:45
|
82 |
msgid "F.A.Q."
|
83 |
msgstr "Preguntas ?"
|
84 |
|
85 |
+
#: inc/php/page.php:46 inc/php/sidebar.php:47 inc/php/tabs/settings.php:99
|
86 |
msgid "Support"
|
87 |
msgstr "Soporte"
|
88 |
|
89 |
+
#: inc/php/page.php:47
|
90 |
msgid "Store"
|
91 |
msgstr "Tienda"
|
92 |
|
languages/header-and-footer-scripts-inserter-fr_FR.mo
CHANGED
Binary file
|
languages/header-and-footer-scripts-inserter-fr_FR.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
-
"POT-Creation-Date: 2019-03-
|
7 |
-
"PO-Revision-Date: 2019-03-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: French\n"
|
10 |
"Language: fr_FR\n"
|
@@ -20,73 +20,73 @@ msgstr ""
|
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
-
#: inc/php/core.php:
|
24 |
msgid "Settings"
|
25 |
msgstr "Paramètres"
|
26 |
|
27 |
-
#: inc/php/core.php:
|
28 |
msgid "Upgrade to PRO"
|
29 |
msgstr "Passer à PRO"
|
30 |
|
31 |
-
#: inc/php/core.php:
|
32 |
msgid "Donate"
|
33 |
msgstr "Faire un don"
|
34 |
|
35 |
-
#: inc/php/core.php:
|
36 |
msgid "Scripts Inserter"
|
37 |
msgstr "Scripts Inserter"
|
38 |
|
39 |
-
#: inc/php/messages.php:
|
40 |
msgid "Hello!"
|
41 |
msgstr "Salut."
|
42 |
|
43 |
-
#: inc/php/messages.php:
|
44 |
msgid "We are the team of Space X-Chimp."
|
45 |
msgstr "Nous sommes l'équipe de Space X-Chimp."
|
46 |
|
47 |
-
#: inc/php/messages.php:
|
48 |
#, php-format
|
49 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
50 |
msgstr "Merci pour l'installation de notre plugin! Nous espérons que vous allez l'adorer! %s"
|
51 |
|
52 |
-
#: inc/php/messages.php:
|
53 |
msgid "You have installed an old version of this plugin."
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: inc/php/messages.php:
|
57 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: inc/php/messages.php:
|
61 |
msgid "Custom code saved successfully."
|
62 |
msgstr "Code personnalisé mis à jour avec succès."
|
63 |
|
64 |
-
#: inc/php/page.php:
|
65 |
#, php-format
|
66 |
msgid "by %s Space X-Chimp %s"
|
67 |
msgstr "par %s Space X-Chimp %s"
|
68 |
|
69 |
-
#: inc/php/page.php:
|
70 |
msgid "Version"
|
71 |
msgstr "Version"
|
72 |
|
73 |
-
#: inc/php/page.php:
|
74 |
msgid "Main"
|
75 |
msgstr "Principal"
|
76 |
|
77 |
-
#: inc/php/page.php:
|
78 |
msgid "Usage"
|
79 |
msgstr "Utilisation"
|
80 |
|
81 |
-
#: inc/php/page.php:
|
82 |
msgid "F.A.Q."
|
83 |
msgstr "FAQ."
|
84 |
|
85 |
-
#: inc/php/page.php:
|
86 |
msgid "Support"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: inc/php/page.php:
|
90 |
msgid "Store"
|
91 |
msgstr ""
|
92 |
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2019-03-23 04:27+0300\n"
|
7 |
+
"PO-Revision-Date: 2019-03-23 04:27+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: French\n"
|
10 |
"Language: fr_FR\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
+
#: inc/php/core.php:32
|
24 |
msgid "Settings"
|
25 |
msgstr "Paramètres"
|
26 |
|
27 |
+
#: inc/php/core.php:40 inc/php/core.php:65
|
28 |
msgid "Upgrade to PRO"
|
29 |
msgstr "Passer à PRO"
|
30 |
|
31 |
+
#: inc/php/core.php:61
|
32 |
msgid "Donate"
|
33 |
msgstr "Faire un don"
|
34 |
|
35 |
+
#: inc/php/core.php:90
|
36 |
msgid "Scripts Inserter"
|
37 |
msgstr "Scripts Inserter"
|
38 |
|
39 |
+
#: inc/php/messages.php:33 inc/php/tabs/support.php:25
|
40 |
msgid "Hello!"
|
41 |
msgstr "Salut."
|
42 |
|
43 |
+
#: inc/php/messages.php:34
|
44 |
msgid "We are the team of Space X-Chimp."
|
45 |
msgstr "Nous sommes l'équipe de Space X-Chimp."
|
46 |
|
47 |
+
#: inc/php/messages.php:39
|
48 |
#, php-format
|
49 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
50 |
msgstr "Merci pour l'installation de notre plugin! Nous espérons que vous allez l'adorer! %s"
|
51 |
|
52 |
+
#: inc/php/messages.php:90
|
53 |
msgid "You have installed an old version of this plugin."
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: inc/php/messages.php:91
|
57 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: inc/php/messages.php:126
|
61 |
msgid "Custom code saved successfully."
|
62 |
msgstr "Code personnalisé mis à jour avec succès."
|
63 |
|
64 |
+
#: inc/php/page.php:30
|
65 |
#, php-format
|
66 |
msgid "by %s Space X-Chimp %s"
|
67 |
msgstr "par %s Space X-Chimp %s"
|
68 |
|
69 |
+
#: inc/php/page.php:36
|
70 |
msgid "Version"
|
71 |
msgstr "Version"
|
72 |
|
73 |
+
#: inc/php/page.php:43
|
74 |
msgid "Main"
|
75 |
msgstr "Principal"
|
76 |
|
77 |
+
#: inc/php/page.php:44
|
78 |
msgid "Usage"
|
79 |
msgstr "Utilisation"
|
80 |
|
81 |
+
#: inc/php/page.php:45
|
82 |
msgid "F.A.Q."
|
83 |
msgstr "FAQ."
|
84 |
|
85 |
+
#: inc/php/page.php:46 inc/php/sidebar.php:47 inc/php/tabs/settings.php:99
|
86 |
msgid "Support"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: inc/php/page.php:47
|
90 |
msgid "Store"
|
91 |
msgstr ""
|
92 |
|
languages/header-and-footer-scripts-inserter-nl_NL.mo
CHANGED
Binary file
|
languages/header-and-footer-scripts-inserter-nl_NL.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
-
"POT-Creation-Date: 2019-03-
|
7 |
-
"PO-Revision-Date: 2019-03-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Dutch\n"
|
10 |
"Language: nl_NL\n"
|
@@ -20,73 +20,73 @@ msgstr ""
|
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
-
#: inc/php/core.php:
|
24 |
msgid "Settings"
|
25 |
msgstr "Instellingen"
|
26 |
|
27 |
-
#: inc/php/core.php:
|
28 |
msgid "Upgrade to PRO"
|
29 |
msgstr "Upgrade naar PRO"
|
30 |
|
31 |
-
#: inc/php/core.php:
|
32 |
msgid "Donate"
|
33 |
msgstr "Doe een gift"
|
34 |
|
35 |
-
#: inc/php/core.php:
|
36 |
msgid "Scripts Inserter"
|
37 |
msgstr "Scripts Inserter"
|
38 |
|
39 |
-
#: inc/php/messages.php:
|
40 |
msgid "Hello!"
|
41 |
msgstr "Hallo!"
|
42 |
|
43 |
-
#: inc/php/messages.php:
|
44 |
msgid "We are the team of Space X-Chimp."
|
45 |
msgstr "Wij zijn het team van Space X-Chimp."
|
46 |
|
47 |
-
#: inc/php/messages.php:
|
48 |
#, php-format
|
49 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
50 |
msgstr "Bedankt voor het installeren van onze plug-in! We hopen dat je het geweldig zult vinden! %s"
|
51 |
|
52 |
-
#: inc/php/messages.php:
|
53 |
msgid "You have installed an old version of this plugin."
|
54 |
msgstr "Je hebt een oudere versie van deze plug-in geïnstalleerd."
|
55 |
|
56 |
-
#: inc/php/messages.php:
|
57 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
58 |
msgstr "Update de plug-in naar de nieuwste versie en alles komt goed."
|
59 |
|
60 |
-
#: inc/php/messages.php:
|
61 |
msgid "Custom code saved successfully."
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: inc/php/page.php:
|
65 |
#, php-format
|
66 |
msgid "by %s Space X-Chimp %s"
|
67 |
msgstr "door %s Space X-Chimp %s"
|
68 |
|
69 |
-
#: inc/php/page.php:
|
70 |
msgid "Version"
|
71 |
msgstr "Versie"
|
72 |
|
73 |
-
#: inc/php/page.php:
|
74 |
msgid "Main"
|
75 |
msgstr "Hoofd"
|
76 |
|
77 |
-
#: inc/php/page.php:
|
78 |
msgid "Usage"
|
79 |
msgstr "Gebruik"
|
80 |
|
81 |
-
#: inc/php/page.php:
|
82 |
msgid "F.A.Q."
|
83 |
msgstr "F.A.Q."
|
84 |
|
85 |
-
#: inc/php/page.php:
|
86 |
msgid "Support"
|
87 |
msgstr "Ondersteuning"
|
88 |
|
89 |
-
#: inc/php/page.php:
|
90 |
msgid "Store"
|
91 |
msgstr "Winkel"
|
92 |
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2019-03-23 04:28+0300\n"
|
7 |
+
"PO-Revision-Date: 2019-03-23 04:28+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Dutch\n"
|
10 |
"Language: nl_NL\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
+
#: inc/php/core.php:32
|
24 |
msgid "Settings"
|
25 |
msgstr "Instellingen"
|
26 |
|
27 |
+
#: inc/php/core.php:40 inc/php/core.php:65
|
28 |
msgid "Upgrade to PRO"
|
29 |
msgstr "Upgrade naar PRO"
|
30 |
|
31 |
+
#: inc/php/core.php:61
|
32 |
msgid "Donate"
|
33 |
msgstr "Doe een gift"
|
34 |
|
35 |
+
#: inc/php/core.php:90
|
36 |
msgid "Scripts Inserter"
|
37 |
msgstr "Scripts Inserter"
|
38 |
|
39 |
+
#: inc/php/messages.php:33 inc/php/tabs/support.php:25
|
40 |
msgid "Hello!"
|
41 |
msgstr "Hallo!"
|
42 |
|
43 |
+
#: inc/php/messages.php:34
|
44 |
msgid "We are the team of Space X-Chimp."
|
45 |
msgstr "Wij zijn het team van Space X-Chimp."
|
46 |
|
47 |
+
#: inc/php/messages.php:39
|
48 |
#, php-format
|
49 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
50 |
msgstr "Bedankt voor het installeren van onze plug-in! We hopen dat je het geweldig zult vinden! %s"
|
51 |
|
52 |
+
#: inc/php/messages.php:90
|
53 |
msgid "You have installed an old version of this plugin."
|
54 |
msgstr "Je hebt een oudere versie van deze plug-in geïnstalleerd."
|
55 |
|
56 |
+
#: inc/php/messages.php:91
|
57 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
58 |
msgstr "Update de plug-in naar de nieuwste versie en alles komt goed."
|
59 |
|
60 |
+
#: inc/php/messages.php:126
|
61 |
msgid "Custom code saved successfully."
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: inc/php/page.php:30
|
65 |
#, php-format
|
66 |
msgid "by %s Space X-Chimp %s"
|
67 |
msgstr "door %s Space X-Chimp %s"
|
68 |
|
69 |
+
#: inc/php/page.php:36
|
70 |
msgid "Version"
|
71 |
msgstr "Versie"
|
72 |
|
73 |
+
#: inc/php/page.php:43
|
74 |
msgid "Main"
|
75 |
msgstr "Hoofd"
|
76 |
|
77 |
+
#: inc/php/page.php:44
|
78 |
msgid "Usage"
|
79 |
msgstr "Gebruik"
|
80 |
|
81 |
+
#: inc/php/page.php:45
|
82 |
msgid "F.A.Q."
|
83 |
msgstr "F.A.Q."
|
84 |
|
85 |
+
#: inc/php/page.php:46 inc/php/sidebar.php:47 inc/php/tabs/settings.php:99
|
86 |
msgid "Support"
|
87 |
msgstr "Ondersteuning"
|
88 |
|
89 |
+
#: inc/php/page.php:47
|
90 |
msgid "Store"
|
91 |
msgstr "Winkel"
|
92 |
|
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: Head and Footer Scripts Inserter\n"
|
6 |
-
"POT-Creation-Date: 2019-03-
|
7 |
-
"PO-Revision-Date: 2019-03-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Polish\n"
|
10 |
"Language: pl_PL\n"
|
@@ -21,73 +21,73 @@ msgstr ""
|
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
|
24 |
-
#: inc/php/core.php:
|
25 |
msgid "Settings"
|
26 |
msgstr "Ustawienia"
|
27 |
|
28 |
-
#: inc/php/core.php:
|
29 |
msgid "Upgrade to PRO"
|
30 |
msgstr ""
|
31 |
|
32 |
-
#: inc/php/core.php:
|
33 |
msgid "Donate"
|
34 |
msgstr "Wesprzyj"
|
35 |
|
36 |
-
#: inc/php/core.php:
|
37 |
msgid "Scripts Inserter"
|
38 |
msgstr "Scripts Inserter"
|
39 |
|
40 |
-
#: inc/php/messages.php:
|
41 |
msgid "Hello!"
|
42 |
msgstr ""
|
43 |
|
44 |
-
#: inc/php/messages.php:
|
45 |
msgid "We are the team of Space X-Chimp."
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: inc/php/messages.php:
|
49 |
#, php-format
|
50 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: inc/php/messages.php:
|
54 |
msgid "You have installed an old version of this plugin."
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: inc/php/messages.php:
|
58 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: inc/php/messages.php:
|
62 |
msgid "Custom code saved successfully."
|
63 |
msgstr ""
|
64 |
|
65 |
-
#: inc/php/page.php:
|
66 |
#, php-format
|
67 |
msgid "by %s Space X-Chimp %s"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: inc/php/page.php:
|
71 |
msgid "Version"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: inc/php/page.php:
|
75 |
msgid "Main"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: inc/php/page.php:
|
79 |
msgid "Usage"
|
80 |
msgstr "Wykorzystanie"
|
81 |
|
82 |
-
#: inc/php/page.php:
|
83 |
msgid "F.A.Q."
|
84 |
msgstr "FAQ"
|
85 |
|
86 |
-
#: inc/php/page.php:
|
87 |
msgid "Support"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: inc/php/page.php:
|
91 |
msgid "Store"
|
92 |
msgstr "Rodzina"
|
93 |
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2019-03-23 04:28+0300\n"
|
7 |
+
"PO-Revision-Date: 2019-03-23 04:28+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Polish\n"
|
10 |
"Language: pl_PL\n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
|
24 |
+
#: inc/php/core.php:32
|
25 |
msgid "Settings"
|
26 |
msgstr "Ustawienia"
|
27 |
|
28 |
+
#: inc/php/core.php:40 inc/php/core.php:65
|
29 |
msgid "Upgrade to PRO"
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: inc/php/core.php:61
|
33 |
msgid "Donate"
|
34 |
msgstr "Wesprzyj"
|
35 |
|
36 |
+
#: inc/php/core.php:90
|
37 |
msgid "Scripts Inserter"
|
38 |
msgstr "Scripts Inserter"
|
39 |
|
40 |
+
#: inc/php/messages.php:33 inc/php/tabs/support.php:25
|
41 |
msgid "Hello!"
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: inc/php/messages.php:34
|
45 |
msgid "We are the team of Space X-Chimp."
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: inc/php/messages.php:39
|
49 |
#, php-format
|
50 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: inc/php/messages.php:90
|
54 |
msgid "You have installed an old version of this plugin."
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: inc/php/messages.php:91
|
58 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: inc/php/messages.php:126
|
62 |
msgid "Custom code saved successfully."
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: inc/php/page.php:30
|
66 |
#, php-format
|
67 |
msgid "by %s Space X-Chimp %s"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: inc/php/page.php:36
|
71 |
msgid "Version"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: inc/php/page.php:43
|
75 |
msgid "Main"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: inc/php/page.php:44
|
79 |
msgid "Usage"
|
80 |
msgstr "Wykorzystanie"
|
81 |
|
82 |
+
#: inc/php/page.php:45
|
83 |
msgid "F.A.Q."
|
84 |
msgstr "FAQ"
|
85 |
|
86 |
+
#: inc/php/page.php:46 inc/php/sidebar.php:47 inc/php/tabs/settings.php:99
|
87 |
msgid "Support"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: inc/php/page.php:47
|
91 |
msgid "Store"
|
92 |
msgstr "Rodzina"
|
93 |
|
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: Head and Footer Scripts Inserter\n"
|
6 |
-
"POT-Creation-Date: 2019-03-
|
7 |
-
"PO-Revision-Date: 2019-03-
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Russian\n"
|
10 |
"Language: ru_RU\n"
|
@@ -20,73 +20,73 @@ msgstr ""
|
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
-
#: inc/php/core.php:
|
24 |
msgid "Settings"
|
25 |
msgstr "Настройки"
|
26 |
|
27 |
-
#: inc/php/core.php:
|
28 |
msgid "Upgrade to PRO"
|
29 |
msgstr "Обновить до PRO"
|
30 |
|
31 |
-
#: inc/php/core.php:
|
32 |
msgid "Donate"
|
33 |
msgstr "Поддержать"
|
34 |
|
35 |
-
#: inc/php/core.php:
|
36 |
msgid "Scripts Inserter"
|
37 |
msgstr "Scripts Inserter"
|
38 |
|
39 |
-
#: inc/php/messages.php:
|
40 |
msgid "Hello!"
|
41 |
msgstr "Привет!"
|
42 |
|
43 |
-
#: inc/php/messages.php:
|
44 |
msgid "We are the team of Space X-Chimp."
|
45 |
msgstr "Мы - команда Space X-Chimp."
|
46 |
|
47 |
-
#: inc/php/messages.php:
|
48 |
#, php-format
|
49 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
50 |
msgstr "Благодарим вас за установку нашего плагина! Надеемся, он вам полюбится! %s"
|
51 |
|
52 |
-
#: inc/php/messages.php:
|
53 |
msgid "You have installed an old version of this plugin."
|
54 |
msgstr "Вы установили устаревшую версию этого плагина."
|
55 |
|
56 |
-
#: inc/php/messages.php:
|
57 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
58 |
msgstr "Пожалуйста, обновите плагин до последней версии и всё будет отлично."
|
59 |
|
60 |
-
#: inc/php/messages.php:
|
61 |
msgid "Custom code saved successfully."
|
62 |
msgstr "Пользовательский код успешно обновлён."
|
63 |
|
64 |
-
#: inc/php/page.php:
|
65 |
#, php-format
|
66 |
msgid "by %s Space X-Chimp %s"
|
67 |
msgstr "от %s Space X-Chimp %s"
|
68 |
|
69 |
-
#: inc/php/page.php:
|
70 |
msgid "Version"
|
71 |
msgstr "Версия"
|
72 |
|
73 |
-
#: inc/php/page.php:
|
74 |
msgid "Main"
|
75 |
msgstr "Главная"
|
76 |
|
77 |
-
#: inc/php/page.php:
|
78 |
msgid "Usage"
|
79 |
msgstr "Применение"
|
80 |
|
81 |
-
#: inc/php/page.php:
|
82 |
msgid "F.A.Q."
|
83 |
msgstr "F.A.Q."
|
84 |
|
85 |
-
#: inc/php/page.php:
|
86 |
msgid "Support"
|
87 |
msgstr "Поддержка"
|
88 |
|
89 |
-
#: inc/php/page.php:
|
90 |
msgid "Store"
|
91 |
msgstr "Магазин"
|
92 |
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2019-03-23 04:28+0300\n"
|
7 |
+
"PO-Revision-Date: 2019-03-23 04:28+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: Russian\n"
|
10 |
"Language: ru_RU\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
+
#: inc/php/core.php:32
|
24 |
msgid "Settings"
|
25 |
msgstr "Настройки"
|
26 |
|
27 |
+
#: inc/php/core.php:40 inc/php/core.php:65
|
28 |
msgid "Upgrade to PRO"
|
29 |
msgstr "Обновить до PRO"
|
30 |
|
31 |
+
#: inc/php/core.php:61
|
32 |
msgid "Donate"
|
33 |
msgstr "Поддержать"
|
34 |
|
35 |
+
#: inc/php/core.php:90
|
36 |
msgid "Scripts Inserter"
|
37 |
msgstr "Scripts Inserter"
|
38 |
|
39 |
+
#: inc/php/messages.php:33 inc/php/tabs/support.php:25
|
40 |
msgid "Hello!"
|
41 |
msgstr "Привет!"
|
42 |
|
43 |
+
#: inc/php/messages.php:34
|
44 |
msgid "We are the team of Space X-Chimp."
|
45 |
msgstr "Мы - команда Space X-Chimp."
|
46 |
|
47 |
+
#: inc/php/messages.php:39
|
48 |
#, php-format
|
49 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
50 |
msgstr "Благодарим вас за установку нашего плагина! Надеемся, он вам полюбится! %s"
|
51 |
|
52 |
+
#: inc/php/messages.php:90
|
53 |
msgid "You have installed an old version of this plugin."
|
54 |
msgstr "Вы установили устаревшую версию этого плагина."
|
55 |
|
56 |
+
#: inc/php/messages.php:91
|
57 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
58 |
msgstr "Пожалуйста, обновите плагин до последней версии и всё будет отлично."
|
59 |
|
60 |
+
#: inc/php/messages.php:126
|
61 |
msgid "Custom code saved successfully."
|
62 |
msgstr "Пользовательский код успешно обновлён."
|
63 |
|
64 |
+
#: inc/php/page.php:30
|
65 |
#, php-format
|
66 |
msgid "by %s Space X-Chimp %s"
|
67 |
msgstr "от %s Space X-Chimp %s"
|
68 |
|
69 |
+
#: inc/php/page.php:36
|
70 |
msgid "Version"
|
71 |
msgstr "Версия"
|
72 |
|
73 |
+
#: inc/php/page.php:43
|
74 |
msgid "Main"
|
75 |
msgstr "Главная"
|
76 |
|
77 |
+
#: inc/php/page.php:44
|
78 |
msgid "Usage"
|
79 |
msgstr "Применение"
|
80 |
|
81 |
+
#: inc/php/page.php:45
|
82 |
msgid "F.A.Q."
|
83 |
msgstr "F.A.Q."
|
84 |
|
85 |
+
#: inc/php/page.php:46 inc/php/sidebar.php:47 inc/php/tabs/settings.php:99
|
86 |
msgid "Support"
|
87 |
msgstr "Поддержка"
|
88 |
|
89 |
+
#: inc/php/page.php:47
|
90 |
msgid "Store"
|
91 |
msgstr "Магазин"
|
92 |
|
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: Head and Footer Scripts Inserter\n"
|
6 |
-
"POT-Creation-Date: 2019-03-
|
7 |
"PO-Revision-Date: 2016-01-30 11:39+0300\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
@@ -18,73 +18,73 @@ msgstr ""
|
|
18 |
"X-Poedit-SearchPath-0: .\n"
|
19 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
20 |
|
21 |
-
#: inc/php/core.php:
|
22 |
msgid "Settings"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: inc/php/core.php:
|
26 |
msgid "Upgrade to PRO"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: inc/php/core.php:
|
30 |
msgid "Donate"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: inc/php/core.php:
|
34 |
msgid "Scripts Inserter"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: inc/php/messages.php:
|
38 |
msgid "Hello!"
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: inc/php/messages.php:
|
42 |
msgid "We are the team of Space X-Chimp."
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: inc/php/messages.php:
|
46 |
#, php-format
|
47 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: inc/php/messages.php:
|
51 |
msgid "You have installed an old version of this plugin."
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: inc/php/messages.php:
|
55 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: inc/php/messages.php:
|
59 |
msgid "Custom code saved successfully."
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: inc/php/page.php:
|
63 |
#, php-format
|
64 |
msgid "by %s Space X-Chimp %s"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: inc/php/page.php:
|
68 |
msgid "Version"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: inc/php/page.php:
|
72 |
msgid "Main"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: inc/php/page.php:
|
76 |
msgid "Usage"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: inc/php/page.php:
|
80 |
msgid "F.A.Q."
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: inc/php/page.php:
|
84 |
msgid "Support"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: inc/php/page.php:
|
88 |
msgid "Store"
|
89 |
msgstr ""
|
90 |
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Head and Footer Scripts Inserter\n"
|
6 |
+
"POT-Creation-Date: 2019-03-23 04:28+0300\n"
|
7 |
"PO-Revision-Date: 2016-01-30 11:39+0300\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
18 |
"X-Poedit-SearchPath-0: .\n"
|
19 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
20 |
|
21 |
+
#: inc/php/core.php:32
|
22 |
msgid "Settings"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: inc/php/core.php:40 inc/php/core.php:65
|
26 |
msgid "Upgrade to PRO"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: inc/php/core.php:61
|
30 |
msgid "Donate"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: inc/php/core.php:90
|
34 |
msgid "Scripts Inserter"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: inc/php/messages.php:33 inc/php/tabs/support.php:25
|
38 |
msgid "Hello!"
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: inc/php/messages.php:34
|
42 |
msgid "We are the team of Space X-Chimp."
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: inc/php/messages.php:39
|
46 |
#, php-format
|
47 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: inc/php/messages.php:90
|
51 |
msgid "You have installed an old version of this plugin."
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: inc/php/messages.php:91
|
55 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: inc/php/messages.php:126
|
59 |
msgid "Custom code saved successfully."
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: inc/php/page.php:30
|
63 |
#, php-format
|
64 |
msgid "by %s Space X-Chimp %s"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: inc/php/page.php:36
|
68 |
msgid "Version"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: inc/php/page.php:43
|
72 |
msgid "Main"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: inc/php/page.php:44
|
76 |
msgid "Usage"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: inc/php/page.php:45
|
80 |
msgid "F.A.Q."
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: inc/php/page.php:46 inc/php/sidebar.php:47 inc/php/tabs/settings.php:99
|
84 |
msgid "Support"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: inc/php/page.php:47
|
88 |
msgid "Store"
|
89 |
msgstr ""
|
90 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: inject code, inject scripts, inject javascript, inject js, inject html, in
|
|
4 |
Donate link: https://www.spacexchimp.com/donate.html
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 5.1
|
7 |
-
Stable tag: 4.
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -220,6 +220,14 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
|
|
220 |
|
221 |
== Changelog ==
|
222 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
223 |
= 4.38 - 2019-03-18 =
|
224 |
* Improvement: Notification display system updated
|
225 |
* Code commenting improved.
|
4 |
Donate link: https://www.spacexchimp.com/donate.html
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 5.1
|
7 |
+
Stable tag: 4.39
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
220 |
|
221 |
== Changelog ==
|
222 |
|
223 |
+
= 4.39 - 2019-03-24 =
|
224 |
+
* Framework updated: Added function "_plugin", which returns an array with the contents of plugin constants. The mention of plugin constants is replaced by the use of the function "_plugin".
|
225 |
+
* Framework updated: The functions "_settings_link" and "_upgrade_link" are combined and improved.
|
226 |
+
* Framework updated: The function "_plugin_row_meta" is improved.
|
227 |
+
* Framework updated: Code formatting improved.
|
228 |
+
* Framework updated: Code commenting improved.
|
229 |
+
* Framework updated: All translation files are updated.
|
230 |
+
|
231 |
= 4.38 - 2019-03-18 =
|
232 |
* Improvement: Notification display system updated
|
233 |
* Code commenting improved.
|