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 | Social Media Follow Buttons Bar |
Version | 4.52 |
Comparing to | |
See all releases |
Code changes from version 4.51 to 4.52
- inc/php/controls.php +36 -18
- inc/php/core.php +83 -38
- inc/php/enqueue.php +30 -37
- inc/php/functional.php +12 -6
- inc/php/messages.php +17 -20
- inc/php/page.php +15 -19
- inc/php/sidebar.php +12 -12
- inc/php/tabs/faq.php +102 -102
- inc/php/tabs/settings.php +43 -43
- inc/php/tabs/support.php +13 -13
- inc/php/tabs/usage.php +14 -14
- inc/php/versioning.php +10 -8
- languages/social-media-buttons-toolbar-de_DE.mo +0 -0
- languages/social-media-buttons-toolbar-de_DE.po +18 -18
- languages/social-media-buttons-toolbar-es_ES.mo +0 -0
- languages/social-media-buttons-toolbar-es_ES.po +19 -19
- languages/social-media-buttons-toolbar-fr_FR.mo +0 -0
- languages/social-media-buttons-toolbar-fr_FR.po +18 -18
- languages/social-media-buttons-toolbar-nl_NL.mo +0 -0
- languages/social-media-buttons-toolbar-nl_NL.po +18 -18
- languages/social-media-buttons-toolbar-ru_RU.mo +0 -0
- languages/social-media-buttons-toolbar-ru_RU.po +18 -18
- languages/social-media-buttons-toolbar.pot +17 -17
- readme.txt +9 -1
- social-media-buttons-toolbar.php +36 -11
inc/php/controls.php
CHANGED
@@ -32,8 +32,11 @@ function spacexchimp_p005_control_help( $help=null ) {
|
|
32 |
*/
|
33 |
function spacexchimp_p005_control_field( $name, $label, $help=null, $placeholder=null ) {
|
34 |
|
|
|
|
|
|
|
35 |
// Retrieve options from database and declare variables
|
36 |
-
$options = get_option(
|
37 |
$value = !empty( $options[$name] ) ? esc_textarea( $options[$name] ) : '';
|
38 |
|
39 |
// Generate a part of table
|
@@ -44,8 +47,8 @@ function spacexchimp_p005_control_field( $name, $label, $help=null, $placeholder
|
|
44 |
<td>
|
45 |
<input
|
46 |
type='text'
|
47 |
-
name='" .
|
48 |
-
id='" .
|
49 |
value='$value'
|
50 |
placeholder='$placeholder'
|
51 |
class='control-field $name'
|
@@ -65,8 +68,11 @@ function spacexchimp_p005_control_field( $name, $label, $help=null, $placeholder
|
|
65 |
*/
|
66 |
function spacexchimp_p005_control_switch( $name, $label, $help=null ) {
|
67 |
|
|
|
|
|
|
|
68 |
// Retrieve options from database and declare variables
|
69 |
-
$options = get_option(
|
70 |
$checked = !empty( $options[$name] ) ? "checked='checked'" : '';
|
71 |
|
72 |
// Generate a part of table
|
@@ -77,8 +83,8 @@ function spacexchimp_p005_control_switch( $name, $label, $help=null ) {
|
|
77 |
<td>
|
78 |
<input
|
79 |
type='checkbox'
|
80 |
-
name='" .
|
81 |
-
id='" .
|
82 |
$checked
|
83 |
class='control-switch $name'
|
84 |
>
|
@@ -97,8 +103,11 @@ function spacexchimp_p005_control_switch( $name, $label, $help=null ) {
|
|
97 |
*/
|
98 |
function spacexchimp_p005_control_number( $name, $label, $help=null, $default=null ) {
|
99 |
|
|
|
|
|
|
|
100 |
// Retrieve options from database and declare variables
|
101 |
-
$options = get_option(
|
102 |
$value = !empty( $options[$name] ) ? esc_attr( $options[$name] ) : $default;
|
103 |
|
104 |
// Generate a part of table
|
@@ -115,8 +124,8 @@ function spacexchimp_p005_control_number( $name, $label, $help=null, $default=nu
|
|
115 |
</span>
|
116 |
<input
|
117 |
type='number'
|
118 |
-
name='" .
|
119 |
-
id='" .
|
120 |
value='$value'
|
121 |
maxlength='4'
|
122 |
class='form-control text-center'
|
@@ -142,8 +151,11 @@ function spacexchimp_p005_control_number( $name, $label, $help=null, $default=nu
|
|
142 |
*/
|
143 |
function spacexchimp_p005_control_link( $name, $label, $placeholder, $help, $link=null ) {
|
144 |
|
|
|
|
|
|
|
145 |
// Retrieve options from database and declare variables
|
146 |
-
$options = get_option(
|
147 |
$value = !empty( $options['buttons-link'][$name] ) ? esc_textarea( $options['buttons-link'][$name] ) : '';
|
148 |
$display = !empty( $options['buttons-selected'][$name] ) ? '' : 'none';
|
149 |
|
@@ -156,7 +168,7 @@ function spacexchimp_p005_control_link( $name, $label, $placeholder, $help, $lin
|
|
156 |
<td>
|
157 |
<input
|
158 |
type='text'
|
159 |
-
name='" .
|
160 |
size='50'
|
161 |
value='$value'
|
162 |
placeholder='$placeholder'
|
@@ -179,8 +191,11 @@ function spacexchimp_p005_control_link( $name, $label, $placeholder, $help, $lin
|
|
179 |
*/
|
180 |
function spacexchimp_p005_control_choice( $name, $items, $label, $help, $default ) {
|
181 |
|
|
|
|
|
|
|
182 |
// Retrieve options from database and declare variables
|
183 |
-
$options = get_option(
|
184 |
$option = !empty( $options[$name] ) ? $options[$name] : '';
|
185 |
$list_item = '';
|
186 |
|
@@ -195,7 +210,7 @@ function spacexchimp_p005_control_choice( $name, $items, $label, $help, $default
|
|
195 |
$list_item .= "<li>
|
196 |
<input
|
197 |
type='radio'
|
198 |
-
name='" .
|
199 |
value='$item_key'
|
200 |
$selected
|
201 |
>
|
@@ -227,8 +242,11 @@ function spacexchimp_p005_control_choice( $name, $items, $label, $help, $default
|
|
227 |
*/
|
228 |
function spacexchimp_p005_control_checkbox( $name, $items, $label, $help ) {
|
229 |
|
|
|
|
|
|
|
230 |
// Retrieve options from database and declare variables
|
231 |
-
$options = get_option(
|
232 |
$list_item = '';
|
233 |
|
234 |
// Loop of elements LI
|
@@ -237,11 +255,11 @@ function spacexchimp_p005_control_checkbox( $name, $items, $label, $help ) {
|
|
237 |
$list_item .= "<li id='media-$item_key' class='control-checkbox'>
|
238 |
<input
|
239 |
type='checkbox'
|
240 |
-
id='" .
|
241 |
-
name='" .
|
242 |
$checked
|
243 |
>
|
244 |
-
<label for='" .
|
245 |
$item_value
|
246 |
</label>
|
247 |
</li>";
|
@@ -272,7 +290,7 @@ function spacexchimp_p005_control_checkbox( $name, $items, $label, $help ) {
|
|
272 |
function spacexchimp_p005_control_separator( $text=null ) {
|
273 |
|
274 |
// Generate a part of table
|
275 |
-
if ( !empty( $text ) ) {
|
276 |
$out = "<tr>
|
277 |
<td height='60' colspan='2'>
|
278 |
<hr>
|
32 |
*/
|
33 |
function spacexchimp_p005_control_field( $name, $label, $help=null, $placeholder=null ) {
|
34 |
|
35 |
+
// Put value of plugin constants into an array for easier access
|
36 |
+
$plugin = spacexchimp_p005_plugin();
|
37 |
+
|
38 |
// Retrieve options from database and declare variables
|
39 |
+
$options = get_option( $plugin['settings'] . '_settings' );
|
40 |
$value = !empty( $options[$name] ) ? esc_textarea( $options[$name] ) : '';
|
41 |
|
42 |
// Generate a part of table
|
47 |
<td>
|
48 |
<input
|
49 |
type='text'
|
50 |
+
name='" . $plugin['settings'] . "_settings[$name]'
|
51 |
+
id='" . $plugin['settings'] . "_settings[$name]'
|
52 |
value='$value'
|
53 |
placeholder='$placeholder'
|
54 |
class='control-field $name'
|
68 |
*/
|
69 |
function spacexchimp_p005_control_switch( $name, $label, $help=null ) {
|
70 |
|
71 |
+
// Put value of plugin constants into an array for easier access
|
72 |
+
$plugin = spacexchimp_p005_plugin();
|
73 |
+
|
74 |
// Retrieve options from database and declare variables
|
75 |
+
$options = get_option( $plugin['settings'] . '_settings' );
|
76 |
$checked = !empty( $options[$name] ) ? "checked='checked'" : '';
|
77 |
|
78 |
// Generate a part of table
|
83 |
<td>
|
84 |
<input
|
85 |
type='checkbox'
|
86 |
+
name='" . $plugin['settings'] . "_settings[$name]'
|
87 |
+
id='" . $plugin['settings'] . "_settings[$name]'
|
88 |
$checked
|
89 |
class='control-switch $name'
|
90 |
>
|
103 |
*/
|
104 |
function spacexchimp_p005_control_number( $name, $label, $help=null, $default=null ) {
|
105 |
|
106 |
+
// Put value of plugin constants into an array for easier access
|
107 |
+
$plugin = spacexchimp_p005_plugin();
|
108 |
+
|
109 |
// Retrieve options from database and declare variables
|
110 |
+
$options = get_option( $plugin['settings'] . '_settings' );
|
111 |
$value = !empty( $options[$name] ) ? esc_attr( $options[$name] ) : $default;
|
112 |
|
113 |
// Generate a part of table
|
124 |
</span>
|
125 |
<input
|
126 |
type='number'
|
127 |
+
name='" . $plugin['settings'] . "_settings[$name]'
|
128 |
+
id='" . $plugin['settings'] . "_settings[$name]'
|
129 |
value='$value'
|
130 |
maxlength='4'
|
131 |
class='form-control text-center'
|
151 |
*/
|
152 |
function spacexchimp_p005_control_link( $name, $label, $placeholder, $help, $link=null ) {
|
153 |
|
154 |
+
// Put value of plugin constants into an array for easier access
|
155 |
+
$plugin = spacexchimp_p005_plugin();
|
156 |
+
|
157 |
// Retrieve options from database and declare variables
|
158 |
+
$options = get_option( $plugin['settings'] . '_settings' );
|
159 |
$value = !empty( $options['buttons-link'][$name] ) ? esc_textarea( $options['buttons-link'][$name] ) : '';
|
160 |
$display = !empty( $options['buttons-selected'][$name] ) ? '' : 'none';
|
161 |
|
168 |
<td>
|
169 |
<input
|
170 |
type='text'
|
171 |
+
name='" . $plugin['settings'] . "_settings[buttons-link][$name]'
|
172 |
size='50'
|
173 |
value='$value'
|
174 |
placeholder='$placeholder'
|
191 |
*/
|
192 |
function spacexchimp_p005_control_choice( $name, $items, $label, $help, $default ) {
|
193 |
|
194 |
+
// Put value of plugin constants into an array for easier access
|
195 |
+
$plugin = spacexchimp_p005_plugin();
|
196 |
+
|
197 |
// Retrieve options from database and declare variables
|
198 |
+
$options = get_option( $plugin['settings'] . '_settings' );
|
199 |
$option = !empty( $options[$name] ) ? $options[$name] : '';
|
200 |
$list_item = '';
|
201 |
|
210 |
$list_item .= "<li>
|
211 |
<input
|
212 |
type='radio'
|
213 |
+
name='" . $plugin['settings'] . "_settings[$name]'
|
214 |
value='$item_key'
|
215 |
$selected
|
216 |
>
|
242 |
*/
|
243 |
function spacexchimp_p005_control_checkbox( $name, $items, $label, $help ) {
|
244 |
|
245 |
+
// Put value of plugin constants into an array for easier access
|
246 |
+
$plugin = spacexchimp_p005_plugin();
|
247 |
+
|
248 |
// Retrieve options from database and declare variables
|
249 |
+
$options = get_option( $plugin['settings'] . '_settings' );
|
250 |
$list_item = '';
|
251 |
|
252 |
// Loop of elements LI
|
255 |
$list_item .= "<li id='media-$item_key' class='control-checkbox'>
|
256 |
<input
|
257 |
type='checkbox'
|
258 |
+
id='" . $plugin['settings'] . "_settings[$name][$item_key]'
|
259 |
+
name='" . $plugin['settings'] . "_settings[$name][$item_key]'
|
260 |
$checked
|
261 |
>
|
262 |
+
<label for='" . $plugin['settings'] . "_settings[$name][$item_key]'>
|
263 |
$item_value
|
264 |
</label>
|
265 |
</li>";
|
290 |
function spacexchimp_p005_control_separator( $text=null ) {
|
291 |
|
292 |
// Generate a part of table
|
293 |
+
if ( ! empty( $text ) ) {
|
294 |
$out = "<tr>
|
295 |
<td height='60' colspan='2'>
|
296 |
<hr>
|
inc/php/core.php
CHANGED
@@ -9,121 +9,166 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
9 |
* Register text domain
|
10 |
*/
|
11 |
function spacexchimp_p005_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_p005_settings_link( $links ) {
|
23 |
-
$page = '<a href="' . admin_url( 'options-general.php?page=' . SPACEXCHIMP_P005_SLUG ) . '">' . __( 'Settings', SPACEXCHIMP_P005_TEXT ) . '</a>';
|
24 |
-
array_unshift( $links, $page );
|
25 |
-
return $links;
|
26 |
-
}
|
27 |
-
add_filter( 'plugin_action_links_' . SPACEXCHIMP_P005_BASE, 'spacexchimp_p005_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_p005_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_p005_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_p005_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_p005_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_p005_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_p005_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_p005_uninstall() {
|
127 |
-
|
|
|
|
|
|
|
|
|
128 |
}
|
129 |
-
register_uninstall_hook(
|
9 |
* Register text domain
|
10 |
*/
|
11 |
function spacexchimp_p005_textdomain() {
|
12 |
+
|
13 |
+
// Put value of plugin constants into an array for easier access
|
14 |
+
$plugin = spacexchimp_p005_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_p005_settings_link( $links ) {
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
+
// Put value of plugin constants into an array for easier access
|
29 |
+
$plugin = spacexchimp_p005_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/social-media-buttons-toolbar-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_p005_plugin_row_meta( $links, $file ) {
|
53 |
|
54 |
+
// Put value of plugin constants into an array for easier access
|
55 |
+
$plugin = spacexchimp_p005_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/social-media-buttons-toolbar-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_p005_register_submenu_page() {
|
84 |
|
85 |
+
// Put value of plugin constants into an array for easier access
|
86 |
+
$plugin = spacexchimp_p005_plugin();
|
87 |
+
|
88 |
+
// Declare variables
|
89 |
+
$page_title = $plugin['name'];
|
90 |
+
$menu_title = __( 'Social Media Follow Buttons', $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_p005_register_settings() {
|
103 |
+
|
104 |
+
// Put value of plugin constants into an array for easier access
|
105 |
+
$plugin = spacexchimp_p005_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_p005_admin_footer_text() {
|
116 |
|
117 |
+
// Put value of plugin constants into an array for easier access
|
118 |
+
$plugin = spacexchimp_p005_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_p005_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_p005_activation() {
|
142 |
|
143 |
+
// Put value of plugin constants into an array for easier access
|
144 |
+
$plugin = spacexchimp_p005_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_p005_uninstall() {
|
168 |
+
|
169 |
+
// Put value of plugin constants into an array for easier access
|
170 |
+
$plugin = spacexchimp_p005_plugin();
|
171 |
+
|
172 |
+
delete_option( $plugin['settings'] . '_settings' );
|
173 |
}
|
174 |
+
register_uninstall_hook( $plugin['file'], $plugin['prefix'] . '_uninstall' );
|
inc/php/enqueue.php
CHANGED
@@ -8,9 +8,13 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
8 |
/**
|
9 |
* Callback for the dynamic CSS
|
10 |
*/
|
11 |
-
function spacexchimp_p005_load_scripts_dynamic_css(
|
12 |
|
13 |
-
//
|
|
|
|
|
|
|
|
|
14 |
$buttons_alignment = !empty( $options['alignment'] ) ? $options['alignment'] : 'center';
|
15 |
$button_size = !empty( $options['icon-size'] ) ? esc_textarea( $options['icon-size'] ) : '64';
|
16 |
$button_margin = !empty( $options['margin-right'] ) ? esc_textarea( $options['margin-right'] ) : '10';
|
@@ -32,7 +36,7 @@ function spacexchimp_p005_load_scripts_dynamic_css( $options, $prefix ) {
|
|
32 |
";
|
33 |
|
34 |
// Inject the array into the stylesheet
|
35 |
-
wp_add_inline_style( $prefix . '-frontend-css', $custom_css );
|
36 |
}
|
37 |
|
38 |
/**
|
@@ -40,73 +44,62 @@ function spacexchimp_p005_load_scripts_dynamic_css( $options, $prefix ) {
|
|
40 |
*/
|
41 |
function spacexchimp_p005_load_scripts_admin( $hook ) {
|
42 |
|
43 |
-
// Put value of constants
|
44 |
-
$
|
45 |
-
$prefix = SPACEXCHIMP_P005_PREFIX;
|
46 |
-
$url = SPACEXCHIMP_P005_URL;
|
47 |
-
$settings = SPACEXCHIMP_P005_SETTINGS;
|
48 |
-
$version = SPACEXCHIMP_P005_VERSION;
|
49 |
|
50 |
// Return if the page is not a settings page of this plugin
|
51 |
-
$settings_page = 'settings_page_' . $slug;
|
52 |
-
if ( $settings_page != $hook )
|
53 |
-
|
54 |
-
|
55 |
-
$options = get_option( $settings . '_settings' );
|
56 |
|
57 |
// Load jQuery library
|
58 |
wp_enqueue_script( 'jquery' );
|
59 |
|
60 |
// Bootstrap library
|
61 |
-
wp_enqueue_style( $prefix . '-bootstrap-css', $url . 'inc/lib/bootstrap/bootstrap.css', array(), $version, 'all' );
|
62 |
-
wp_enqueue_style( $prefix . '-bootstrap-theme-css', $url . 'inc/lib/bootstrap/bootstrap-theme.css', array(), $version, 'all' );
|
63 |
-
wp_enqueue_script( $prefix . '-bootstrap-js', $url . 'inc/lib/bootstrap/bootstrap.js', array(), $version, false );
|
64 |
|
65 |
// Font Awesome library
|
66 |
-
wp_enqueue_style( $prefix . '-font-awesome-css', $url . 'inc/lib/font-awesome/css/font-awesome.css', array(), $version, 'screen' );
|
67 |
|
68 |
// Other libraries
|
69 |
-
wp_enqueue_script( $prefix . '-bootstrap-checkbox-js', $url . 'inc/lib/bootstrap-checkbox.js', array(), $version, false );
|
70 |
|
71 |
// Style sheet
|
72 |
-
wp_enqueue_style( $prefix . '-admin-css', $url . 'inc/css/admin.css', array(), $version, 'all' );
|
73 |
-
wp_enqueue_style( $prefix . '-frontend-css', $url . 'inc/css/frontend.css', array(), $version, 'all' );
|
74 |
|
75 |
// JavaScript
|
76 |
-
wp_enqueue_script( $prefix . '-admin-js', $url . 'inc/js/admin.js', array(), $version, true );
|
77 |
|
78 |
// Call the function that contains the dynamic CSS
|
79 |
-
spacexchimp_p005_load_scripts_dynamic_css(
|
80 |
|
81 |
}
|
82 |
-
add_action( 'admin_enqueue_scripts', '
|
83 |
|
84 |
/**
|
85 |
* Load scripts and style sheet for front end of website
|
86 |
*/
|
87 |
function spacexchimp_p005_load_scripts_frontend() {
|
88 |
|
89 |
-
// Put value of constants
|
90 |
-
$
|
91 |
-
$url = SPACEXCHIMP_P005_URL;
|
92 |
-
$settings = SPACEXCHIMP_P005_SETTINGS;
|
93 |
-
$version = SPACEXCHIMP_P005_VERSION;
|
94 |
-
|
95 |
-
// Retrieve options from database
|
96 |
-
$options = get_option( $settings . '_settings' );
|
97 |
|
98 |
// Load jQuery library
|
99 |
wp_enqueue_script( 'jquery' );
|
100 |
|
101 |
// Other libraries
|
102 |
-
wp_enqueue_style( $prefix . '-bootstrap-tooltip-css', $url . 'inc/lib/bootstrap-tooltip/bootstrap-tooltip.css', array(), $version, 'all' );
|
103 |
-
wp_enqueue_script( $prefix . '-bootstrap-tooltip-js', $url . 'inc/lib/bootstrap-tooltip/bootstrap-tooltip.js', array(), $version, false );
|
104 |
|
105 |
// Style sheet
|
106 |
-
wp_enqueue_style( $prefix . '-frontend-css', $url . 'inc/css/frontend.css', array(), $version, 'all' );
|
107 |
|
108 |
// Call the function that contains the dynamic CSS
|
109 |
-
spacexchimp_p005_load_scripts_dynamic_css(
|
110 |
|
111 |
}
|
112 |
-
add_action( 'wp_enqueue_scripts', '
|
8 |
/**
|
9 |
* Callback for the dynamic CSS
|
10 |
*/
|
11 |
+
function spacexchimp_p005_load_scripts_dynamic_css() {
|
12 |
|
13 |
+
// Put value of plugin constants into an array for easier access
|
14 |
+
$plugin = spacexchimp_p005_plugin();
|
15 |
+
|
16 |
+
// Retrieve options from database and declare variables
|
17 |
+
$options = get_option( $plugin['settings'] . '_settings' );
|
18 |
$buttons_alignment = !empty( $options['alignment'] ) ? $options['alignment'] : 'center';
|
19 |
$button_size = !empty( $options['icon-size'] ) ? esc_textarea( $options['icon-size'] ) : '64';
|
20 |
$button_margin = !empty( $options['margin-right'] ) ? esc_textarea( $options['margin-right'] ) : '10';
|
36 |
";
|
37 |
|
38 |
// Inject the array into the stylesheet
|
39 |
+
wp_add_inline_style( $plugin['prefix'] . '-frontend-css', $custom_css );
|
40 |
}
|
41 |
|
42 |
/**
|
44 |
*/
|
45 |
function spacexchimp_p005_load_scripts_admin( $hook ) {
|
46 |
|
47 |
+
// Put value of plugin constants into an array for easier access
|
48 |
+
$plugin = spacexchimp_p005_plugin();
|
|
|
|
|
|
|
|
|
49 |
|
50 |
// Return if the page is not a settings page of this plugin
|
51 |
+
$settings_page = 'settings_page_' . $plugin['slug'];
|
52 |
+
if ( $settings_page != $hook ) {
|
53 |
+
return;
|
54 |
+
}
|
|
|
55 |
|
56 |
// Load jQuery library
|
57 |
wp_enqueue_script( 'jquery' );
|
58 |
|
59 |
// Bootstrap library
|
60 |
+
wp_enqueue_style( $plugin['prefix'] . '-bootstrap-css', $plugin['url'] . 'inc/lib/bootstrap/bootstrap.css', array(), $plugin['version'], 'all' );
|
61 |
+
wp_enqueue_style( $plugin['prefix'] . '-bootstrap-theme-css', $plugin['url'] . 'inc/lib/bootstrap/bootstrap-theme.css', array(), $plugin['version'], 'all' );
|
62 |
+
wp_enqueue_script( $plugin['prefix'] . '-bootstrap-js', $plugin['url'] . 'inc/lib/bootstrap/bootstrap.js', array(), $plugin['version'], false );
|
63 |
|
64 |
// Font Awesome library
|
65 |
+
wp_enqueue_style( $plugin['prefix'] . '-font-awesome-css', $plugin['url'] . 'inc/lib/font-awesome/css/font-awesome.css', array(), $plugin['version'], 'screen' );
|
66 |
|
67 |
// Other libraries
|
68 |
+
wp_enqueue_script( $plugin['prefix'] . '-bootstrap-checkbox-js', $plugin['url'] . 'inc/lib/bootstrap-checkbox.js', array(), $plugin['version'], false );
|
69 |
|
70 |
// Style sheet
|
71 |
+
wp_enqueue_style( $plugin['prefix'] . '-admin-css', $plugin['url'] . 'inc/css/admin.css', array(), $plugin['version'], 'all' );
|
72 |
+
wp_enqueue_style( $plugin['prefix'] . '-frontend-css', $plugin['url'] . 'inc/css/frontend.css', array(), $plugin['version'], 'all' );
|
73 |
|
74 |
// JavaScript
|
75 |
+
wp_enqueue_script( $plugin['prefix'] . '-admin-js', $plugin['url'] . 'inc/js/admin.js', array(), $plugin['version'], true );
|
76 |
|
77 |
// Call the function that contains the dynamic CSS
|
78 |
+
spacexchimp_p005_load_scripts_dynamic_css();
|
79 |
|
80 |
}
|
81 |
+
add_action( 'admin_enqueue_scripts', $plugin['prefix'] . '_load_scripts_admin' );
|
82 |
|
83 |
/**
|
84 |
* Load scripts and style sheet for front end of website
|
85 |
*/
|
86 |
function spacexchimp_p005_load_scripts_frontend() {
|
87 |
|
88 |
+
// Put value of plugin constants into an array for easier access
|
89 |
+
$plugin = spacexchimp_p005_plugin();
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
|
91 |
// Load jQuery library
|
92 |
wp_enqueue_script( 'jquery' );
|
93 |
|
94 |
// Other libraries
|
95 |
+
wp_enqueue_style( $plugin['prefix'] . '-bootstrap-tooltip-css', $plugin['url'] . 'inc/lib/bootstrap-tooltip/bootstrap-tooltip.css', array(), $plugin['version'], 'all' );
|
96 |
+
wp_enqueue_script( $plugin['prefix'] . '-bootstrap-tooltip-js', $plugin['url'] . 'inc/lib/bootstrap-tooltip/bootstrap-tooltip.js', array(), $plugin['version'], false );
|
97 |
|
98 |
// Style sheet
|
99 |
+
wp_enqueue_style( $plugin['prefix'] . '-frontend-css', $plugin['url'] . 'inc/css/frontend.css', array(), $plugin['version'], 'all' );
|
100 |
|
101 |
// Call the function that contains the dynamic CSS
|
102 |
+
spacexchimp_p005_load_scripts_dynamic_css();
|
103 |
|
104 |
}
|
105 |
+
add_action( 'wp_enqueue_scripts', $plugin['prefix'] . '_load_scripts_frontend' );
|
inc/php/functional.php
CHANGED
@@ -10,8 +10,11 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
10 |
*/
|
11 |
function spacexchimp_p005_generator() {
|
12 |
|
|
|
|
|
|
|
13 |
// Retrieve options from database and declare variables
|
14 |
-
$options = get_option(
|
15 |
$selected = !empty( $options['buttons-selected'] ) ? $options['buttons-selected'] : array();
|
16 |
$links = !empty( $options['buttons-link'] ) ? $options['buttons-link'] : array();
|
17 |
|
@@ -34,8 +37,8 @@ function spacexchimp_p005_generator() {
|
|
34 |
$slug = !empty( $item['slug'] ) ? $item['slug'] : '';
|
35 |
$label = !empty( $item['label'] ) ? $item['label'] : '';
|
36 |
$link = !empty( $links[$slug] ) ? $links[$slug] : '';
|
37 |
-
if ( !empty( $selected[$slug] ) ) {
|
38 |
-
$icon =
|
39 |
$toolbar_arr[] = '<li class="sxc-follow-button">
|
40 |
<a
|
41 |
href="' . $link . '"
|
@@ -54,7 +57,7 @@ function spacexchimp_p005_generator() {
|
|
54 |
$toolbar_arr[] = '</ul>';
|
55 |
|
56 |
// Add script for buttons
|
57 |
-
if ( !empty( $options['tooltips'] ) ) {
|
58 |
$js = "<script type='text/javascript'>
|
59 |
jQuery(document).ready(function($) {
|
60 |
|
@@ -95,8 +98,11 @@ add_filter( 'widget_text', 'do_shortcode' );
|
|
95 |
*/
|
96 |
function spacexchimp_p005_autoload( $content ) {
|
97 |
|
|
|
|
|
|
|
98 |
// Retrieve options from database and declare variables
|
99 |
-
$options = get_option(
|
100 |
$below_posts = !empty( $options['show_posts'] ) ? $options['show_posts'] : '';
|
101 |
$below_pages = !empty( $options['show_pages'] ) ? $options['show_pages'] : '';
|
102 |
|
@@ -155,7 +161,7 @@ function spacexchimp_p005_get_media_pairs_media() {
|
|
155 |
$array['youtube-gaming'] = ' YouTube G';
|
156 |
|
157 |
// Sort the media array in ascending order, according to the key name
|
158 |
-
if ( !empty($array) ) ksort($array);
|
159 |
|
160 |
return $array;
|
161 |
}
|
10 |
*/
|
11 |
function spacexchimp_p005_generator() {
|
12 |
|
13 |
+
// Put value of plugin constants into an array for easier access
|
14 |
+
$plugin = spacexchimp_p005_plugin();
|
15 |
+
|
16 |
// Retrieve options from database and declare variables
|
17 |
+
$options = get_option( $plugin['settings'] . '_settings' );
|
18 |
$selected = !empty( $options['buttons-selected'] ) ? $options['buttons-selected'] : array();
|
19 |
$links = !empty( $options['buttons-link'] ) ? $options['buttons-link'] : array();
|
20 |
|
37 |
$slug = !empty( $item['slug'] ) ? $item['slug'] : '';
|
38 |
$label = !empty( $item['label'] ) ? $item['label'] : '';
|
39 |
$link = !empty( $links[$slug] ) ? $links[$slug] : '';
|
40 |
+
if ( ! empty( $selected[$slug] ) ) {
|
41 |
+
$icon = $plugin['url'] . "inc/img/social-media-icons/$slug.png";
|
42 |
$toolbar_arr[] = '<li class="sxc-follow-button">
|
43 |
<a
|
44 |
href="' . $link . '"
|
57 |
$toolbar_arr[] = '</ul>';
|
58 |
|
59 |
// Add script for buttons
|
60 |
+
if ( ! empty( $options['tooltips'] ) ) {
|
61 |
$js = "<script type='text/javascript'>
|
62 |
jQuery(document).ready(function($) {
|
63 |
|
98 |
*/
|
99 |
function spacexchimp_p005_autoload( $content ) {
|
100 |
|
101 |
+
// Put value of plugin constants into an array for easier access
|
102 |
+
$plugin = spacexchimp_p005_plugin();
|
103 |
+
|
104 |
// Retrieve options from database and declare variables
|
105 |
+
$options = get_option( $plugin['settings'] . '_settings' );
|
106 |
$below_posts = !empty( $options['show_posts'] ) ? $options['show_posts'] : '';
|
107 |
$below_pages = !empty( $options['show_pages'] ) ? $options['show_pages'] : '';
|
108 |
|
161 |
$array['youtube-gaming'] = ' YouTube G';
|
162 |
|
163 |
// Sort the media array in ascending order, according to the key name
|
164 |
+
if ( ! empty($array) ) ksort($array);
|
165 |
|
166 |
return $array;
|
167 |
}
|
inc/php/messages.php
CHANGED
@@ -10,16 +10,14 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
10 |
*/
|
11 |
function spacexchimp_p005_message_hello() {
|
12 |
|
13 |
-
// Put value of constants
|
14 |
-
$
|
15 |
-
$url = SPACEXCHIMP_P005_URL;
|
16 |
-
$text = SPACEXCHIMP_P005_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_p005_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_p005_message_hello() {
|
|
71 |
*/
|
72 |
function spacexchimp_p005_message_error_version() {
|
73 |
|
74 |
-
// Put value of constants
|
75 |
-
$
|
76 |
-
$text = SPACEXCHIMP_P005_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_p005_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_p005_message_error_version() {
|
|
114 |
function spacexchimp_p005_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( 'Settings saved successfully.', $text ); ?>
|
130 |
</p>
|
131 |
</div>
|
132 |
<?php
|
10 |
*/
|
11 |
function spacexchimp_p005_message_hello() {
|
12 |
|
13 |
+
// Put value of plugin constants into an array for easier access
|
14 |
+
$plugin = spacexchimp_p005_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_p005_message_error_version() {
|
71 |
|
72 |
+
// Put value of plugin constants into an array for easier access
|
73 |
+
$plugin = spacexchimp_p005_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_p005_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_p005_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( 'Settings 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_p005_render_submenu_page() {
|
12 |
|
13 |
-
// Put value of constants
|
14 |
-
$
|
15 |
-
$slug = SPACEXCHIMP_P005_SLUG;
|
16 |
-
$version = SPACEXCHIMP_P005_VERSION;
|
17 |
-
$text = SPACEXCHIMP_P005_TEXT;
|
18 |
-
$path = SPACEXCHIMP_P005_PATH;
|
19 |
|
20 |
// Call messages
|
21 |
spacexchimp_p005_message_hello();
|
@@ -27,55 +23,55 @@ function spacexchimp_p005_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( 'Settings', $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_p005_render_submenu_page() {
|
12 |
|
13 |
+
// Put value of plugin constants into an array for easier access
|
14 |
+
$plugin = spacexchimp_p005_plugin();
|
|
|
|
|
|
|
|
|
15 |
|
16 |
// Call messages
|
17 |
spacexchimp_p005_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( 'Settings', $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/social-media-buttons-toolbar-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 a smart bar with social media follow buttons (not share, only links to your social media profiles) to any place (post content, page content, widget, sidebar, header, footer) of your WordPress website.', $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/social-media-buttons-toolbar-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 a smart bar with social media follow buttons (not share, only links to your social media profiles) to any place (post content, page content, widget, sidebar, header, footer) of your WordPress website.', $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,217 +52,217 @@ 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 "Settings" tab, select the desired settings and click the "Save changes" button.', $text ); ?>
|
125 |
-
<?php _e( 'Enjoy your fancy social media follow buttons.', $text ); ?>
|
126 |
-
<?php _e( 'It\'s that simple!', $text ); ?>
|
127 |
</div>
|
128 |
|
129 |
<div class="question-<?php echo $i; ?>">
|
130 |
-
<?php _e( 'Can I configure my buttons bar instance?', $text ); ?>
|
131 |
</div>
|
132 |
<div class="answer-<?php echo $i; $i++ ?>">
|
133 |
-
<?php _e( 'Yes.', $text ); ?>
|
134 |
-
<?php _e( 'On the "Settings" tab, select the desired settings and click the "Save changes" button.', $text ); ?>
|
135 |
-
<?php _e( 'It\'s that simple!', $text ); ?>
|
136 |
</div>
|
137 |
|
138 |
<div class="question-<?php echo $i; ?>">
|
139 |
-
<?php _e( 'How many buttons bar instances can I create?', $text ); ?>
|
140 |
</div>
|
141 |
<div class="answer-<?php echo $i; $i++ ?>">
|
142 |
-
<?php _e( 'The free version of this plugin supports only 1 instance of the buttons bar.', $text ); ?>
|
143 |
<br><br>
|
144 |
-
<?php _e( 'In the premium version of this plugin you can create up to 10 of buttons bar instances.', $text ); ?>
|
145 |
-
<?php _e( 'This is very useful, because that way you can manage your buttons bar instances separately.', $text ); ?>
|
146 |
-
<?php _e( 'Soon we will remove the limit on the number of buttons bar instances so that you can create an unlimited number of buttons bar instances.', $text ); ?>
|
147 |
</div>
|
148 |
|
149 |
<div class="question-<?php echo $i; ?>">
|
150 |
-
<?php _e( 'Does this plugin requires any modification of the theme?', $text ); ?>
|
151 |
</div>
|
152 |
<div class="answer-<?php echo $i; $i++ ?>">
|
153 |
-
<?php _e( 'Absolutely not.', $text ); ?>
|
154 |
-
<?php _e( 'This plugin is configurable entirely from the plugin settings page.', $text ); ?>
|
155 |
</div>
|
156 |
|
157 |
<div class="question-<?php echo $i; ?>">
|
158 |
-
<?php _e( 'Does this require any knowledge of HTML or CSS?', $text ); ?>
|
159 |
</div>
|
160 |
<div class="answer-<?php echo $i; $i++ ?>">
|
161 |
-
<?php _e( 'Absolutely not.', $text ); ?>
|
162 |
-
<?php _e( 'This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page.', $text ); ?>
|
163 |
</div>
|
164 |
|
165 |
<div class="question-<?php echo $i; ?>">
|
166 |
-
<?php _e( 'What I need to do if the Google PageSpeed test says that this plugin images must be compressed?', $text ); ?>
|
167 |
</div>
|
168 |
<div class="answer-<?php echo $i; $i++ ?>">
|
169 |
-
<?php _e( 'The images that uses in this plugin are already compressed, but we will do our best to find out what else can be done with the images in order to compress them even better.', $text ); ?>
|
170 |
</div>
|
171 |
|
172 |
<div class="question-<?php echo $i; ?> question-red">
|
173 |
-
<?php _e( 'It\'s not working.', $text ); ?>
|
174 |
-
<?php _e( 'What could be wrong?', $text ); ?>
|
175 |
</div>
|
176 |
<div class="answer-<?php echo $i; $i++ ?>">
|
177 |
-
<?php _e( 'As with every plugin, it\'s possible that things don\'t work.', $text ); ?>
|
178 |
-
<?php _e( 'It\'s impossible to tell what could be wrong exactly.', $text ); ?>
|
179 |
-
<?php _e( 'The most common reason for this is a web browser\'s cache.', $text ); ?>
|
180 |
-
<?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 ); ?>
|
181 |
-
<?php _e( 'This is called the browser\'s cache.', $text ); ?>
|
182 |
-
<?php _e( 'Clearing your browser\'s cache may solve the problem.', $text ); ?>
|
183 |
<br><br>
|
184 |
-
<?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 ); ?>
|
185 |
-
<?php _e( 'Please include as much information as possible, including a link to your website where the problem can be seen.', $text ); ?>
|
186 |
</div>
|
187 |
|
188 |
<div class="question-<?php echo $i; ?> question-red">
|
189 |
-
<?php _e( 'The last WordPress update is preventing me from editing my website that is using this plugin.', $text ); ?>
|
190 |
-
<?php _e( 'Why is this?', $text ); ?>
|
191 |
</div>
|
192 |
<div class="answer-<?php echo $i; $i++ ?>">
|
193 |
-
<?php _e( 'This plugin can not cause such problem.', $text ); ?>
|
194 |
-
<?php _e( 'More likely, the problem are related to the settings of the website.', $text ); ?>
|
195 |
-
<?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 ); ?>
|
196 |
-
<?php _e( 'Also please try to re-login to the website, this too can help.', $text ); ?>
|
197 |
</div>
|
198 |
|
199 |
<div class="question-<?php echo $i; ?> question-red">
|
200 |
-
<?php _e( 'Where to report bug if found?', $text ); ?>
|
201 |
</div>
|
202 |
<div class="answer-<?php echo $i; $i++ ?>">
|
203 |
-
<?php _e( 'Bug reports are very welcome!', $text ); ?>
|
204 |
<?php
|
205 |
printf(
|
206 |
-
__( 'Please visit our %s contact page %s and report.', $text ),
|
207 |
'<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
|
208 |
'</a>'
|
209 |
);
|
210 |
?>
|
211 |
-
<?php _e( 'Please do not forget to specify the name of the plugin.', $text ); ?>
|
212 |
-
<?php _e( 'Thank you!', $text ); ?>
|
213 |
<br><br>
|
214 |
-
<?php _e( 'Please include as much information as possible, including a link to your website where the problem can be seen.', $text ); ?>
|
215 |
-
<?php _e( 'Describe in more detail what exactly you are seeing.', $text ); ?>
|
216 |
-
<?php _e( 'Here are some examples:', $text ); ?>
|
217 |
<br><br>
|
218 |
<ul class="custom-list">
|
219 |
-
<li><?php _e( 'Elements of the plugin settings page are not working.', $text ); ?></li>
|
220 |
-
<li><?php _e( 'An error message is displayed on the plugin settings page.', $text ); ?></li>
|
221 |
-
<li><?php _e( 'An error message is displayed on the front end of website.', $text ); ?></li>
|
222 |
-
<li><?php _e( 'An error message is displayed on the back end of website.', $text ); ?></li>
|
223 |
-
<li><?php _e( 'Website is crashed.', $text ); ?></li>
|
224 |
</ul>
|
225 |
</div>
|
226 |
|
227 |
<div class="question-<?php echo $i; ?>">
|
228 |
-
<?php _e( 'Where to share any ideas or suggestions to make the plugin better?', $text ); ?>
|
229 |
</div>
|
230 |
<div class="answer-<?php echo $i; $i++ ?>">
|
231 |
-
<?php _e( 'Any suggestions are very welcome!', $text ); ?>
|
232 |
<?php
|
233 |
printf(
|
234 |
-
__( 'Please visit our %s contact page %s.', $text ),
|
235 |
'<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
|
236 |
'</a>'
|
237 |
);
|
238 |
?>
|
239 |
-
<?php _e( 'Please do not forget to specify the name of the plugin.', $text ); ?>
|
240 |
-
<?php _e( 'Thank you!', $text ); ?>
|
241 |
</div>
|
242 |
|
243 |
<div class="question-<?php echo $i; ?>">
|
244 |
-
<?php _e( 'I love this plugin!', $text ); ?>
|
245 |
-
<?php _e( 'Can I help somehow?', $text ); ?>
|
246 |
</div>
|
247 |
<div class="answer-<?php echo $i; $i++ ?>">
|
248 |
-
<?php _e( 'Yes, any contributions are very welcome!', $text ); ?>
|
249 |
<?php
|
250 |
printf(
|
251 |
-
__( 'Please visit our %s Support Us %s page.', $text ),
|
252 |
'<a href="https://www.spacexchimp.com/donate.html" target="_blank">',
|
253 |
'</a>'
|
254 |
);
|
255 |
?>
|
256 |
-
<?php _e( 'Thank you!', $text ); ?>
|
257 |
</div>
|
258 |
|
259 |
<div class="question-<?php echo $i; ?>">
|
260 |
-
<?php _e( 'Where can I find information about your licenses, payment process and refunds?', $text ); ?>
|
261 |
</div>
|
262 |
<div class="answer-<?php echo $i; $i++ ?>">
|
263 |
<?php
|
264 |
printf(
|
265 |
-
__( 'Answers to common questions about our licenses, payment process and refunds can be found on our %s Common Questions %s page.', $text ),
|
266 |
'<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
|
267 |
'</a>'
|
268 |
);
|
@@ -270,12 +270,12 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
270 |
</div>
|
271 |
|
272 |
<div class="question-<?php echo $i; ?>">
|
273 |
-
<?php _e( 'Where can I find information about your customer support?', $text ); ?>
|
274 |
</div>
|
275 |
<div class="answer-<?php echo $i; $i++ ?>">
|
276 |
<?php
|
277 |
printf(
|
278 |
-
__( 'Answers to common questions about our customer support can be found on our %s Common Questions %s page.', $text ),
|
279 |
'<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
|
280 |
'</a>'
|
281 |
);
|
@@ -283,12 +283,12 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
283 |
</div>
|
284 |
|
285 |
<div class="question-<?php echo $i; ?>">
|
286 |
-
<?php _e( 'Where can I find information about your affiliate program?', $text ); ?>
|
287 |
</div>
|
288 |
<div class="answer-<?php echo $i; $i++ ?>">
|
289 |
<?php
|
290 |
printf(
|
291 |
-
__( 'Answers to common questions about our affiliate program can be found on our %s Common Questions %s page.', $text ),
|
292 |
'<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
|
293 |
'</a>'
|
294 |
);
|
@@ -296,17 +296,17 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
296 |
</div>
|
297 |
|
298 |
<div class="question-<?php echo $i; ?>">
|
299 |
-
<?php _e( 'My question wasn\'t answered here.', $text ); ?>
|
300 |
</div>
|
301 |
<div class="answer-<?php echo $i; $i++ ?>">
|
302 |
<?php
|
303 |
printf(
|
304 |
-
__( 'You can ask your question on %s this page %s.', $text ),
|
305 |
'<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
|
306 |
'</a>'
|
307 |
);
|
308 |
?>
|
309 |
-
<?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 ); ?>
|
310 |
</div>
|
311 |
|
312 |
</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 "Settings" tab, select the desired settings and click the "Save changes" button.', $plugin['text'] ); ?>
|
125 |
+
<?php _e( 'Enjoy your fancy social media follow buttons.', $plugin['text'] ); ?>
|
126 |
+
<?php _e( 'It\'s that simple!', $plugin['text'] ); ?>
|
127 |
</div>
|
128 |
|
129 |
<div class="question-<?php echo $i; ?>">
|
130 |
+
<?php _e( 'Can I configure my buttons bar instance?', $plugin['text'] ); ?>
|
131 |
</div>
|
132 |
<div class="answer-<?php echo $i; $i++ ?>">
|
133 |
+
<?php _e( 'Yes.', $plugin['text'] ); ?>
|
134 |
+
<?php _e( 'On the "Settings" tab, select the desired settings and click the "Save changes" button.', $plugin['text'] ); ?>
|
135 |
+
<?php _e( 'It\'s that simple!', $plugin['text'] ); ?>
|
136 |
</div>
|
137 |
|
138 |
<div class="question-<?php echo $i; ?>">
|
139 |
+
<?php _e( 'How many buttons bar instances can I create?', $plugin['text'] ); ?>
|
140 |
</div>
|
141 |
<div class="answer-<?php echo $i; $i++ ?>">
|
142 |
+
<?php _e( 'The free version of this plugin supports only 1 instance of the buttons bar.', $plugin['text'] ); ?>
|
143 |
<br><br>
|
144 |
+
<?php _e( 'In the premium version of this plugin you can create up to 10 of buttons bar instances.', $plugin['text'] ); ?>
|
145 |
+
<?php _e( 'This is very useful, because that way you can manage your buttons bar instances separately.', $plugin['text'] ); ?>
|
146 |
+
<?php _e( 'Soon we will remove the limit on the number of buttons bar instances so that you can create an unlimited number of buttons bar instances.', $plugin['text'] ); ?>
|
147 |
</div>
|
148 |
|
149 |
<div class="question-<?php echo $i; ?>">
|
150 |
+
<?php _e( 'Does this plugin requires any modification of the theme?', $plugin['text'] ); ?>
|
151 |
</div>
|
152 |
<div class="answer-<?php echo $i; $i++ ?>">
|
153 |
+
<?php _e( 'Absolutely not.', $plugin['text'] ); ?>
|
154 |
+
<?php _e( 'This plugin is configurable entirely from the plugin settings page.', $plugin['text'] ); ?>
|
155 |
</div>
|
156 |
|
157 |
<div class="question-<?php echo $i; ?>">
|
158 |
+
<?php _e( 'Does this require any knowledge of HTML or CSS?', $plugin['text'] ); ?>
|
159 |
</div>
|
160 |
<div class="answer-<?php echo $i; $i++ ?>">
|
161 |
+
<?php _e( 'Absolutely not.', $plugin['text'] ); ?>
|
162 |
+
<?php _e( 'This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page.', $plugin['text'] ); ?>
|
163 |
</div>
|
164 |
|
165 |
<div class="question-<?php echo $i; ?>">
|
166 |
+
<?php _e( 'What I need to do if the Google PageSpeed test says that this plugin images must be compressed?', $plugin['text'] ); ?>
|
167 |
</div>
|
168 |
<div class="answer-<?php echo $i; $i++ ?>">
|
169 |
+
<?php _e( 'The images that uses in this plugin are already compressed, but we will do our best to find out what else can be done with the images in order to compress them even better.', $plugin['text'] ); ?>
|
170 |
</div>
|
171 |
|
172 |
<div class="question-<?php echo $i; ?> question-red">
|
173 |
+
<?php _e( 'It\'s not working.', $plugin['text'] ); ?>
|
174 |
+
<?php _e( 'What could be wrong?', $plugin['text'] ); ?>
|
175 |
</div>
|
176 |
<div class="answer-<?php echo $i; $i++ ?>">
|
177 |
+
<?php _e( 'As with every plugin, it\'s possible that things don\'t work.', $plugin['text'] ); ?>
|
178 |
+
<?php _e( 'It\'s impossible to tell what could be wrong exactly.', $plugin['text'] ); ?>
|
179 |
+
<?php _e( 'The most common reason for this is a web browser\'s cache.', $plugin['text'] ); ?>
|
180 |
+
<?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'] ); ?>
|
181 |
+
<?php _e( 'This is called the browser\'s cache.', $plugin['text'] ); ?>
|
182 |
+
<?php _e( 'Clearing your browser\'s cache may solve the problem.', $plugin['text'] ); ?>
|
183 |
<br><br>
|
184 |
+
<?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'] ); ?>
|
185 |
+
<?php _e( 'Please include as much information as possible, including a link to your website where the problem can be seen.', $plugin['text'] ); ?>
|
186 |
</div>
|
187 |
|
188 |
<div class="question-<?php echo $i; ?> question-red">
|
189 |
+
<?php _e( 'The last WordPress update is preventing me from editing my website that is using this plugin.', $plugin['text'] ); ?>
|
190 |
+
<?php _e( 'Why is this?', $plugin['text'] ); ?>
|
191 |
</div>
|
192 |
<div class="answer-<?php echo $i; $i++ ?>">
|
193 |
+
<?php _e( 'This plugin can not cause such problem.', $plugin['text'] ); ?>
|
194 |
+
<?php _e( 'More likely, the problem are related to the settings of the website.', $plugin['text'] ); ?>
|
195 |
+
<?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'] ); ?>
|
196 |
+
<?php _e( 'Also please try to re-login to the website, this too can help.', $plugin['text'] ); ?>
|
197 |
</div>
|
198 |
|
199 |
<div class="question-<?php echo $i; ?> question-red">
|
200 |
+
<?php _e( 'Where to report bug if found?', $plugin['text'] ); ?>
|
201 |
</div>
|
202 |
<div class="answer-<?php echo $i; $i++ ?>">
|
203 |
+
<?php _e( 'Bug reports are very welcome!', $plugin['text'] ); ?>
|
204 |
<?php
|
205 |
printf(
|
206 |
+
__( 'Please visit our %s contact page %s and report.', $plugin['text'] ),
|
207 |
'<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
|
208 |
'</a>'
|
209 |
);
|
210 |
?>
|
211 |
+
<?php _e( 'Please do not forget to specify the name of the plugin.', $plugin['text'] ); ?>
|
212 |
+
<?php _e( 'Thank you!', $plugin['text'] ); ?>
|
213 |
<br><br>
|
214 |
+
<?php _e( 'Please include as much information as possible, including a link to your website where the problem can be seen.', $plugin['text'] ); ?>
|
215 |
+
<?php _e( 'Describe in more detail what exactly you are seeing.', $plugin['text'] ); ?>
|
216 |
+
<?php _e( 'Here are some examples:', $plugin['text'] ); ?>
|
217 |
<br><br>
|
218 |
<ul class="custom-list">
|
219 |
+
<li><?php _e( 'Elements of the plugin settings page are not working.', $plugin['text'] ); ?></li>
|
220 |
+
<li><?php _e( 'An error message is displayed on the plugin settings page.', $plugin['text'] ); ?></li>
|
221 |
+
<li><?php _e( 'An error message is displayed on the front end of website.', $plugin['text'] ); ?></li>
|
222 |
+
<li><?php _e( 'An error message is displayed on the back end of website.', $plugin['text'] ); ?></li>
|
223 |
+
<li><?php _e( 'Website is crashed.', $plugin['text'] ); ?></li>
|
224 |
</ul>
|
225 |
</div>
|
226 |
|
227 |
<div class="question-<?php echo $i; ?>">
|
228 |
+
<?php _e( 'Where to share any ideas or suggestions to make the plugin better?', $plugin['text'] ); ?>
|
229 |
</div>
|
230 |
<div class="answer-<?php echo $i; $i++ ?>">
|
231 |
+
<?php _e( 'Any suggestions are very welcome!', $plugin['text'] ); ?>
|
232 |
<?php
|
233 |
printf(
|
234 |
+
__( 'Please visit our %s contact page %s.', $plugin['text'] ),
|
235 |
'<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
|
236 |
'</a>'
|
237 |
);
|
238 |
?>
|
239 |
+
<?php _e( 'Please do not forget to specify the name of the plugin.', $plugin['text'] ); ?>
|
240 |
+
<?php _e( 'Thank you!', $plugin['text'] ); ?>
|
241 |
</div>
|
242 |
|
243 |
<div class="question-<?php echo $i; ?>">
|
244 |
+
<?php _e( 'I love this plugin!', $plugin['text'] ); ?>
|
245 |
+
<?php _e( 'Can I help somehow?', $plugin['text'] ); ?>
|
246 |
</div>
|
247 |
<div class="answer-<?php echo $i; $i++ ?>">
|
248 |
+
<?php _e( 'Yes, any contributions are very welcome!', $plugin['text'] ); ?>
|
249 |
<?php
|
250 |
printf(
|
251 |
+
__( 'Please visit our %s Support Us %s page.', $plugin['text'] ),
|
252 |
'<a href="https://www.spacexchimp.com/donate.html" target="_blank">',
|
253 |
'</a>'
|
254 |
);
|
255 |
?>
|
256 |
+
<?php _e( 'Thank you!', $plugin['text'] ); ?>
|
257 |
</div>
|
258 |
|
259 |
<div class="question-<?php echo $i; ?>">
|
260 |
+
<?php _e( 'Where can I find information about your licenses, payment process and refunds?', $plugin['text'] ); ?>
|
261 |
</div>
|
262 |
<div class="answer-<?php echo $i; $i++ ?>">
|
263 |
<?php
|
264 |
printf(
|
265 |
+
__( 'Answers to common questions about our licenses, payment process and refunds can be found on our %s Common Questions %s page.', $plugin['text'] ),
|
266 |
'<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
|
267 |
'</a>'
|
268 |
);
|
270 |
</div>
|
271 |
|
272 |
<div class="question-<?php echo $i; ?>">
|
273 |
+
<?php _e( 'Where can I find information about your customer support?', $plugin['text'] ); ?>
|
274 |
</div>
|
275 |
<div class="answer-<?php echo $i; $i++ ?>">
|
276 |
<?php
|
277 |
printf(
|
278 |
+
__( 'Answers to common questions about our customer support can be found on our %s Common Questions %s page.', $plugin['text'] ),
|
279 |
'<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
|
280 |
'</a>'
|
281 |
);
|
283 |
</div>
|
284 |
|
285 |
<div class="question-<?php echo $i; ?>">
|
286 |
+
<?php _e( 'Where can I find information about your affiliate program?', $plugin['text'] ); ?>
|
287 |
</div>
|
288 |
<div class="answer-<?php echo $i; $i++ ?>">
|
289 |
<?php
|
290 |
printf(
|
291 |
+
__( 'Answers to common questions about our affiliate program can be found on our %s Common Questions %s page.', $plugin['text'] ),
|
292 |
'<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
|
293 |
'</a>'
|
294 |
);
|
296 |
</div>
|
297 |
|
298 |
<div class="question-<?php echo $i; ?>">
|
299 |
+
<?php _e( 'My question wasn\'t answered here.', $plugin['text'] ); ?>
|
300 |
</div>
|
301 |
<div class="answer-<?php echo $i; $i++ ?>">
|
302 |
<?php
|
303 |
printf(
|
304 |
+
__( 'You can ask your question on %s this page %s.', $plugin['text'] ),
|
305 |
'<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
|
306 |
'</a>'
|
307 |
);
|
308 |
?>
|
309 |
+
<?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'] ); ?>
|
310 |
</div>
|
311 |
|
312 |
</div>
|
inc/php/tabs/settings.php
CHANGED
@@ -14,31 +14,31 @@ 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 |
<button type="submit" name="submit" id="submit" class="btn btn-info btn-lg button-save-top">
|
20 |
<i class="fa fa-save" aria-hidden="true"></i>
|
21 |
-
<span><?php _e( 'Save changes', $text ); ?></span>
|
22 |
</button>
|
23 |
|
24 |
<div class="postbox" id="buttons">
|
25 |
-
<h3 class="title"><?php _e( 'Buttons', $text ); ?></h3>
|
26 |
<div class="inside">
|
27 |
-
<p class="note"><?php _e( 'Here you can select the buttons that you want to have in your social media follow buttons bar.', $text ); ?></p>
|
28 |
<table class="form-table">
|
29 |
<?php
|
30 |
$buttons_media = spacexchimp_p005_get_media_pairs_media();
|
31 |
spacexchimp_p005_control_checkbox( 'buttons-selected',
|
32 |
$buttons_media,
|
33 |
-
__( 'Social media buttons', $text ),
|
34 |
-
__( 'Mark the desired buttons to add it to your social media follow buttons bar.', $text )
|
35 |
);
|
36 |
|
37 |
$buttons_additional = spacexchimp_p005_get_media_pairs_additional();
|
38 |
spacexchimp_p005_control_checkbox( 'buttons-selected',
|
39 |
$buttons_additional,
|
40 |
-
__( 'Additional buttons', $text ),
|
41 |
-
__( 'Mark the desired buttons to add it to your social media follow buttons bar.', $text )
|
42 |
);
|
43 |
?>
|
44 |
</table>
|
@@ -46,9 +46,9 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
46 |
</div>
|
47 |
|
48 |
<div class="postbox" id="button-links">
|
49 |
-
<h3 class="title"><?php _e( 'Buttons URL', $text ); ?></h3>
|
50 |
<div class="inside">
|
51 |
-
<p class="note"><?php _e( 'Fill in the fields below to add links that will lead directly to your profile pages in social media that you selected in the section above.', $text ); ?></p>
|
52 |
<table class="form-table">
|
53 |
<?php
|
54 |
$items_all = spacexchimp_p005_get_items_all();
|
@@ -73,90 +73,90 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
|
|
73 |
</div>
|
74 |
|
75 |
<div class="postbox" id="display">
|
76 |
-
<h3 class="title"><?php _e( 'Display options', $text ); ?></h3>
|
77 |
<div class="inside">
|
78 |
-
<p class="note"><?php _e( 'Here you can customize the display of your social media follow buttons bar.', $text ); ?></p>
|
79 |
<table class="form-table">
|
80 |
<?php
|
81 |
spacexchimp_p005_control_number( 'icon-size',
|
82 |
-
__( 'Button size', $text ),
|
83 |
-
__( 'You can choose the size of the buttons (in pixels). Default is 64 pixels.', $text ),
|
84 |
'64'
|
85 |
);
|
86 |
spacexchimp_p005_control_separator(
|
87 |
-
__( 'Positioning', $text )
|
88 |
);
|
89 |
spacexchimp_p005_control_number( 'margin-right',
|
90 |
-
__( 'Button margin', $text ),
|
91 |
-
__( 'You can choose the size of the space (in pixels) between each button. Default is 10 pixels.', $text ),
|
92 |
'10'
|
93 |
);
|
94 |
spacexchimp_p005_control_choice( 'alignment',
|
95 |
array(
|
96 |
-
'left' => __( 'Left', $text ),
|
97 |
-
'center' => __( 'Center', $text ),
|
98 |
-
'right' => __( 'Right', $text )
|
99 |
),
|
100 |
-
__( 'Buttons bar alignment', $text ),
|
101 |
-
__( 'You can choose the alignment of the entire buttons bar.', $text ),
|
102 |
'center'
|
103 |
);
|
104 |
spacexchimp_p005_control_separator(
|
105 |
-
__( 'Links open method', $text )
|
106 |
);
|
107 |
spacexchimp_p005_control_switch( 'new_tab',
|
108 |
-
__( 'Open in new tab', $text ),
|
109 |
-
__( 'Open links in a new tab/window.', $text )
|
110 |
);
|
111 |
spacexchimp_p005_control_separator(
|
112 |
-
__( 'Additional', $text )
|
113 |
);
|
114 |
spacexchimp_p005_control_field( 'caption',
|
115 |
-
__( 'Caption', $text ),
|
116 |
-
__( 'Enter the caption to your social media follow buttons bar. It will be displayed above the buttons bar.', $text ),
|
117 |
'Follow me in social media:'
|
118 |
);
|
119 |
spacexchimp_p005_control_switch( 'tooltips',
|
120 |
-
__( 'Tooltips', $text ),
|
121 |
-
__( 'Enable tooltips with the name of social media that will be displayed next to each button.', $text )
|
122 |
);
|
123 |
spacexchimp_p005_control_separator(
|
124 |
-
__( 'Autoload', $text )
|
125 |
);
|
126 |
spacexchimp_p005_control_switch( 'show_posts',
|
127 |
-
__( 'Show on Posts', $text ),
|
128 |
-
__( 'Automatically display the buttons bar below content on Posts.', $text )
|
129 |
);
|
130 |
spacexchimp_p005_control_switch( 'show_pages',
|
131 |
-
__( 'Show on Pages', $text ),
|
132 |
-
__( 'Automatically display the buttons bar below content on Pages.', $text )
|
133 |
);
|
134 |
?>
|
135 |
</table>
|
136 |
</div>
|
137 |
</div>
|
138 |
|
139 |
-
<input type="submit" name="submit" id="submit" class="btn btn-default btn-lg button-save-main" value="<?php _e( 'Save changes', $text ); ?>">
|
140 |
|
141 |
<div class="postbox" id="preview">
|
142 |
-
<h3 class="title"><?php _e( 'Live Preview', $text ); ?></h3>
|
143 |
<div class="inside">
|
144 |
-
<p class="note"><?php _e( 'Click the "Save changes" button to update this preview.', $text ); ?></p><br>
|
145 |
<?php echo spacexchimp_p005_shortcode(); ?>
|
146 |
</div>
|
147 |
</div>
|
148 |
|
149 |
<div class="postbox" id="support-addition">
|
150 |
-
<h3 class="title"><?php _e( 'Support', $text ); ?></h3>
|
151 |
<div class="inside">
|
152 |
-
<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>
|
153 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" class="btn btn-default button-labeled">
|
154 |
<span class="btn-label">
|
155 |
-
<img src="<?php echo
|
156 |
</span>
|
157 |
-
<?php _e( 'Donate with PayPal', $text ); ?>
|
158 |
</a>
|
159 |
-
<p><?php _e( 'Thanks for your support!', $text ); ?></p>
|
160 |
</div>
|
161 |
</div>
|
162 |
|
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 |
<button type="submit" name="submit" id="submit" class="btn btn-info btn-lg button-save-top">
|
20 |
<i class="fa fa-save" aria-hidden="true"></i>
|
21 |
+
<span><?php _e( 'Save changes', $plugin['text'] ); ?></span>
|
22 |
</button>
|
23 |
|
24 |
<div class="postbox" id="buttons">
|
25 |
+
<h3 class="title"><?php _e( 'Buttons', $plugin['text'] ); ?></h3>
|
26 |
<div class="inside">
|
27 |
+
<p class="note"><?php _e( 'Here you can select the buttons that you want to have in your social media follow buttons bar.', $plugin['text'] ); ?></p>
|
28 |
<table class="form-table">
|
29 |
<?php
|
30 |
$buttons_media = spacexchimp_p005_get_media_pairs_media();
|
31 |
spacexchimp_p005_control_checkbox( 'buttons-selected',
|
32 |
$buttons_media,
|
33 |
+
__( 'Social media buttons', $plugin['text'] ),
|
34 |
+
__( 'Mark the desired buttons to add it to your social media follow buttons bar.', $plugin['text'] )
|
35 |
);
|
36 |
|
37 |
$buttons_additional = spacexchimp_p005_get_media_pairs_additional();
|
38 |
spacexchimp_p005_control_checkbox( 'buttons-selected',
|
39 |
$buttons_additional,
|
40 |
+
__( 'Additional buttons', $plugin['text'] ),
|
41 |
+
__( 'Mark the desired buttons to add it to your social media follow buttons bar.', $plugin['text'] )
|
42 |
);
|
43 |
?>
|
44 |
</table>
|
46 |
</div>
|
47 |
|
48 |
<div class="postbox" id="button-links">
|
49 |
+
<h3 class="title"><?php _e( 'Buttons URL', $plugin['text'] ); ?></h3>
|
50 |
<div class="inside">
|
51 |
+
<p class="note"><?php _e( 'Fill in the fields below to add links that will lead directly to your profile pages in social media that you selected in the section above.', $plugin['text'] ); ?></p>
|
52 |
<table class="form-table">
|
53 |
<?php
|
54 |
$items_all = spacexchimp_p005_get_items_all();
|
73 |
</div>
|
74 |
|
75 |
<div class="postbox" id="display">
|
76 |
+
<h3 class="title"><?php _e( 'Display options', $plugin['text'] ); ?></h3>
|
77 |
<div class="inside">
|
78 |
+
<p class="note"><?php _e( 'Here you can customize the display of your social media follow buttons bar.', $plugin['text'] ); ?></p>
|
79 |
<table class="form-table">
|
80 |
<?php
|
81 |
spacexchimp_p005_control_number( 'icon-size',
|
82 |
+
__( 'Button size', $plugin['text'] ),
|
83 |
+
__( 'You can choose the size of the buttons (in pixels). Default is 64 pixels.', $plugin['text'] ),
|
84 |
'64'
|
85 |
);
|
86 |
spacexchimp_p005_control_separator(
|
87 |
+
__( 'Positioning', $plugin['text'] )
|
88 |
);
|
89 |
spacexchimp_p005_control_number( 'margin-right',
|
90 |
+
__( 'Button margin', $plugin['text'] ),
|
91 |
+
__( 'You can choose the size of the space (in pixels) between each button. Default is 10 pixels.', $plugin['text'] ),
|
92 |
'10'
|
93 |
);
|
94 |
spacexchimp_p005_control_choice( 'alignment',
|
95 |
array(
|
96 |
+
'left' => __( 'Left', $plugin['text'] ),
|
97 |
+
'center' => __( 'Center', $plugin['text'] ),
|
98 |
+
'right' => __( 'Right', $plugin['text'] )
|
99 |
),
|
100 |
+
__( 'Buttons bar alignment', $plugin['text'] ),
|
101 |
+
__( 'You can choose the alignment of the entire buttons bar.', $plugin['text'] ),
|
102 |
'center'
|
103 |
);
|
104 |
spacexchimp_p005_control_separator(
|
105 |
+
__( 'Links open method', $plugin['text'] )
|
106 |
);
|
107 |
spacexchimp_p005_control_switch( 'new_tab',
|
108 |
+
__( 'Open in new tab', $plugin['text'] ),
|
109 |
+
__( 'Open links in a new tab/window.', $plugin['text'] )
|
110 |
);
|
111 |
spacexchimp_p005_control_separator(
|
112 |
+
__( 'Additional', $plugin['text'] )
|
113 |
);
|
114 |
spacexchimp_p005_control_field( 'caption',
|
115 |
+
__( 'Caption', $plugin['text'] ),
|
116 |
+
__( 'Enter the caption to your social media follow buttons bar. It will be displayed above the buttons bar.', $plugin['text'] ),
|
117 |
'Follow me in social media:'
|
118 |
);
|
119 |
spacexchimp_p005_control_switch( 'tooltips',
|
120 |
+
__( 'Tooltips', $plugin['text'] ),
|
121 |
+
__( 'Enable tooltips with the name of social media that will be displayed next to each button.', $plugin['text'] )
|
122 |
);
|
123 |
spacexchimp_p005_control_separator(
|
124 |
+
__( 'Autoload', $plugin['text'] )
|
125 |
);
|
126 |
spacexchimp_p005_control_switch( 'show_posts',
|
127 |
+
__( 'Show on Posts', $plugin['text'] ),
|
128 |
+
__( 'Automatically display the buttons bar below content on Posts.', $plugin['text'] )
|
129 |
);
|
130 |
spacexchimp_p005_control_switch( 'show_pages',
|
131 |
+
__( 'Show on Pages', $plugin['text'] ),
|
132 |
+
__( 'Automatically display the buttons bar below content on Pages.', $plugin['text'] )
|
133 |
);
|
134 |
?>
|
135 |
</table>
|
136 |
</div>
|
137 |
</div>
|
138 |
|
139 |
+
<input type="submit" name="submit" id="submit" class="btn btn-default btn-lg button-save-main" value="<?php _e( 'Save changes', $plugin['text'] ); ?>">
|
140 |
|
141 |
<div class="postbox" id="preview">
|
142 |
+
<h3 class="title"><?php _e( 'Live Preview', $plugin['text'] ); ?></h3>
|
143 |
<div class="inside">
|
144 |
+
<p class="note"><?php _e( 'Click the "Save changes" button to update this preview.', $plugin['text'] ); ?></p><br>
|
145 |
<?php echo spacexchimp_p005_shortcode(); ?>
|
146 |
</div>
|
147 |
</div>
|
148 |
|
149 |
<div class="postbox" id="support-addition">
|
150 |
+
<h3 class="title"><?php _e( 'Support', $plugin['text'] ); ?></h3>
|
151 |
<div class="inside">
|
152 |
+
<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>
|
153 |
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" class="btn btn-default button-labeled">
|
154 |
<span class="btn-label">
|
155 |
+
<img src="<?php echo $plugin['url'] . 'inc/img/paypal.svg'; ?>" alt="PayPal">
|
156 |
</span>
|
157 |
+
<?php _e( 'Donate with PayPal', $plugin['text'] ); ?>
|
158 |
</a>
|
159 |
+
<p><?php _e( 'Thanks for your support!', $plugin['text'] ); ?></p>
|
160 |
</div>
|
161 |
</div>
|
162 |
|
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,32 +10,32 @@ 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 display the social media follow buttons bar on the front end of your website, simply follow these steps:', $text ); ?></p>
|
16 |
<ol class="custom-counter">
|
17 |
-
<li><?php _e( 'Go to the "Settings" tab on this page.', $text ); ?></li>
|
18 |
-
<li><?php _e( 'Select the desired buttons and fill in the required URL fields.', $text ); ?></li>
|
19 |
-
<li><?php _e( 'Select the desired settings.', $text ); ?></li>
|
20 |
-
<li><?php _e( 'Click the "Save changes" button.', $text ); ?></li>
|
21 |
<li>
|
22 |
-
<?php _e( 'Now you have several methods for display the social media follow buttons bar (further just "buttons").', $text ); ?>
|
23 |
-
<?php _e( 'Just choose the one that is more suitable for your case.', $text ); ?>
|
24 |
<br><br>
|
25 |
-
<p><?php _e( '<b>A)</b> To automatically display the buttons below a content on every Posts and/or Pages, simply use the appropriate option in the "Autoload" section, then click the "Save changes" button.', $text ); ?></p>
|
26 |
-
<p><?php _e( '<b>B)</b> To add the buttons inside a post from WordPress Post/Page Editor use the following shortcode:', $text ); ?></p>
|
27 |
<p><?php highlight_string('[smbtoolbar]'); ?></p>
|
28 |
-
<p><?php _e( '<b>C)</b> To add the buttons to the widget area (in sidebar, footer etc.) use the "Text" widget and add inside it the following shortcode:', $text ); ?></p>
|
29 |
<p><?php highlight_string('[smbtoolbar]'); ?></p>
|
30 |
-
<p><?php _e( '<b>D)</b> To add the buttons directly to the theme files, just add the following code to needed place (where you want to display the buttons) in your theme files:', $text ); ?></p>
|
31 |
<p><?php highlight_string('<?php echo do_shortcode("[smbtoolbar]"); ?>'); ?></p>
|
32 |
</li>
|
33 |
-
<li><?php _e( 'Enjoy your fancy social media follow buttons.', $text ); ?> <?php _e( 'It\'s that simple!', $text ); ?></li>
|
34 |
</ol>
|
35 |
<p class="note">
|
36 |
<?php
|
37 |
printf(
|
38 |
-
__( 'If you want more options, then %s let us know %s and we will be happy to add them.', $text ),
|
39 |
'<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
|
40 |
'</a>'
|
41 |
);
|
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 display the social media follow buttons bar on the front end of your website, simply follow these steps:', $plugin['text'] ); ?></p>
|
16 |
<ol class="custom-counter">
|
17 |
+
<li><?php _e( 'Go to the "Settings" tab on this page.', $plugin['text'] ); ?></li>
|
18 |
+
<li><?php _e( 'Select the desired buttons and fill in the required URL fields.', $plugin['text'] ); ?></li>
|
19 |
+
<li><?php _e( 'Select the desired settings.', $plugin['text'] ); ?></li>
|
20 |
+
<li><?php _e( 'Click the "Save changes" button.', $plugin['text'] ); ?></li>
|
21 |
<li>
|
22 |
+
<?php _e( 'Now you have several methods for display the social media follow buttons bar (further just "buttons").', $plugin['text'] ); ?>
|
23 |
+
<?php _e( 'Just choose the one that is more suitable for your case.', $plugin['text'] ); ?>
|
24 |
<br><br>
|
25 |
+
<p><?php _e( '<b>A)</b> To automatically display the buttons below a content on every Posts and/or Pages, simply use the appropriate option in the "Autoload" section, then click the "Save changes" button.', $plugin['text'] ); ?></p>
|
26 |
+
<p><?php _e( '<b>B)</b> To add the buttons inside a post from WordPress Post/Page Editor use the following shortcode:', $plugin['text'] ); ?></p>
|
27 |
<p><?php highlight_string('[smbtoolbar]'); ?></p>
|
28 |
+
<p><?php _e( '<b>C)</b> To add the buttons to the widget area (in sidebar, footer etc.) use the "Text" widget and add inside it the following shortcode:', $plugin['text'] ); ?></p>
|
29 |
<p><?php highlight_string('[smbtoolbar]'); ?></p>
|
30 |
+
<p><?php _e( '<b>D)</b> To add the buttons directly to the theme files, just add the following code to needed place (where you want to display the buttons) in your theme files:', $plugin['text'] ); ?></p>
|
31 |
<p><?php highlight_string('<?php echo do_shortcode("[smbtoolbar]"); ?>'); ?></p>
|
32 |
</li>
|
33 |
+
<li><?php _e( 'Enjoy your fancy social media follow buttons.', $plugin['text'] ); ?> <?php _e( 'It\'s that simple!', $plugin['text'] ); ?></li>
|
34 |
</ol>
|
35 |
<p class="note">
|
36 |
<?php
|
37 |
printf(
|
38 |
+
__( 'If you want more options, then %s let us know %s and we will be happy to add them.', $plugin['text'] ),
|
39 |
'<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
|
40 |
'</a>'
|
41 |
);
|
inc/php/versioning.php
CHANGED
@@ -14,15 +14,17 @@ function spacexchimp_p005_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_p005_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_p005_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_p005_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_p005_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/social-media-buttons-toolbar-de_DE.mo
CHANGED
Binary file
|
languages/social-media-buttons-toolbar-de_DE.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\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,19 +20,19 @@ 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 "Social Media Follow Buttons"
|
37 |
msgstr "Social Media Follow Buttons"
|
38 |
|
@@ -61,53 +61,53 @@ msgstr "Link zu Ihrer persönlichen Webseite."
|
|
61 |
msgid "Enter the URL of your RSS feed."
|
62 |
msgstr "Geben Sie den Link zu Ihrem RSS Feed ein."
|
63 |
|
64 |
-
#: inc/php/messages.php:
|
65 |
msgid "Hello!"
|
66 |
msgstr "Hallo!"
|
67 |
|
68 |
-
#: inc/php/messages.php:
|
69 |
msgid "We are the team of Space X-Chimp."
|
70 |
msgstr "Wir sind das Team von Space X-Chimp."
|
71 |
|
72 |
-
#: inc/php/messages.php:
|
73 |
#, php-format
|
74 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
75 |
msgstr "Danke, dass Sie mein Plugin installiert haben. Ich hoffe, sie werden es mögen. %s"
|
76 |
|
77 |
-
#: inc/php/messages.php:
|
78 |
msgid "You have installed an old version of this plugin."
|
79 |
msgstr "Sie haben eine veraltete Version dieses Plugin installiert."
|
80 |
|
81 |
-
#: inc/php/messages.php:
|
82 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
83 |
msgstr "Bitte installieren Sie die aktuelle Version des Plugins und alles wir gut."
|
84 |
|
85 |
-
#: inc/php/messages.php:
|
86 |
msgid "Settings saved successfully."
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: inc/php/page.php:
|
90 |
#, php-format
|
91 |
msgid "by %s Space X-Chimp %s"
|
92 |
msgstr "by %s Space X-Chimp %s"
|
93 |
|
94 |
-
#: inc/php/page.php:
|
95 |
msgid "Version"
|
96 |
msgstr "Version"
|
97 |
|
98 |
-
#: inc/php/page.php:
|
99 |
msgid "Usage"
|
100 |
msgstr "Verwendung"
|
101 |
|
102 |
-
#: inc/php/page.php:
|
103 |
msgid "F.A.Q."
|
104 |
msgstr "F.A.Q."
|
105 |
|
106 |
-
#: inc/php/page.php:
|
107 |
msgid "Support"
|
108 |
msgstr "Unterstützung"
|
109 |
|
110 |
-
#: inc/php/page.php:
|
111 |
msgid "Store"
|
112 |
msgstr "Geschäft"
|
113 |
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
+
"POT-Creation-Date: 2019-03-23 04:32+0300\n"
|
7 |
+
"PO-Revision-Date: 2019-03-23 04:32+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 inc/php/page.php:43
|
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 "Social Media Follow Buttons"
|
37 |
msgstr "Social Media Follow Buttons"
|
38 |
|
61 |
msgid "Enter the URL of your RSS feed."
|
62 |
msgstr "Geben Sie den Link zu Ihrem RSS Feed ein."
|
63 |
|
64 |
+
#: inc/php/messages.php:33 inc/php/tabs/support.php:25
|
65 |
msgid "Hello!"
|
66 |
msgstr "Hallo!"
|
67 |
|
68 |
+
#: inc/php/messages.php:34
|
69 |
msgid "We are the team of Space X-Chimp."
|
70 |
msgstr "Wir sind das Team von Space X-Chimp."
|
71 |
|
72 |
+
#: inc/php/messages.php:39
|
73 |
#, php-format
|
74 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
75 |
msgstr "Danke, dass Sie mein Plugin installiert haben. Ich hoffe, sie werden es mögen. %s"
|
76 |
|
77 |
+
#: inc/php/messages.php:90
|
78 |
msgid "You have installed an old version of this plugin."
|
79 |
msgstr "Sie haben eine veraltete Version dieses Plugin installiert."
|
80 |
|
81 |
+
#: inc/php/messages.php:91
|
82 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
83 |
msgstr "Bitte installieren Sie die aktuelle Version des Plugins und alles wir gut."
|
84 |
|
85 |
+
#: inc/php/messages.php:126
|
86 |
msgid "Settings saved successfully."
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: inc/php/page.php:30
|
90 |
#, php-format
|
91 |
msgid "by %s Space X-Chimp %s"
|
92 |
msgstr "by %s Space X-Chimp %s"
|
93 |
|
94 |
+
#: inc/php/page.php:36
|
95 |
msgid "Version"
|
96 |
msgstr "Version"
|
97 |
|
98 |
+
#: inc/php/page.php:44
|
99 |
msgid "Usage"
|
100 |
msgstr "Verwendung"
|
101 |
|
102 |
+
#: inc/php/page.php:45
|
103 |
msgid "F.A.Q."
|
104 |
msgstr "F.A.Q."
|
105 |
|
106 |
+
#: inc/php/page.php:46 inc/php/sidebar.php:47 inc/php/tabs/settings.php:150
|
107 |
msgid "Support"
|
108 |
msgstr "Unterstützung"
|
109 |
|
110 |
+
#: inc/php/page.php:47
|
111 |
msgid "Store"
|
112 |
msgstr "Geschäft"
|
113 |
|
languages/social-media-buttons-toolbar-es_ES.mo
CHANGED
Binary file
|
languages/social-media-buttons-toolbar-es_ES.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\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,19 +20,19 @@ 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 ""
|
30 |
|
31 |
-
#: inc/php/core.php:
|
32 |
msgid "Donate"
|
33 |
msgstr "Donar"
|
34 |
|
35 |
-
#: inc/php/core.php:
|
36 |
msgid "Social Media Follow Buttons"
|
37 |
msgstr "Social Media Follow Buttons"
|
38 |
|
@@ -61,53 +61,53 @@ msgstr "Ingresa el enlace a tu sitio web personal."
|
|
61 |
msgid "Enter the URL of your RSS feed."
|
62 |
msgstr "Ingresa el enlace a tu Feed de RSS."
|
63 |
|
64 |
-
#: inc/php/messages.php:
|
65 |
msgid "Hello!"
|
66 |
msgstr "¡Hola!"
|
67 |
|
68 |
-
#: inc/php/messages.php:
|
69 |
msgid "We are the team of Space X-Chimp."
|
70 |
msgstr "Somos el equipo de Space X-Chimp."
|
71 |
|
72 |
-
#: inc/php/messages.php:
|
73 |
#, php-format
|
74 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
75 |
msgstr "Gracias por instalar este complemento! Espero que te encante! %s"
|
76 |
|
77 |
-
#: inc/php/messages.php:
|
78 |
msgid "You have installed an old version of this plugin."
|
79 |
msgstr "Has instalado una versión antigua de este complemento."
|
80 |
|
81 |
-
#: inc/php/messages.php:
|
82 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
83 |
msgstr "Actualiza el complemento a la versión más reciente y todo estará bien."
|
84 |
|
85 |
-
#: inc/php/messages.php:
|
86 |
msgid "Settings saved successfully."
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: inc/php/page.php:
|
90 |
#, php-format
|
91 |
msgid "by %s Space X-Chimp %s"
|
92 |
msgstr "por %s Space X-Chimp %s"
|
93 |
|
94 |
-
#: inc/php/page.php:
|
95 |
msgid "Version"
|
96 |
msgstr "Versión"
|
97 |
|
98 |
-
#: inc/php/page.php:
|
99 |
msgid "Usage"
|
100 |
msgstr "Uso"
|
101 |
|
102 |
-
#: inc/php/page.php:
|
103 |
msgid "F.A.Q."
|
104 |
msgstr "Preguntas ?"
|
105 |
|
106 |
-
#: inc/php/page.php:
|
107 |
msgid "Support"
|
108 |
msgstr "Soporte"
|
109 |
|
110 |
-
#: inc/php/page.php:
|
111 |
msgid "Store"
|
112 |
msgstr "Tienda"
|
113 |
|
@@ -613,7 +613,7 @@ msgstr "Abrir en una nueva pestaña"
|
|
613 |
|
614 |
#: inc/php/tabs/settings.php:109
|
615 |
msgid "Open links in a new tab/window."
|
616 |
-
msgstr "
|
617 |
|
618 |
#: inc/php/tabs/settings.php:112
|
619 |
msgid "Additional"
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
+
"POT-Creation-Date: 2019-03-23 04:32+0300\n"
|
7 |
+
"PO-Revision-Date: 2019-03-23 04:33+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 inc/php/page.php:43
|
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 ""
|
30 |
|
31 |
+
#: inc/php/core.php:61
|
32 |
msgid "Donate"
|
33 |
msgstr "Donar"
|
34 |
|
35 |
+
#: inc/php/core.php:90
|
36 |
msgid "Social Media Follow Buttons"
|
37 |
msgstr "Social Media Follow Buttons"
|
38 |
|
61 |
msgid "Enter the URL of your RSS feed."
|
62 |
msgstr "Ingresa el enlace a tu Feed de RSS."
|
63 |
|
64 |
+
#: inc/php/messages.php:33 inc/php/tabs/support.php:25
|
65 |
msgid "Hello!"
|
66 |
msgstr "¡Hola!"
|
67 |
|
68 |
+
#: inc/php/messages.php:34
|
69 |
msgid "We are the team of Space X-Chimp."
|
70 |
msgstr "Somos el equipo de Space X-Chimp."
|
71 |
|
72 |
+
#: inc/php/messages.php:39
|
73 |
#, php-format
|
74 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
75 |
msgstr "Gracias por instalar este complemento! Espero que te encante! %s"
|
76 |
|
77 |
+
#: inc/php/messages.php:90
|
78 |
msgid "You have installed an old version of this plugin."
|
79 |
msgstr "Has instalado una versión antigua de este complemento."
|
80 |
|
81 |
+
#: inc/php/messages.php:91
|
82 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
83 |
msgstr "Actualiza el complemento a la versión más reciente y todo estará bien."
|
84 |
|
85 |
+
#: inc/php/messages.php:126
|
86 |
msgid "Settings saved successfully."
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: inc/php/page.php:30
|
90 |
#, php-format
|
91 |
msgid "by %s Space X-Chimp %s"
|
92 |
msgstr "por %s Space X-Chimp %s"
|
93 |
|
94 |
+
#: inc/php/page.php:36
|
95 |
msgid "Version"
|
96 |
msgstr "Versión"
|
97 |
|
98 |
+
#: inc/php/page.php:44
|
99 |
msgid "Usage"
|
100 |
msgstr "Uso"
|
101 |
|
102 |
+
#: inc/php/page.php:45
|
103 |
msgid "F.A.Q."
|
104 |
msgstr "Preguntas ?"
|
105 |
|
106 |
+
#: inc/php/page.php:46 inc/php/sidebar.php:47 inc/php/tabs/settings.php:150
|
107 |
msgid "Support"
|
108 |
msgstr "Soporte"
|
109 |
|
110 |
+
#: inc/php/page.php:47
|
111 |
msgid "Store"
|
112 |
msgstr "Tienda"
|
113 |
|
613 |
|
614 |
#: inc/php/tabs/settings.php:109
|
615 |
msgid "Open links in a new tab/window."
|
616 |
+
msgstr "Abrir enlaces en una nueva pestaña/ventana."
|
617 |
|
618 |
#: inc/php/tabs/settings.php:112
|
619 |
msgid "Additional"
|
languages/social-media-buttons-toolbar-fr_FR.mo
CHANGED
Binary file
|
languages/social-media-buttons-toolbar-fr_FR.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\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"
|
@@ -19,19 +19,19 @@ msgstr ""
|
|
19 |
"X-Textdomain-Support: yes\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
|
22 |
-
#: inc/php/core.php:
|
23 |
msgid "Settings"
|
24 |
msgstr "Paramètres"
|
25 |
|
26 |
-
#: inc/php/core.php:
|
27 |
msgid "Upgrade to PRO"
|
28 |
msgstr "Passer à PRO"
|
29 |
|
30 |
-
#: inc/php/core.php:
|
31 |
msgid "Donate"
|
32 |
msgstr "Faire un don"
|
33 |
|
34 |
-
#: inc/php/core.php:
|
35 |
msgid "Social Media Follow Buttons"
|
36 |
msgstr ""
|
37 |
|
@@ -60,53 +60,53 @@ msgstr ""
|
|
60 |
msgid "Enter the URL of your RSS feed."
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: inc/php/messages.php:
|
64 |
msgid "Hello!"
|
65 |
msgstr "Salut."
|
66 |
|
67 |
-
#: inc/php/messages.php:
|
68 |
msgid "We are the team of Space X-Chimp."
|
69 |
msgstr "Nous sommes l'équipe de Space X-Chimp."
|
70 |
|
71 |
-
#: inc/php/messages.php:
|
72 |
#, php-format
|
73 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
74 |
msgstr "Merci pour l'installation de notre plugin! Nous espérons que vous allez l'adorer! %s"
|
75 |
|
76 |
-
#: inc/php/messages.php:
|
77 |
msgid "You have installed an old version of this plugin."
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: inc/php/messages.php:
|
81 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: inc/php/messages.php:
|
85 |
msgid "Settings saved successfully."
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: inc/php/page.php:
|
89 |
#, php-format
|
90 |
msgid "by %s Space X-Chimp %s"
|
91 |
msgstr "par %s Space X-Chimp %s"
|
92 |
|
93 |
-
#: inc/php/page.php:
|
94 |
msgid "Version"
|
95 |
msgstr "Version"
|
96 |
|
97 |
-
#: inc/php/page.php:
|
98 |
msgid "Usage"
|
99 |
msgstr "Utilisation"
|
100 |
|
101 |
-
#: inc/php/page.php:
|
102 |
msgid "F.A.Q."
|
103 |
msgstr "FAQ."
|
104 |
|
105 |
-
#: inc/php/page.php:
|
106 |
msgid "Support"
|
107 |
msgstr "Support"
|
108 |
|
109 |
-
#: inc/php/page.php:
|
110 |
msgid "Store"
|
111 |
msgstr "Le magasin"
|
112 |
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
+
"POT-Creation-Date: 2019-03-23 04:33+0300\n"
|
7 |
+
"PO-Revision-Date: 2019-03-23 04:33+0300\n"
|
8 |
"Last-Translator: Arthur Gareginyan\n"
|
9 |
"Language-Team: French\n"
|
10 |
"Language: fr_FR\n"
|
19 |
"X-Textdomain-Support: yes\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
|
22 |
+
#: inc/php/core.php:32 inc/php/page.php:43
|
23 |
msgid "Settings"
|
24 |
msgstr "Paramètres"
|
25 |
|
26 |
+
#: inc/php/core.php:40 inc/php/core.php:65
|
27 |
msgid "Upgrade to PRO"
|
28 |
msgstr "Passer à PRO"
|
29 |
|
30 |
+
#: inc/php/core.php:61
|
31 |
msgid "Donate"
|
32 |
msgstr "Faire un don"
|
33 |
|
34 |
+
#: inc/php/core.php:90
|
35 |
msgid "Social Media Follow Buttons"
|
36 |
msgstr ""
|
37 |
|
60 |
msgid "Enter the URL of your RSS feed."
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: inc/php/messages.php:33 inc/php/tabs/support.php:25
|
64 |
msgid "Hello!"
|
65 |
msgstr "Salut."
|
66 |
|
67 |
+
#: inc/php/messages.php:34
|
68 |
msgid "We are the team of Space X-Chimp."
|
69 |
msgstr "Nous sommes l'équipe de Space X-Chimp."
|
70 |
|
71 |
+
#: inc/php/messages.php:39
|
72 |
#, php-format
|
73 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
74 |
msgstr "Merci pour l'installation de notre plugin! Nous espérons que vous allez l'adorer! %s"
|
75 |
|
76 |
+
#: inc/php/messages.php:90
|
77 |
msgid "You have installed an old version of this plugin."
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: inc/php/messages.php:91
|
81 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: inc/php/messages.php:126
|
85 |
msgid "Settings saved successfully."
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: inc/php/page.php:30
|
89 |
#, php-format
|
90 |
msgid "by %s Space X-Chimp %s"
|
91 |
msgstr "par %s Space X-Chimp %s"
|
92 |
|
93 |
+
#: inc/php/page.php:36
|
94 |
msgid "Version"
|
95 |
msgstr "Version"
|
96 |
|
97 |
+
#: inc/php/page.php:44
|
98 |
msgid "Usage"
|
99 |
msgstr "Utilisation"
|
100 |
|
101 |
+
#: inc/php/page.php:45
|
102 |
msgid "F.A.Q."
|
103 |
msgstr "FAQ."
|
104 |
|
105 |
+
#: inc/php/page.php:46 inc/php/sidebar.php:47 inc/php/tabs/settings.php:150
|
106 |
msgid "Support"
|
107 |
msgstr "Support"
|
108 |
|
109 |
+
#: inc/php/page.php:47
|
110 |
msgid "Store"
|
111 |
msgstr "Le magasin"
|
112 |
|
languages/social-media-buttons-toolbar-nl_NL.mo
CHANGED
Binary file
|
languages/social-media-buttons-toolbar-nl_NL.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\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,19 +20,19 @@ 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 ""
|
30 |
|
31 |
-
#: inc/php/core.php:
|
32 |
msgid "Donate"
|
33 |
msgstr "Doe een gift"
|
34 |
|
35 |
-
#: inc/php/core.php:
|
36 |
msgid "Social Media Follow Buttons"
|
37 |
msgstr "Social Media Follow Buttons"
|
38 |
|
@@ -61,53 +61,53 @@ msgstr ""
|
|
61 |
msgid "Enter the URL of your RSS feed."
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: inc/php/messages.php:
|
65 |
msgid "Hello!"
|
66 |
msgstr "Hallo!"
|
67 |
|
68 |
-
#: inc/php/messages.php:
|
69 |
msgid "We are the team of Space X-Chimp."
|
70 |
msgstr "Wij zijn het team van Space X-Chimp."
|
71 |
|
72 |
-
#: inc/php/messages.php:
|
73 |
#, php-format
|
74 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
75 |
msgstr "Bedankt voor het installeren van onze plug-in! We hopen dat je het geweldig zult vinden! %s"
|
76 |
|
77 |
-
#: inc/php/messages.php:
|
78 |
msgid "You have installed an old version of this plugin."
|
79 |
msgstr "Je hebt een oudere versie van deze plug-in geïnstalleerd."
|
80 |
|
81 |
-
#: inc/php/messages.php:
|
82 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
83 |
msgstr "Update de plug-in naar de nieuwste versie en alles komt goed."
|
84 |
|
85 |
-
#: inc/php/messages.php:
|
86 |
msgid "Settings saved successfully."
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: inc/php/page.php:
|
90 |
#, php-format
|
91 |
msgid "by %s Space X-Chimp %s"
|
92 |
msgstr "door %s Space X-Chimp %s"
|
93 |
|
94 |
-
#: inc/php/page.php:
|
95 |
msgid "Version"
|
96 |
msgstr "Versie"
|
97 |
|
98 |
-
#: inc/php/page.php:
|
99 |
msgid "Usage"
|
100 |
msgstr "Gebruik"
|
101 |
|
102 |
-
#: inc/php/page.php:
|
103 |
msgid "F.A.Q."
|
104 |
msgstr "F.A.Q."
|
105 |
|
106 |
-
#: inc/php/page.php:
|
107 |
msgid "Support"
|
108 |
msgstr "Ondersteuning"
|
109 |
|
110 |
-
#: inc/php/page.php:
|
111 |
msgid "Store"
|
112 |
msgstr "Winkel"
|
113 |
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
+
"POT-Creation-Date: 2019-03-23 04:33+0300\n"
|
7 |
+
"PO-Revision-Date: 2019-03-23 04:33+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 inc/php/page.php:43
|
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 ""
|
30 |
|
31 |
+
#: inc/php/core.php:61
|
32 |
msgid "Donate"
|
33 |
msgstr "Doe een gift"
|
34 |
|
35 |
+
#: inc/php/core.php:90
|
36 |
msgid "Social Media Follow Buttons"
|
37 |
msgstr "Social Media Follow Buttons"
|
38 |
|
61 |
msgid "Enter the URL of your RSS feed."
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: inc/php/messages.php:33 inc/php/tabs/support.php:25
|
65 |
msgid "Hello!"
|
66 |
msgstr "Hallo!"
|
67 |
|
68 |
+
#: inc/php/messages.php:34
|
69 |
msgid "We are the team of Space X-Chimp."
|
70 |
msgstr "Wij zijn het team van Space X-Chimp."
|
71 |
|
72 |
+
#: inc/php/messages.php:39
|
73 |
#, php-format
|
74 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
75 |
msgstr "Bedankt voor het installeren van onze plug-in! We hopen dat je het geweldig zult vinden! %s"
|
76 |
|
77 |
+
#: inc/php/messages.php:90
|
78 |
msgid "You have installed an old version of this plugin."
|
79 |
msgstr "Je hebt een oudere versie van deze plug-in geïnstalleerd."
|
80 |
|
81 |
+
#: inc/php/messages.php:91
|
82 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
83 |
msgstr "Update de plug-in naar de nieuwste versie en alles komt goed."
|
84 |
|
85 |
+
#: inc/php/messages.php:126
|
86 |
msgid "Settings saved successfully."
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: inc/php/page.php:30
|
90 |
#, php-format
|
91 |
msgid "by %s Space X-Chimp %s"
|
92 |
msgstr "door %s Space X-Chimp %s"
|
93 |
|
94 |
+
#: inc/php/page.php:36
|
95 |
msgid "Version"
|
96 |
msgstr "Versie"
|
97 |
|
98 |
+
#: inc/php/page.php:44
|
99 |
msgid "Usage"
|
100 |
msgstr "Gebruik"
|
101 |
|
102 |
+
#: inc/php/page.php:45
|
103 |
msgid "F.A.Q."
|
104 |
msgstr "F.A.Q."
|
105 |
|
106 |
+
#: inc/php/page.php:46 inc/php/sidebar.php:47 inc/php/tabs/settings.php:150
|
107 |
msgid "Support"
|
108 |
msgstr "Ondersteuning"
|
109 |
|
110 |
+
#: inc/php/page.php:47
|
111 |
msgid "Store"
|
112 |
msgstr "Winkel"
|
113 |
|
languages/social-media-buttons-toolbar-ru_RU.mo
CHANGED
Binary file
|
languages/social-media-buttons-toolbar-ru_RU.po
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\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,19 +20,19 @@ 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 ""
|
30 |
|
31 |
-
#: inc/php/core.php:
|
32 |
msgid "Donate"
|
33 |
msgstr "Поддержать"
|
34 |
|
35 |
-
#: inc/php/core.php:
|
36 |
msgid "Social Media Follow Buttons"
|
37 |
msgstr "Социальные Медиа Кнопки Следования"
|
38 |
|
@@ -61,53 +61,53 @@ msgstr "Введите URL вашего персонального веб-сай
|
|
61 |
msgid "Enter the URL of your RSS feed."
|
62 |
msgstr "Введите URL вашего RSS потока."
|
63 |
|
64 |
-
#: inc/php/messages.php:
|
65 |
msgid "Hello!"
|
66 |
msgstr "Привет!"
|
67 |
|
68 |
-
#: inc/php/messages.php:
|
69 |
msgid "We are the team of Space X-Chimp."
|
70 |
msgstr "Мы - команда Space X-Chimp."
|
71 |
|
72 |
-
#: inc/php/messages.php:
|
73 |
#, php-format
|
74 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
75 |
msgstr "Благодарим вас за установку нашего плагина! Надеемся, он вам полюбится! %s"
|
76 |
|
77 |
-
#: inc/php/messages.php:
|
78 |
msgid "You have installed an old version of this plugin."
|
79 |
msgstr "Вы установили устаревшую версию этого плагина."
|
80 |
|
81 |
-
#: inc/php/messages.php:
|
82 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
83 |
msgstr "Пожалуйста, обновите плагин до последней версии и всё будет отлично."
|
84 |
|
85 |
-
#: inc/php/messages.php:
|
86 |
msgid "Settings saved successfully."
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: inc/php/page.php:
|
90 |
#, php-format
|
91 |
msgid "by %s Space X-Chimp %s"
|
92 |
msgstr "от %s Space X-Chimp %s"
|
93 |
|
94 |
-
#: inc/php/page.php:
|
95 |
msgid "Version"
|
96 |
msgstr "Версия"
|
97 |
|
98 |
-
#: inc/php/page.php:
|
99 |
msgid "Usage"
|
100 |
msgstr "Применение"
|
101 |
|
102 |
-
#: inc/php/page.php:
|
103 |
msgid "F.A.Q."
|
104 |
msgstr "F.A.Q."
|
105 |
|
106 |
-
#: inc/php/page.php:
|
107 |
msgid "Support"
|
108 |
msgstr "Поддержка"
|
109 |
|
110 |
-
#: inc/php/page.php:
|
111 |
msgid "Store"
|
112 |
msgstr "Магазин"
|
113 |
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
+
"POT-Creation-Date: 2019-03-23 04:33+0300\n"
|
7 |
+
"PO-Revision-Date: 2019-03-23 04:33+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 inc/php/page.php:43
|
24 |
msgid "Settings"
|
25 |
msgstr "Настройки"
|
26 |
|
27 |
+
#: inc/php/core.php:40 inc/php/core.php:65
|
28 |
msgid "Upgrade to PRO"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: inc/php/core.php:61
|
32 |
msgid "Donate"
|
33 |
msgstr "Поддержать"
|
34 |
|
35 |
+
#: inc/php/core.php:90
|
36 |
msgid "Social Media Follow Buttons"
|
37 |
msgstr "Социальные Медиа Кнопки Следования"
|
38 |
|
61 |
msgid "Enter the URL of your RSS feed."
|
62 |
msgstr "Введите URL вашего RSS потока."
|
63 |
|
64 |
+
#: inc/php/messages.php:33 inc/php/tabs/support.php:25
|
65 |
msgid "Hello!"
|
66 |
msgstr "Привет!"
|
67 |
|
68 |
+
#: inc/php/messages.php:34
|
69 |
msgid "We are the team of Space X-Chimp."
|
70 |
msgstr "Мы - команда Space X-Chimp."
|
71 |
|
72 |
+
#: inc/php/messages.php:39
|
73 |
#, php-format
|
74 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
75 |
msgstr "Благодарим вас за установку нашего плагина! Надеемся, он вам полюбится! %s"
|
76 |
|
77 |
+
#: inc/php/messages.php:90
|
78 |
msgid "You have installed an old version of this plugin."
|
79 |
msgstr "Вы установили устаревшую версию этого плагина."
|
80 |
|
81 |
+
#: inc/php/messages.php:91
|
82 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
83 |
msgstr "Пожалуйста, обновите плагин до последней версии и всё будет отлично."
|
84 |
|
85 |
+
#: inc/php/messages.php:126
|
86 |
msgid "Settings saved successfully."
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: inc/php/page.php:30
|
90 |
#, php-format
|
91 |
msgid "by %s Space X-Chimp %s"
|
92 |
msgstr "от %s Space X-Chimp %s"
|
93 |
|
94 |
+
#: inc/php/page.php:36
|
95 |
msgid "Version"
|
96 |
msgstr "Версия"
|
97 |
|
98 |
+
#: inc/php/page.php:44
|
99 |
msgid "Usage"
|
100 |
msgstr "Применение"
|
101 |
|
102 |
+
#: inc/php/page.php:45
|
103 |
msgid "F.A.Q."
|
104 |
msgstr "F.A.Q."
|
105 |
|
106 |
+
#: inc/php/page.php:46 inc/php/sidebar.php:47 inc/php/tabs/settings.php:150
|
107 |
msgid "Support"
|
108 |
msgstr "Поддержка"
|
109 |
|
110 |
+
#: inc/php/page.php:47
|
111 |
msgid "Store"
|
112 |
msgstr "Магазин"
|
113 |
|
languages/social-media-buttons-toolbar.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
-
"POT-Creation-Date: 2019-03-
|
7 |
"PO-Revision-Date: 2015-12-17 02:16+0300\n"
|
8 |
"Last-Translator: \n"
|
9 |
"Language-Team: \n"
|
@@ -18,19 +18,19 @@ 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 "Social Media Follow Buttons"
|
35 |
msgstr ""
|
36 |
|
@@ -59,53 +59,53 @@ msgstr ""
|
|
59 |
msgid "Enter the URL of your RSS feed."
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: inc/php/messages.php:
|
63 |
msgid "Hello!"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: inc/php/messages.php:
|
67 |
msgid "We are the team of Space X-Chimp."
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: inc/php/messages.php:
|
71 |
#, php-format
|
72 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: inc/php/messages.php:
|
76 |
msgid "You have installed an old version of this plugin."
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: inc/php/messages.php:
|
80 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: inc/php/messages.php:
|
84 |
msgid "Settings saved successfully."
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: inc/php/page.php:
|
88 |
#, php-format
|
89 |
msgid "by %s Space X-Chimp %s"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: inc/php/page.php:
|
93 |
msgid "Version"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: inc/php/page.php:
|
97 |
msgid "Usage"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: inc/php/page.php:
|
101 |
msgid "F.A.Q."
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: inc/php/page.php:
|
105 |
msgid "Support"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: inc/php/page.php:
|
109 |
msgid "Store"
|
110 |
msgstr ""
|
111 |
|
3 |
msgstr ""
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Social Media Follow Buttons Bar\n"
|
6 |
+
"POT-Creation-Date: 2019-03-23 04:34+0300\n"
|
7 |
"PO-Revision-Date: 2015-12-17 02:16+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 inc/php/page.php:43
|
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 "Social Media Follow Buttons"
|
35 |
msgstr ""
|
36 |
|
59 |
msgid "Enter the URL of your RSS feed."
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: inc/php/messages.php:33 inc/php/tabs/support.php:25
|
63 |
msgid "Hello!"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: inc/php/messages.php:34
|
67 |
msgid "We are the team of Space X-Chimp."
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: inc/php/messages.php:39
|
71 |
#, php-format
|
72 |
msgid "Thank you for installing our plugin! We hope you will love it! %s"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: inc/php/messages.php:90
|
76 |
msgid "You have installed an old version of this plugin."
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: inc/php/messages.php:91
|
80 |
msgid "Please update the plugin to the latest version, and all will be fine."
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: inc/php/messages.php:126
|
84 |
msgid "Settings saved successfully."
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: inc/php/page.php:30
|
88 |
#, php-format
|
89 |
msgid "by %s Space X-Chimp %s"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: inc/php/page.php:36
|
93 |
msgid "Version"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: inc/php/page.php:44
|
97 |
msgid "Usage"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: inc/php/page.php:45
|
101 |
msgid "F.A.Q."
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: inc/php/page.php:46 inc/php/sidebar.php:47 inc/php/tabs/settings.php:150
|
105 |
msgid "Support"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: inc/php/page.php:47
|
109 |
msgid "Store"
|
110 |
msgstr ""
|
111 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: icon, icon set, button, social, media, social button, social media, social
|
|
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 |
|
@@ -310,6 +310,14 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
|
|
310 |
|
311 |
== Changelog ==
|
312 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
313 |
= 4.51 - 2019-03-18 =
|
314 |
* Improvement: Notification display system updated
|
315 |
* 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.52
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
310 |
|
311 |
== Changelog ==
|
312 |
|
313 |
+
= 4.52 - 2019-03-24 =
|
314 |
+
* 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".
|
315 |
+
* Framework updated: The functions "_settings_link" and "_upgrade_link" are combined and improved.
|
316 |
+
* Framework updated: The function "_plugin_row_meta" is improved.
|
317 |
+
* Framework updated: Code formatting improved.
|
318 |
+
* Framework updated: Code commenting improved.
|
319 |
+
* Framework updated: All translation files are updated.
|
320 |
+
|
321 |
= 4.51 - 2019-03-18 =
|
322 |
* Improvement: Notification display system updated
|
323 |
* Code commenting improved.
|
social-media-buttons-toolbar.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Easily and safely add a smart bar with social media follow buttons (not share, only link to your profiles) to any place (post content, page content, widget, sidebar, header, footer) of your WordPress website.
|
6 |
* Author: Space X-Chimp
|
7 |
* Author URI: https://www.spacexchimp.com
|
8 |
-
* Version: 4.
|
9 |
* License: GPL3
|
10 |
* Text Domain: social-media-buttons-toolbar
|
11 |
* Domain Path: /languages/
|
@@ -52,7 +52,7 @@ $plugin_data = get_file_data( __FILE__,
|
|
52 |
);
|
53 |
function spacexchimp_p005_define_constants( $constant_name, $value ) {
|
54 |
$constant_name = 'SPACEXCHIMP_P005_' . $constant_name;
|
55 |
-
if ( !defined( $constant_name ) )
|
56 |
define( $constant_name, $value );
|
57 |
}
|
58 |
spacexchimp_p005_define_constants( 'FILE', __FILE__ );
|
@@ -67,15 +67,40 @@ spacexchimp_p005_define_constants( 'TEXT', $plugin_data['text'] );
|
|
67 |
spacexchimp_p005_define_constants( 'PREFIX', 'spacexchimp_p005' );
|
68 |
spacexchimp_p005_define_constants( 'SETTINGS', 'spacexchimp_p005' );
|
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(
|
80 |
-
require_once(
|
81 |
-
require_once(
|
5 |
* Description: Easily and safely add a smart bar with social media follow buttons (not share, only link to your profiles) to any place (post content, page content, widget, sidebar, header, footer) of your WordPress website.
|
6 |
* Author: Space X-Chimp
|
7 |
* Author URI: https://www.spacexchimp.com
|
8 |
+
* Version: 4.52
|
9 |
* License: GPL3
|
10 |
* Text Domain: social-media-buttons-toolbar
|
11 |
* Domain Path: /languages/
|
52 |
);
|
53 |
function spacexchimp_p005_define_constants( $constant_name, $value ) {
|
54 |
$constant_name = 'SPACEXCHIMP_P005_' . $constant_name;
|
55 |
+
if ( ! defined( $constant_name ) )
|
56 |
define( $constant_name, $value );
|
57 |
}
|
58 |
spacexchimp_p005_define_constants( 'FILE', __FILE__ );
|
67 |
spacexchimp_p005_define_constants( 'PREFIX', 'spacexchimp_p005' );
|
68 |
spacexchimp_p005_define_constants( 'SETTINGS', 'spacexchimp_p005' );
|
69 |
|
70 |
+
/**
|
71 |
+
* A useful function that returns an array with the contents of plugin constants
|
72 |
+
*/
|
73 |
+
function spacexchimp_p005_plugin() {
|
74 |
+
$array = array(
|
75 |
+
'file' => SPACEXCHIMP_P005_FILE,
|
76 |
+
'dir' => SPACEXCHIMP_P005_DIR,
|
77 |
+
'base' => SPACEXCHIMP_P005_BASE,
|
78 |
+
'url' => SPACEXCHIMP_P005_URL,
|
79 |
+
'path' => SPACEXCHIMP_P005_PATH,
|
80 |
+
'slug' => SPACEXCHIMP_P005_SLUG,
|
81 |
+
'name' => SPACEXCHIMP_P005_NAME,
|
82 |
+
'version' => SPACEXCHIMP_P005_VERSION,
|
83 |
+
'text' => SPACEXCHIMP_P005_TEXT,
|
84 |
+
'prefix' => SPACEXCHIMP_P005_PREFIX,
|
85 |
+
'settings' => SPACEXCHIMP_P005_SETTINGS
|
86 |
+
);
|
87 |
+
return $array;
|
88 |
+
}
|
89 |
+
|
90 |
+
/**
|
91 |
+
* Put value of plugin constants into an array for easier access
|
92 |
+
*/
|
93 |
+
$plugin = spacexchimp_p005_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/items.php' );
|
103 |
+
require_once( $plugin['path'] . 'inc/php/functional.php' );
|
104 |
+
require_once( $plugin['path'] . 'inc/php/controls.php' );
|
105 |
+
require_once( $plugin['path'] . 'inc/php/page.php' );
|
106 |
+
require_once( $plugin['path'] . 'inc/php/messages.php' );
|