Head and Footer Scripts Inserter - Version 4.47

Version Description

  • Oct 12, 2020 =
  • Fixed: On the plugin settings page, the height of the buttons is too small compared to the width.
  • Enhancement: The plugin settings page has been redesigned. The sidebar added to all tabs for better usability.
Download this release

Release Info

Developer Arthur Gareginyan
Plugin Icon 128x128 Head and Footer Scripts Inserter
Version 4.47
Comparing to
See all releases

Code changes from version 4.46 to 4.47

header-and-footer-scripts-inserter.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Easily and safely add your custom HTML code (plus JavaScript, CSS, etc.) to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.
6
  * Author: Space X-Chimp
7
  * Author URI: https://www.spacexchimp.com
8
- * Version: 4.46
9
  * License: GPL3
10
  * Text Domain: header-and-footer-scripts-inserter
11
  * Domain Path: /languages/
5
  * Description: Easily and safely add your custom HTML code (plus JavaScript, CSS, etc.) to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.
6
  * Author: Space X-Chimp
7
  * Author URI: https://www.spacexchimp.com
8
+ * Version: 4.47
9
  * License: GPL3
10
  * Text Domain: header-and-footer-scripts-inserter
11
  * Domain Path: /languages/
inc/css/admin.css CHANGED
@@ -19,6 +19,9 @@ p {
19
  .postbox a {
20
  text-decoration: none;
21
  }
 
 
 
22
 
23
  /* Title and Description of page
24
  -------------------------------------------------------------- */
19
  .postbox a {
20
  text-decoration: none;
21
  }
22
+ .postbox button.btn {
23
+ height: 34px;
24
+ }
25
 
26
  /* Title and Description of page
27
  -------------------------------------------------------------- */
inc/php/page.php CHANGED
@@ -48,12 +48,11 @@ function spacexchimp_p006_render_submenu_page() {
48
  </ul>
49
  <!-- END-TABS NAVIGATION MENU -->
50
 
 
 
 
51
  <!-- TAB MAIN -->
52
  <div class="tab-page fade active in" id="tab-core">
53
-
54
- <!-- INCLUDE SIDEBAR -->
55
- <?php require_once( $plugin['path'] . 'inc/php/sidebar.php' ); ?>
56
-
57
  <?php require_once( $plugin['path'] . 'inc/php/tabs/settings.php' ); ?>
58
 
59
  <!-- INCLUDE PHP-JS FILE -->
48
  </ul>
49
  <!-- END-TABS NAVIGATION MENU -->
50
 
51
+ <!-- INCLUDE SIDEBAR -->
52
+ <?php require_once( $plugin['path'] . 'inc/php/sidebar.php' ); ?>
53
+
54
  <!-- TAB MAIN -->
55
  <div class="tab-page fade active in" id="tab-core">
 
 
 
 
56
  <?php require_once( $plugin['path'] . 'inc/php/tabs/settings.php' ); ?>
57
 
58
  <!-- INCLUDE PHP-JS FILE -->
inc/php/tabs/faq.php CHANGED
@@ -9,155 +9,159 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
9
  * Render FAQ Tab Content
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">
21
- <?php
22
- $loopvalue = '20';
23
- for ( $i = 1; $i <= $loopvalue; $i++ ) {
24
- echo '<div class="panel panel-default">
25
- <div class="panel-heading">
26
- <a data-toggle="collapse" data-parent="#collapse-group" href="#element' . $i . '">
27
- <h4 class="panel-title"></h4>
28
- </a>
29
- </div>
30
- <div id="element' . $i . '" class="panel-collapse collapse">
31
- <div class="panel-body">
32
- </div>
33
- </div>
34
- </div>';
35
- }
36
- ?>
37
- </div>
38
 
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
- );
51
- ?>
52
- </div>
53
 
54
- <div class="question-<?php echo $i; ?>">
55
- <?php _e( 'Will this plugin work on my wordpress.COM website?', $plugin['text'] ); ?>
56
- </div>
57
- <div class="answer-<?php echo $i; $i++ ?>">
58
- <?php _e( 'Sorry, this plugin is available for use only on self-hosted (wordpress.ORG) websites.', $plugin['text'] ); ?>
59
- <br><br>
60
- <?php _e( 'Please note that there is a difference between wordpress.COM and wordpress.ORG.', $plugin['text'] ); ?>
61
- <?php _e( 'The wordpress.COM is a blog hosting service that offers a limited version of the popular self-hosted WordPress software.', $plugin['text'] ); ?>
62
- <?php
63
- printf(
64
- __( 'You can learn more about the difference here: %s .', $plugin['text'] ),
65
- '<a href="https://en.support.wordpress.com/com-vs-org/" target="_blank">https://en.support.wordpress.com/com-vs-org/</a>'
66
- );
67
- ?>
68
- </div>
69
 
70
- <div class="question-<?php echo $i; ?>">
71
- <?php _e( 'Will this plugin work/compatible with the theme I use?', $plugin['text'] ); ?>
72
- </div>
73
- <div class="answer-<?php echo $i; $i++ ?>">
74
- <?php _e( 'This plugin is compatible with most themes.', $plugin['text'] ); ?>
75
- <?php _e( 'But, unfortunately, we cannot check it with all third-party themes (especially paid ones) for compatibility, therefore there are cases when this plugin does not work with a third-party theme.', $plugin['text'] ); ?>
76
- <?php _e( 'We constantly check this plugin for compatibility with third-party themes.', $plugin['text'] ); ?>
77
- <?php _e( 'If we find that this plugin is incompatible with a third-party theme, and if we can fix it on our part, we release an update of our plugin to fix the problem.', $plugin['text'] ); ?>
78
- <br><br>
79
- <?php _e( 'If you find a conflict between our plugin and a third-party theme, please let us know and we will definitely release an update of our plugin to fix the problem.', $plugin['text'] ); ?>
80
- </div>
 
 
 
 
81
 
82
- <div class="question-<?php echo $i; ?>">
83
- <?php _e( 'Will this plugin work/compatible with other plugins that I use?', $plugin['text'] ); ?>
84
- </div>
85
- <div class="answer-<?php echo $i; $i++ ?>">
86
- <?php _e( 'This plugin is compatible with most plugins.', $plugin['text'] ); ?>
87
- <?php _e( 'But, unfortunately, we cannot check it with all third-party plugins (especially paid ones) for compatibility, therefore there are cases when this plugin does not work with a third-party plugin.', $plugin['text'] ); ?>
88
- <?php _e( 'We constantly check this plugin for compatibility with third-party plugins.', $plugin['text'] ); ?>
89
- <?php _e( 'If we find that this plugin is incompatible with a third-party plugin, and if we can fix it on our part, we release an update of our plugin to fix the problem.', $plugin['text'] ); ?>
90
- <br><br>
91
- <?php _e( 'If you find a conflict between our plugin and a third-party plugin, please let us know and we will definitely release an update of our plugin to fix the problem.', $plugin['text'] ); ?>
92
- </div>
93
 
94
- <div class="question-<?php echo $i; ?>">
95
- <?php _e( 'Can I use this plugin on my language?', $plugin['text'] ); ?>
96
- </div>
97
- <div class="answer-<?php echo $i; $i++ ?>">
98
- <?php _e( 'Yes.', $plugin['text'] ); ?>
99
- <?php _e( 'This plugin is ready for translation and has already been translated into several languages.', $plugin['text'] ); ?>
100
- <?php _e( 'But If your language is not available then you can make one.', $plugin['text'] ); ?>
101
- <?php _e( 'It is also possible that not all existing translations are up-to-date or correct, so you are welcome to make corrections.', $plugin['text'] ); ?>
102
- <?php _e( 'Many of plugin users would be delighted if you share your translation with the community.', $plugin['text'] ); ?>
103
- <?php _e( 'Thanks for your contribution!', $plugin['text'] ); ?>
104
- <br><br>
105
- <?php
106
- printf(
107
- __( 'If you want to help translate this plugin, please visit the %s.', $plugin['text'] ),
108
- '<a href="https://translate.wordpress.org/projects/wp-plugins/' . $plugin['slug'] . '" target="_blank">translation page</a>'
109
- );
110
- ?>
111
- <?php _e( 'You can also use the POT file that is included and placed in the "languages" folder to create a translation PO file.', $plugin['text'] ); ?>
112
- <?php
113
- printf(
114
- __( 'Just send the PO file to us ( %s ) and we will include this translation within the next plugin update.', $plugin['text'] ),
115
- '<a href="mailto:support@spacexchimp.com?subject=New translation of the ' . $plugin['name'] . ' plugin">support@spacexchimp.com</a>'
116
- );
117
- ?>
118
- </div>
119
 
120
- <div class="question-<?php echo $i; ?>">
121
- <?php _e( 'How does it work?', $plugin['text'] ); ?>
122
- </div>
123
- <div class="answer-<?php echo $i; $i++ ?>">
124
- <?php _e( 'On the "Main" tab, place your custom HTML code in the code editor field and click the "Save changes" button.', $plugin['text'] ); ?>
125
- <?php _e( 'Enjoy the result of applying your custom HTML code.', $plugin['text'] ); ?>
126
- <?php _e( 'It\'s that simple!', $plugin['text'] ); ?>
127
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
 
129
- <div class="question-<?php echo $i; ?>">
130
- <?php _e( 'How much of HTML code (characters) I can enter in the code editor?', $plugin['text'] ); ?>
131
- </div>
132
- <div class="answer-<?php echo $i; $i++ ?>">
133
- <?php _e( 'We don\'t limit the number of characters.', $plugin['text'] ); ?>
134
- </div>
 
 
135
 
136
- <div class="question-<?php echo $i; ?>">
137
- <?php _e( 'Does this plugin requires any modification of the theme?', $plugin['text'] ); ?>
138
- </div>
139
- <div class="answer-<?php echo $i; $i++ ?>">
140
- <?php _e( 'Absolutely not.', $plugin['text'] ); ?>
141
- <?php _e( 'This plugin is configurable entirely from the plugin settings page.', $plugin['text'] ); ?>
142
- </div>
143
 
144
- <div class="question-<?php echo $i; ?>">
145
- <?php _e( 'Does this require any knowledge of HTML or CSS?', $plugin['text'] ); ?>
146
- </div>
147
- <div class="answer-<?php echo $i; $i++ ?>">
148
- <?php _e( 'This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page.', $plugin['text'] ); ?>
149
- <?php _e( 'But you need to know the HTML or CSS in order to add/remove/modify the HTML or CSS code by using this plugin.', $plugin['text'] ); ?>
150
- </div>
151
 
152
- <div class="question-<?php echo $i; ?>">
153
- <?php _e( 'Can I add my custom HTML code to a specific page of my website?', $plugin['text'] ); ?>
154
- </div>
155
- <div class="answer-<?php echo $i; $i++ ?>">
156
- <?php _e( 'For now, this plugin does not have an option to apply the custom HTML code only on specific pages.', $plugin['text'] ); ?>
157
- <?php _e( 'We plan to add this feature soon.', $plugin['text'] ); ?>
158
- <?php _e( 'But for now in order to apply your custom HTML code only on specific pages of your website, you need to wrap your custom HTML code in a PHP code that will determine the page you want.', $plugin['text'] ); ?>
159
- <?php _e( 'You need something like this:', $plugin['text'] ); ?>
160
- <br><br>
 
 
 
 
 
 
 
 
161
  <pre><code>function my_custom_html_code() {
162
 
163
  // Stop the function if this is not the Home page of website
@@ -170,169 +174,173 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
170
 
171
  }
172
  add_action( 'wp_head', 'my_custom_html_code' );</code></pre>
173
- <?php
174
- printf(
175
- __( 'To apply the PHP code on a website, we can recommend you to use another our plugin called %s.', $plugin['text'] ),
176
- '<a href="https://wordpress.org/plugins/my-custom-functions/" target="_blank">My Custom Functions</a>'
177
- );
178
- ?>
179
- </div>
180
 
181
- <div class="question-<?php echo $i; ?> question-red">
182
- <?php _e( 'It\'s not working.', $plugin['text'] ); ?>
183
- <?php _e( 'What could be wrong?', $plugin['text'] ); ?>
184
- </div>
185
- <div class="answer-<?php echo $i; $i++ ?>">
186
- <?php _e( 'As with every plugin, it\'s possible that things don\'t work.', $plugin['text'] ); ?>
187
- <?php _e( 'It\'s impossible to tell what could be wrong exactly.', $plugin['text'] ); ?>
188
- <?php _e( 'The most common reason for this is a web browser\'s cache.', $plugin['text'] ); ?>
189
- <?php _e( 'Every web browser stores a cache of the websites you visit (pages, images, and etc.) to reduce bandwidth usage and server load.', $plugin['text'] ); ?>
190
- <?php _e( 'This is called the browser\'s cache.', $plugin['text'] ); ?>
191
- <?php _e( 'Clearing your browser\'s cache may solve the problem.', $plugin['text'] ); ?>
192
- <br><br>
193
- <?php _e( 'If you post a support request in the plugin\'s support forum on WordPress.org, we\'d be happy to give it a look and try to help out.', $plugin['text'] ); ?>
194
- <?php _e( 'Please include as much information as possible, including a link to your website where the problem can be seen.', $plugin['text'] ); ?>
195
- </div>
196
 
197
- <div class="question-<?php echo $i; ?> question-red">
198
- <?php _e( 'My custom HTML code is not working.', $plugin['text'] ); ?>
199
- <?php _e( 'What could be wrong?', $plugin['text'] ); ?>
200
- </div>
201
- <div class="answer-<?php echo $i; $i++ ?>">
202
- <?php _e( 'It happens that your custom HTML code that you insert on the plugin page does not work, even if an error message does not appear.', $plugin['text'] ); ?>
203
- <?php _e( 'Here are a few of the most likely causes of the issue:', $plugin['text'] ); ?>
204
- <ol class="custom-list">
205
- <li><?php _e( 'You have a typo during the insertion of your custom HTML code.', $plugin['text'] ); ?></li>
206
- <li><?php _e( 'Your custom HTML code has a syntax error.', $plugin['text'] ); ?></li>
207
- <li><?php _e( 'Your custom HTML code is incorrect and may not work.', $plugin['text'] ); ?></li>
208
- </ol>
209
- </div>
210
 
211
- <div class="question-<?php echo $i; ?> question-red">
212
- <?php _e( 'The last WordPress update is preventing me from editing my website that is using this plugin.', $plugin['text'] ); ?>
213
- <?php _e( 'Why is this?', $plugin['text'] ); ?>
214
- </div>
215
- <div class="answer-<?php echo $i; $i++ ?>">
216
- <?php _e( 'This plugin can not cause such problem.', $plugin['text'] ); ?>
217
- <?php _e( 'More likely, the problem are related to the settings of the website.', $plugin['text'] ); ?>
218
- <?php _e( 'It could just be a cache, so please try to clear your website\'s cache (may be you using a caching plugin, or some web service such as the CloudFlare) and then the cache of your web browser.', $plugin['text'] ); ?>
219
- <?php _e( 'Also please try to re-login to the website, this too can help.', $plugin['text'] ); ?>
220
- </div>
221
 
222
- <div class="question-<?php echo $i; ?> question-red">
223
- <?php _e( 'Where to report bug if found?', $plugin['text'] ); ?>
224
- </div>
225
- <div class="answer-<?php echo $i; $i++ ?>">
226
- <?php _e( 'Bug reports are very welcome!', $plugin['text'] ); ?>
227
- <?php
228
- printf(
229
- __( 'Please visit our %s contact page %s and report.', $plugin['text'] ),
230
- '<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
231
- '</a>'
232
- );
233
- ?>
234
- <?php _e( 'Please do not forget to specify the name of the plugin.', $plugin['text'] ); ?>
235
- <?php _e( 'Thank you!', $plugin['text'] ); ?>
236
- <br><br>
237
- <?php _e( 'Please include as much information as possible, including a link to your website where the problem can be seen.', $plugin['text'] ); ?>
238
- <?php _e( 'Describe in more detail what exactly you are seeing.', $plugin['text'] ); ?>
239
- <?php _e( 'Here are some examples:', $plugin['text'] ); ?>
240
- <br><br>
241
- <ul class="custom-list">
242
- <li><?php _e( 'Elements of the plugin settings page are not working.', $plugin['text'] ); ?></li>
243
- <li><?php _e( 'An error message is displayed on the plugin settings page.', $plugin['text'] ); ?></li>
244
- <li><?php _e( 'An error message is displayed on the front end of website.', $plugin['text'] ); ?></li>
245
- <li><?php _e( 'An error message is displayed on the back end of website.', $plugin['text'] ); ?></li>
246
- <li><?php _e( 'Custom code is inserted on the plugin settings page, but it is not applied on the website.', $plugin['text'] ); ?></li>
247
- <li><?php _e( 'Website is crashed.', $plugin['text'] ); ?></li>
248
- </ul>
249
- </div>
250
 
251
- <div class="question-<?php echo $i; ?>">
252
- <?php _e( 'Where to share any ideas or suggestions to make the plugin better?', $plugin['text'] ); ?>
253
- </div>
254
- <div class="answer-<?php echo $i; $i++ ?>">
255
- <?php _e( 'Any suggestions are very welcome!', $plugin['text'] ); ?>
256
- <?php
257
- printf(
258
- __( 'Please visit our %s contact page %s.', $plugin['text'] ),
259
- '<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
260
- '</a>'
261
- );
262
- ?>
263
- <?php _e( 'Please do not forget to specify the name of the plugin.', $plugin['text'] ); ?>
264
- <?php _e( 'Thank you!', $plugin['text'] ); ?>
265
- </div>
266
 
267
- <div class="question-<?php echo $i; ?>">
268
- <?php _e( 'I love this plugin!', $plugin['text'] ); ?>
269
- <?php _e( 'Can I help somehow?', $plugin['text'] ); ?>
270
- </div>
271
- <div class="answer-<?php echo $i; $i++ ?>">
272
- <?php _e( 'Yes, any contributions are very welcome!', $plugin['text'] ); ?>
273
- <?php
274
- printf(
275
- __( 'Please visit our %s Support Us %s page.', $plugin['text'] ),
276
- '<a href="https://www.spacexchimp.com/donate.html" target="_blank">',
277
- '</a>'
278
- );
279
- ?>
280
- <?php _e( 'Thank you!', $plugin['text'] ); ?>
281
- </div>
282
 
283
- <div class="question-<?php echo $i; ?>">
284
- <?php _e( 'Where can I find information about your licenses, payment process and refunds?', $plugin['text'] ); ?>
285
- </div>
286
- <div class="answer-<?php echo $i; $i++ ?>">
287
- <?php
288
- printf(
289
- __( 'Answers to common questions about our licenses, payment process and refunds can be found on our %s Common Questions %s page.', $plugin['text'] ),
290
- '<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
291
- '</a>'
292
- );
293
- ?>
294
- </div>
295
 
296
- <div class="question-<?php echo $i; ?>">
297
- <?php _e( 'Where can I find information about your customer support?', $plugin['text'] ); ?>
298
- </div>
299
- <div class="answer-<?php echo $i; $i++ ?>">
300
- <?php
301
- printf(
302
- __( 'Answers to common questions about our customer support can be found on our %s Common Questions %s page.', $plugin['text'] ),
303
- '<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
304
- '</a>'
305
- );
306
- ?>
307
- </div>
308
 
309
- <div class="question-<?php echo $i; ?>">
310
- <?php _e( 'Where can I find information about your affiliate program?', $plugin['text'] ); ?>
311
- </div>
312
- <div class="answer-<?php echo $i; $i++ ?>">
313
- <?php
314
- printf(
315
- __( 'Answers to common questions about our affiliate program can be found on our %s Common Questions %s page.', $plugin['text'] ),
316
- '<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
317
- '</a>'
318
- );
319
- ?>
320
- </div>
321
 
322
- <div class="question-<?php echo $i; ?>">
323
- <?php _e( 'My question wasn\'t answered here.', $plugin['text'] ); ?>
324
- </div>
325
- <div class="answer-<?php echo $i; $i++ ?>">
326
- <?php
327
- printf(
328
- __( 'You can ask your question on %s this page %s.', $plugin['text'] ),
329
- '<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
330
- '</a>'
331
- );
332
- ?>
333
- <?php _e( 'But please keep in mind that this plugin is free, and there is no a special support team, so we have no way to answer everyone.', $plugin['text'] ); ?>
334
- </div>
335
 
 
 
 
 
336
  </div>
337
  </div>
338
  <?php
9
  * Render FAQ Tab Content
10
  */
11
  ?>
12
+ <div class="has-sidebar sm-padded">
13
+ <div id="post-body-content" class="has-sidebar-content">
14
+ <div class="meta-box-sortabless">
15
 
16
+ <div class="postbox">
17
+ <h3 class="title"><?php _e( 'Frequently Asked Questions', $plugin['text'] ); ?></h3>
18
+ <div class="inside">
19
 
20
+ <p class="note">
21
+ <?php _e( 'If you have a question, please read the Frequently Asked Questions below to see if the answer is here.', $plugin['text'] ); ?>
22
+ </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
+ <div class="panel-group" id="collapse-group">
25
+ <?php
26
+ $loopvalue = '20';
27
+ for ( $i = 1; $i <= $loopvalue; $i++ ) {
28
+ echo '<div class="panel panel-default">
29
+ <div class="panel-heading">
30
+ <a data-toggle="collapse" data-parent="#collapse-group" href="#element' . $i . '">
31
+ <h4 class="panel-title"></h4>
32
+ </a>
33
+ </div>
34
+ <div id="element' . $i . '" class="panel-collapse collapse">
35
+ <div class="panel-body">
36
+ </div>
37
+ </div>
38
+ </div>';
39
+ }
40
+ ?>
41
+ </div>
42
 
43
+ <?php $i = 1; ?>
 
 
 
 
 
 
 
 
 
 
 
44
 
45
+ <div class="question-<?php echo $i; ?>">
46
+ <?php _e( 'Where can I find a documentation for this plugin?', $plugin['text'] ); ?>
47
+ </div>
48
+ <div class="answer-<?php echo $i; $i++ ?>">
49
+ <?php
50
+ printf(
51
+ __( 'Please visit our %s Documentation site %s to view documentation.', $plugin['text'] ),
52
+ '<a href="https://docs.spacexchimp.com" target="_blank">',
53
+ '</a>'
54
+ );
55
+ ?>
56
+ </div>
 
 
 
57
 
58
+ <div class="question-<?php echo $i; ?>">
59
+ <?php _e( 'Will this plugin work on my wordpress.COM website?', $plugin['text'] ); ?>
60
+ </div>
61
+ <div class="answer-<?php echo $i; $i++ ?>">
62
+ <?php _e( 'Sorry, this plugin is available for use only on self-hosted (wordpress.ORG) websites.', $plugin['text'] ); ?>
63
+ <br><br>
64
+ <?php _e( 'Please note that there is a difference between wordpress.COM and wordpress.ORG.', $plugin['text'] ); ?>
65
+ <?php _e( 'The wordpress.COM is a blog hosting service that offers a limited version of the popular self-hosted WordPress software.', $plugin['text'] ); ?>
66
+ <?php
67
+ printf(
68
+ __( 'You can learn more about the difference here: %s .', $plugin['text'] ),
69
+ '<a href="https://en.support.wordpress.com/com-vs-org/" target="_blank">https://en.support.wordpress.com/com-vs-org/</a>'
70
+ );
71
+ ?>
72
+ </div>
73
 
74
+ <div class="question-<?php echo $i; ?>">
75
+ <?php _e( 'Will this plugin work/compatible with the theme I use?', $plugin['text'] ); ?>
76
+ </div>
77
+ <div class="answer-<?php echo $i; $i++ ?>">
78
+ <?php _e( 'This plugin is compatible with most themes.', $plugin['text'] ); ?>
79
+ <?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'] ); ?>
80
+ <?php _e( 'We constantly check this plugin for compatibility with third-party themes.', $plugin['text'] ); ?>
81
+ <?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'] ); ?>
82
+ <br><br>
83
+ <?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'] ); ?>
84
+ </div>
85
 
86
+ <div class="question-<?php echo $i; ?>">
87
+ <?php _e( 'Will this plugin work/compatible with other plugins that I use?', $plugin['text'] ); ?>
88
+ </div>
89
+ <div class="answer-<?php echo $i; $i++ ?>">
90
+ <?php _e( 'This plugin is compatible with most plugins.', $plugin['text'] ); ?>
91
+ <?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'] ); ?>
92
+ <?php _e( 'We constantly check this plugin for compatibility with third-party plugins.', $plugin['text'] ); ?>
93
+ <?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'] ); ?>
94
+ <br><br>
95
+ <?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'] ); ?>
96
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
 
98
+ <div class="question-<?php echo $i; ?>">
99
+ <?php _e( 'Can I use this plugin on my language?', $plugin['text'] ); ?>
100
+ </div>
101
+ <div class="answer-<?php echo $i; $i++ ?>">
102
+ <?php _e( 'Yes.', $plugin['text'] ); ?>
103
+ <?php _e( 'This plugin is ready for translation and has already been translated into several languages.', $plugin['text'] ); ?>
104
+ <?php _e( 'But If your language is not available then you can make one.', $plugin['text'] ); ?>
105
+ <?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'] ); ?>
106
+ <?php _e( 'Many of plugin users would be delighted if you share your translation with the community.', $plugin['text'] ); ?>
107
+ <?php _e( 'Thanks for your contribution!', $plugin['text'] ); ?>
108
+ <br><br>
109
+ <?php
110
+ printf(
111
+ __( 'If you want to help translate this plugin, please visit the %s.', $plugin['text'] ),
112
+ '<a href="https://translate.wordpress.org/projects/wp-plugins/' . $plugin['slug'] . '" target="_blank">translation page</a>'
113
+ );
114
+ ?>
115
+ <?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'] ); ?>
116
+ <?php
117
+ printf(
118
+ __( 'Just send the PO file to us ( %s ) and we will include this translation within the next plugin update.', $plugin['text'] ),
119
+ '<a href="mailto:support@spacexchimp.com?subject=New translation of the ' . $plugin['name'] . ' plugin">support@spacexchimp.com</a>'
120
+ );
121
+ ?>
122
+ </div>
123
 
124
+ <div class="question-<?php echo $i; ?>">
125
+ <?php _e( 'How does it work?', $plugin['text'] ); ?>
126
+ </div>
127
+ <div class="answer-<?php echo $i; $i++ ?>">
128
+ <?php _e( 'On the "Main" tab, place your custom HTML code in the code editor field and click the "Save changes" button.', $plugin['text'] ); ?>
129
+ <?php _e( 'Enjoy the result of applying your custom HTML code.', $plugin['text'] ); ?>
130
+ <?php _e( 'It\'s that simple!', $plugin['text'] ); ?>
131
+ </div>
132
 
133
+ <div class="question-<?php echo $i; ?>">
134
+ <?php _e( 'How much of HTML code (characters) I can enter in the code editor?', $plugin['text'] ); ?>
135
+ </div>
136
+ <div class="answer-<?php echo $i; $i++ ?>">
137
+ <?php _e( 'We don\'t limit the number of characters.', $plugin['text'] ); ?>
138
+ </div>
 
139
 
140
+ <div class="question-<?php echo $i; ?>">
141
+ <?php _e( 'Does this plugin requires any modification of the theme?', $plugin['text'] ); ?>
142
+ </div>
143
+ <div class="answer-<?php echo $i; $i++ ?>">
144
+ <?php _e( 'Absolutely not.', $plugin['text'] ); ?>
145
+ <?php _e( 'This plugin is configurable entirely from the plugin settings page.', $plugin['text'] ); ?>
146
+ </div>
147
 
148
+ <div class="question-<?php echo $i; ?>">
149
+ <?php _e( 'Does this require any knowledge of HTML or CSS?', $plugin['text'] ); ?>
150
+ </div>
151
+ <div class="answer-<?php echo $i; $i++ ?>">
152
+ <?php _e( 'This plugin can be configured with no knowledge of HTML or CSS, using an easy-to-use plugin settings page.', $plugin['text'] ); ?>
153
+ <?php _e( 'But you need to know the HTML or CSS in order to add/remove/modify the HTML or CSS code by using this plugin.', $plugin['text'] ); ?>
154
+ </div>
155
+
156
+ <div class="question-<?php echo $i; ?>">
157
+ <?php _e( 'Can I add my custom HTML code to a specific page of my website?', $plugin['text'] ); ?>
158
+ </div>
159
+ <div class="answer-<?php echo $i; $i++ ?>">
160
+ <?php _e( 'For now, this plugin does not have an option to apply the custom HTML code only on specific pages.', $plugin['text'] ); ?>
161
+ <?php _e( 'We plan to add this feature soon.', $plugin['text'] ); ?>
162
+ <?php _e( 'But for now in order to apply your custom HTML code only on specific pages of your website, you need to wrap your custom HTML code in a PHP code that will determine the page you want.', $plugin['text'] ); ?>
163
+ <?php _e( 'You need something like this:', $plugin['text'] ); ?>
164
+ <br><br>
165
  <pre><code>function my_custom_html_code() {
166
 
167
  // Stop the function if this is not the Home page of website
174
 
175
  }
176
  add_action( 'wp_head', 'my_custom_html_code' );</code></pre>
177
+ <?php
178
+ printf(
179
+ __( 'To apply the PHP code on a website, we can recommend you to use another our plugin called %s.', $plugin['text'] ),
180
+ '<a href="https://wordpress.org/plugins/my-custom-functions/" target="_blank">My Custom Functions</a>'
181
+ );
182
+ ?>
183
+ </div>
184
 
185
+ <div class="question-<?php echo $i; ?> question-red">
186
+ <?php _e( 'It\'s not working.', $plugin['text'] ); ?>
187
+ <?php _e( 'What could be wrong?', $plugin['text'] ); ?>
188
+ </div>
189
+ <div class="answer-<?php echo $i; $i++ ?>">
190
+ <?php _e( 'As with every plugin, it\'s possible that things don\'t work.', $plugin['text'] ); ?>
191
+ <?php _e( 'It\'s impossible to tell what could be wrong exactly.', $plugin['text'] ); ?>
192
+ <?php _e( 'The most common reason for this is a web browser\'s cache.', $plugin['text'] ); ?>
193
+ <?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'] ); ?>
194
+ <?php _e( 'This is called the browser\'s cache.', $plugin['text'] ); ?>
195
+ <?php _e( 'Clearing your browser\'s cache may solve the problem.', $plugin['text'] ); ?>
196
+ <br><br>
197
+ <?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'] ); ?>
198
+ <?php _e( 'Please include as much information as possible, including a link to your website where the problem can be seen.', $plugin['text'] ); ?>
199
+ </div>
200
 
201
+ <div class="question-<?php echo $i; ?> question-red">
202
+ <?php _e( 'My custom HTML code is not working.', $plugin['text'] ); ?>
203
+ <?php _e( 'What could be wrong?', $plugin['text'] ); ?>
204
+ </div>
205
+ <div class="answer-<?php echo $i; $i++ ?>">
206
+ <?php _e( 'It happens that your custom HTML code that you insert on the plugin page does not work, even if an error message does not appear.', $plugin['text'] ); ?>
207
+ <?php _e( 'Here are a few of the most likely causes of the issue:', $plugin['text'] ); ?>
208
+ <ol class="custom-list">
209
+ <li><?php _e( 'You have a typo during the insertion of your custom HTML code.', $plugin['text'] ); ?></li>
210
+ <li><?php _e( 'Your custom HTML code has a syntax error.', $plugin['text'] ); ?></li>
211
+ <li><?php _e( 'Your custom HTML code is incorrect and may not work.', $plugin['text'] ); ?></li>
212
+ </ol>
213
+ </div>
214
 
215
+ <div class="question-<?php echo $i; ?> question-red">
216
+ <?php _e( 'The last WordPress update is preventing me from editing my website that is using this plugin.', $plugin['text'] ); ?>
217
+ <?php _e( 'Why is this?', $plugin['text'] ); ?>
218
+ </div>
219
+ <div class="answer-<?php echo $i; $i++ ?>">
220
+ <?php _e( 'This plugin can not cause such problem.', $plugin['text'] ); ?>
221
+ <?php _e( 'More likely, the problem are related to the settings of the website.', $plugin['text'] ); ?>
222
+ <?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'] ); ?>
223
+ <?php _e( 'Also please try to re-login to the website, this too can help.', $plugin['text'] ); ?>
224
+ </div>
225
 
226
+ <div class="question-<?php echo $i; ?> question-red">
227
+ <?php _e( 'Where to report bug if found?', $plugin['text'] ); ?>
228
+ </div>
229
+ <div class="answer-<?php echo $i; $i++ ?>">
230
+ <?php _e( 'Bug reports are very welcome!', $plugin['text'] ); ?>
231
+ <?php
232
+ printf(
233
+ __( 'Please visit our %s contact page %s and report.', $plugin['text'] ),
234
+ '<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
235
+ '</a>'
236
+ );
237
+ ?>
238
+ <?php _e( 'Please do not forget to specify the name of the plugin.', $plugin['text'] ); ?>
239
+ <?php _e( 'Thank you!', $plugin['text'] ); ?>
240
+ <br><br>
241
+ <?php _e( 'Please include as much information as possible, including a link to your website where the problem can be seen.', $plugin['text'] ); ?>
242
+ <?php _e( 'Describe in more detail what exactly you are seeing.', $plugin['text'] ); ?>
243
+ <?php _e( 'Here are some examples:', $plugin['text'] ); ?>
244
+ <br><br>
245
+ <ul class="custom-list">
246
+ <li><?php _e( 'Elements of the plugin settings page are not working.', $plugin['text'] ); ?></li>
247
+ <li><?php _e( 'An error message is displayed on the plugin settings page.', $plugin['text'] ); ?></li>
248
+ <li><?php _e( 'An error message is displayed on the front end of website.', $plugin['text'] ); ?></li>
249
+ <li><?php _e( 'An error message is displayed on the back end of website.', $plugin['text'] ); ?></li>
250
+ <li><?php _e( 'Custom code is inserted on the plugin settings page, but it is not applied on the website.', $plugin['text'] ); ?></li>
251
+ <li><?php _e( 'Website is crashed.', $plugin['text'] ); ?></li>
252
+ </ul>
253
+ </div>
254
 
255
+ <div class="question-<?php echo $i; ?>">
256
+ <?php _e( 'Where to share any ideas or suggestions to make the plugin better?', $plugin['text'] ); ?>
257
+ </div>
258
+ <div class="answer-<?php echo $i; $i++ ?>">
259
+ <?php _e( 'Any suggestions are very welcome!', $plugin['text'] ); ?>
260
+ <?php
261
+ printf(
262
+ __( 'Please visit our %s contact page %s.', $plugin['text'] ),
263
+ '<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
264
+ '</a>'
265
+ );
266
+ ?>
267
+ <?php _e( 'Please do not forget to specify the name of the plugin.', $plugin['text'] ); ?>
268
+ <?php _e( 'Thank you!', $plugin['text'] ); ?>
269
+ </div>
270
 
271
+ <div class="question-<?php echo $i; ?>">
272
+ <?php _e( 'I love this plugin!', $plugin['text'] ); ?>
273
+ <?php _e( 'Can I help somehow?', $plugin['text'] ); ?>
274
+ </div>
275
+ <div class="answer-<?php echo $i; $i++ ?>">
276
+ <?php _e( 'Yes, any contributions are very welcome!', $plugin['text'] ); ?>
277
+ <?php
278
+ printf(
279
+ __( 'Please visit our %s Support Us %s page.', $plugin['text'] ),
280
+ '<a href="https://www.spacexchimp.com/donate.html" target="_blank">',
281
+ '</a>'
282
+ );
283
+ ?>
284
+ <?php _e( 'Thank you!', $plugin['text'] ); ?>
285
+ </div>
286
 
287
+ <div class="question-<?php echo $i; ?>">
288
+ <?php _e( 'Where can I find information about your licenses, payment process and refunds?', $plugin['text'] ); ?>
289
+ </div>
290
+ <div class="answer-<?php echo $i; $i++ ?>">
291
+ <?php
292
+ printf(
293
+ __( 'Answers to common questions about our licenses, payment process and refunds can be found on our %s Common Questions %s page.', $plugin['text'] ),
294
+ '<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
295
+ '</a>'
296
+ );
297
+ ?>
298
+ </div>
299
 
300
+ <div class="question-<?php echo $i; ?>">
301
+ <?php _e( 'Where can I find information about your customer support?', $plugin['text'] ); ?>
302
+ </div>
303
+ <div class="answer-<?php echo $i; $i++ ?>">
304
+ <?php
305
+ printf(
306
+ __( 'Answers to common questions about our customer support can be found on our %s Common Questions %s page.', $plugin['text'] ),
307
+ '<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
308
+ '</a>'
309
+ );
310
+ ?>
311
+ </div>
312
 
313
+ <div class="question-<?php echo $i; ?>">
314
+ <?php _e( 'Where can I find information about your affiliate program?', $plugin['text'] ); ?>
315
+ </div>
316
+ <div class="answer-<?php echo $i; $i++ ?>">
317
+ <?php
318
+ printf(
319
+ __( 'Answers to common questions about our affiliate program can be found on our %s Common Questions %s page.', $plugin['text'] ),
320
+ '<a href="https://www.spacexchimp.com/faq.html" target="_blank">',
321
+ '</a>'
322
+ );
323
+ ?>
324
+ </div>
325
 
326
+ <div class="question-<?php echo $i; ?>">
327
+ <?php _e( 'My question wasn\'t answered here.', $plugin['text'] ); ?>
328
+ </div>
329
+ <div class="answer-<?php echo $i; $i++ ?>">
330
+ <?php
331
+ printf(
332
+ __( 'You can ask your question on %s this page %s.', $plugin['text'] ),
333
+ '<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
334
+ '</a>'
335
+ );
336
+ ?>
337
+ <?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'] ); ?>
338
+ </div>
339
 
340
+ </div>
341
+ </div>
342
+
343
+ </div>
344
  </div>
345
  </div>
346
  <?php
inc/php/tabs/support.php CHANGED
@@ -9,45 +9,53 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
9
  * Render Support Us Tab Content
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">',
32
- '</a>'
33
- );
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>
53
  <?php
9
  * Render Support Us Tab Content
10
  */
11
  ?>
12
+ <div class="has-sidebar sm-padded">
13
+ <div id="post-body-content" class="has-sidebar-content">
14
+ <div class="meta-box-sortabless">
15
+
16
+ <div class="postbox">
17
+ <h3 class="title"><?php _e( 'Support Us', $plugin['text'] ); ?></h3>
18
+ <div class="inside">
19
+ <span class="image-with-button pull-left">
20
+ <img src="<?php echo $plugin['url'] . 'inc/img/thanks.png'; ?>" alt="Thanks!">
21
+ <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS" target="_blank" class="btn btn-default button-labeled">
22
+ <span class="btn-label">
23
+ <img src="<?php echo $plugin['url'] . 'inc/img/paypal.svg'; ?>" alt="PayPal">
24
+ </span>
25
+ <?php _e( 'Donate with PayPal', $plugin['text'] ); ?>
26
+ </a>
27
+ </span>
28
+ <p>
29
+ <?php _e( 'Hello!', $plugin['text'] ); ?>
30
+ <?php
31
+ printf(
32
+ __( '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'] ),
33
+ '<a href="https://www.instagram.com/arthur_gareginyan/" target="_blank">',
34
+ '</a>',
35
+ '<a href="https://www.spacexchimp.com" target="_blank">',
36
+ '</a>'
37
+ );
38
+ ?>
39
+ </p>
40
+ <p>
41
+ <?php _e( 'Our intention is to create projects that will make this world a better place.', $plugin['text'] ); ?>
42
+ <?php _e( 'Our motto is - «Follow your dreams and don’t give up».', $plugin['text'] ); ?>
43
+ <?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'] ); ?>
44
+ </p>
45
+ <p>
46
+ <?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'] ); ?>
47
+ <?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'] ); ?>
48
+ </p>
49
+ <p>
50
+ <?php _e( 'If you appreciate our work, you can buy us a cup of coffee!', $plugin['text'] ); ?>
51
+ </p>
52
+ <p>
53
+ <?php _e( 'Thank you for your support!', $plugin['text'] ); ?>
54
+ </p>
55
+ </div>
56
+ </div>
57
+
58
+ </div>
59
  </div>
60
  </div>
61
  <?php
inc/php/tabs/usage.php CHANGED
@@ -9,33 +9,41 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
9
  * Render Usage Tab Content
10
  */
11
  ?>
12
- <div class="postbox">
13
- <h3 class="title"><?php _e( 'Usage Instructions', $plugin['text'] ); ?></h3>
14
- <div class="inside">
15
- <p><?php _e( 'To add your custom HTML code (plus JavaScript, CSS, etc.) to your website, simply follow these steps:', $plugin['text'] ); ?></p>
16
- <ol class="custom-counter">
17
- <li><?php _e( 'Go to the "Main" tab on this page.', $plugin['text'] ); ?></li>
18
- <li>
19
- <?php _e( 'Place your custom HTML code in the code editor field.', $plugin['text'] ); ?>
20
- <br><br>
21
- <p class="note">
22
- <b><?php _e( 'Note!', $plugin['text'] ); ?></b>
23
- <?php _e( 'The JavaScript and CSS code must be wrapped in HTML tags.', $plugin['text'] ); ?>
24
- <?php _e( 'For JavaScript code use the <code>&lt;script&gt;</code> tag, and for CSS code use the <code>&lt;style&gt;</code> tag.', $plugin['text'] ); ?>
25
- </p>
26
- </li>
27
- <li><?php _e( 'Click the "Save changes" button.', $plugin['text'] ); ?></li>
28
- <li><?php _e( 'Enjoy the result of applying your custom HTML code.', $plugin['text'] ); ?> <?php _e( 'It\'s that simple!', $plugin['text'] ); ?></li>
29
- </ol>
30
- <p class="note">
31
- <?php
32
- printf(
33
- __( 'If you want more options, then %s let us know %s and we will be happy to add them.', $plugin['text'] ),
34
- '<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
35
- '</a>'
36
- );
37
- ?>
38
- </p>
 
 
 
 
 
 
 
 
39
  </div>
40
  </div>
41
  <?php
9
  * Render Usage Tab Content
10
  */
11
  ?>
12
+ <div class="has-sidebar sm-padded">
13
+ <div id="post-body-content" class="has-sidebar-content">
14
+ <div class="meta-box-sortabless">
15
+
16
+ <div class="postbox">
17
+ <h3 class="title"><?php _e( 'Usage Instructions', $plugin['text'] ); ?></h3>
18
+ <div class="inside">
19
+ <p><?php _e( 'To add your custom HTML code (plus JavaScript, CSS, etc.) to your website, simply follow these steps:', $plugin['text'] ); ?></p>
20
+ <ol class="custom-counter">
21
+ <li><?php _e( 'Go to the "Main" tab on this page.', $plugin['text'] ); ?></li>
22
+ <li>
23
+ <?php _e( 'Place your custom HTML code in the code editor field.', $plugin['text'] ); ?>
24
+ <br><br>
25
+ <p class="note">
26
+ <b><?php _e( 'Note!', $plugin['text'] ); ?></b>
27
+ <?php _e( 'The JavaScript and CSS code must be wrapped in HTML tags.', $plugin['text'] ); ?>
28
+ <?php _e( 'For JavaScript code use the <code>&lt;script&gt;</code> tag, and for CSS code use the <code>&lt;style&gt;</code> tag.', $plugin['text'] ); ?>
29
+ </p>
30
+ </li>
31
+ <li><?php _e( 'Click the "Save changes" button.', $plugin['text'] ); ?></li>
32
+ <li><?php _e( 'Enjoy the result of applying your custom HTML code.', $plugin['text'] ); ?> <?php _e( 'It\'s that simple!', $plugin['text'] ); ?></li>
33
+ </ol>
34
+ <p class="note">
35
+ <?php
36
+ printf(
37
+ __( 'If you want more options, then %s let us know %s and we will be happy to add them.', $plugin['text'] ),
38
+ '<a href="https://www.spacexchimp.com/contact.html" target="_blank">',
39
+ '</a>'
40
+ );
41
+ ?>
42
+ </p>
43
+ </div>
44
+ </div>
45
+
46
+ </div>
47
  </div>
48
  </div>
49
  <?php
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://www.spacexchimp.com/donate.html
5
  Requires at least: 4.9
6
  Tested up to: 5.5
7
  Requires PHP: 5.6
8
- Stable tag: 4.46
9
  License: GPL3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -224,9 +224,13 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
224
 
225
  == Changelog ==
226
 
 
 
 
 
227
  = 4.46 - Oct 3, 2020 =
228
- * New feature: Restoring screen position after saving changes. No more annoying return to the top of the page after clicking the "Save" button.
229
- * Maintenance: Loading of dynamic content on the settings page has been updated to more versatile.
230
 
231
  = 4.45 - Aug 10, 2020 =
232
  * Maintenance: Ensure compatibility with upcoming WordPress 5.5.
5
  Requires at least: 4.9
6
  Tested up to: 5.5
7
  Requires PHP: 5.6
8
+ Stable tag: 4.47
9
  License: GPL3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
224
 
225
  == Changelog ==
226
 
227
+ = 4.47 - Oct 12, 2020 =
228
+ * Fixed: On the plugin settings page, the height of the buttons is too small compared to the width.
229
+ * Enhancement: The plugin settings page has been redesigned. The sidebar added to all tabs for better usability.
230
+
231
  = 4.46 - Oct 3, 2020 =
232
+ * New feature: Restoring screen position after saving changes. No more annoying return to the top of the page after clicking the "Save" button on the plugin settings page.
233
+ * Maintenance: Loading of dynamic content on the plugin settings page has been updated to more versatile.
234
 
235
  = 4.45 - Aug 10, 2020 =
236
  * Maintenance: Ensure compatibility with upcoming WordPress 5.5.