Version Description
- Improvement: Design of the plugin settings page is improved.
Download this release
Release Info
Developer | Arthur Gareginyan |
Plugin | My Custom Functions |
Version | 4.31 |
Comparing to | |
See all releases |
Code changes from version 4.30 to 4.31
- inc/css/admin.css +17 -19
- inc/php/page.php +1 -1
- my-custom-functions.php +1 -1
- readme.txt +5 -2
inc/css/admin.css
CHANGED
@@ -22,7 +22,7 @@ p {
|
|
22 |
|
23 |
/* Title and Description of page
|
24 |
-------------------------------------------------------------- */
|
25 |
-
|
26 |
padding: 30px !important;
|
27 |
background-color: #333;
|
28 |
color: #e0dfdc;
|
@@ -46,7 +46,7 @@ h2 {
|
|
46 |
line-height: 50px !important;
|
47 |
overflow: hidden;
|
48 |
}
|
49 |
-
|
50 |
content: '\A';
|
51 |
display: block;
|
52 |
margin-top: 15px;
|
@@ -55,11 +55,11 @@ h2 span {
|
|
55 |
text-shadow: none;
|
56 |
line-height: 20px;
|
57 |
}
|
58 |
-
|
59 |
-
|
60 |
color: #fff;
|
61 |
}
|
62 |
-
|
63 |
text-shadow: none;
|
64 |
text-decoration: none;
|
65 |
-webkit-transition: all 0.2s ease-in-out;
|
@@ -67,7 +67,7 @@ h2 span a:hover {
|
|
67 |
-o-transition: all 0.2s ease-in-out;
|
68 |
transition: all 0.2s ease-in-out;
|
69 |
}
|
70 |
-
|
71 |
position: absolute;
|
72 |
right: 40px;
|
73 |
color: #a6a6a6;
|
@@ -485,6 +485,8 @@ h2 .version {
|
|
485 |
.form-table {
|
486 |
clear: none;
|
487 |
margin-left: 20px;
|
|
|
|
|
488 |
font-family: Verdana, Geneva, sans-serif;
|
489 |
font-size: 13px;
|
490 |
}
|
@@ -502,7 +504,6 @@ h2 .version {
|
|
502 |
/* Help text
|
503 |
-------------------------------------------------------------- */
|
504 |
td.help-text {
|
505 |
-
width: 90%;
|
506 |
font-family: Verdana, Geneva, sans-serif;
|
507 |
font-size: 12px;
|
508 |
font-style: italic;
|
@@ -519,7 +520,7 @@ td.help-text {
|
|
519 |
.control-textarea {
|
520 |
position: relative;
|
521 |
max-width: 600px;
|
522 |
-
width:
|
523 |
padding-top: 5px;
|
524 |
background: #fcfcfc;
|
525 |
-webkit-border-radius: 3px;
|
@@ -545,15 +546,6 @@ td.help-text {
|
|
545 |
/* SPECIFIC TO THIS PLUGIN
|
546 |
-------------------------------------------------------------- */
|
547 |
|
548 |
-
.title {
|
549 |
-
height: 50px;
|
550 |
-
}
|
551 |
-
@media (max-width: 782px) {
|
552 |
-
.title {
|
553 |
-
height: 58px;
|
554 |
-
}
|
555 |
-
}
|
556 |
-
|
557 |
/* CodeMirror Editor */
|
558 |
.CodeMirror {
|
559 |
height: 100% !important;
|
@@ -595,8 +587,14 @@ td.help-text {
|
|
595 |
}
|
596 |
|
597 |
/* Titles */
|
598 |
-
.meta-box-sortabless .title
|
599 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
600 |
}
|
601 |
|
602 |
/* Switch */
|
22 |
|
23 |
/* Title and Description of page
|
24 |
-------------------------------------------------------------- */
|
25 |
+
.sxc-header {
|
26 |
padding: 30px !important;
|
27 |
background-color: #333;
|
28 |
color: #e0dfdc;
|
46 |
line-height: 50px !important;
|
47 |
overflow: hidden;
|
48 |
}
|
49 |
+
.sxc-header span {
|
50 |
content: '\A';
|
51 |
display: block;
|
52 |
margin-top: 15px;
|
55 |
text-shadow: none;
|
56 |
line-height: 20px;
|
57 |
}
|
58 |
+
.sxc-header span a,
|
59 |
+
.sxc-header span a:hover {
|
60 |
color: #fff;
|
61 |
}
|
62 |
+
.sxc-header span a:hover {
|
63 |
text-shadow: none;
|
64 |
text-decoration: none;
|
65 |
-webkit-transition: all 0.2s ease-in-out;
|
67 |
-o-transition: all 0.2s ease-in-out;
|
68 |
transition: all 0.2s ease-in-out;
|
69 |
}
|
70 |
+
.sxc-header .version {
|
71 |
position: absolute;
|
72 |
right: 40px;
|
73 |
color: #a6a6a6;
|
485 |
.form-table {
|
486 |
clear: none;
|
487 |
margin-left: 20px;
|
488 |
+
width: -webkit-calc(100% - 40px);
|
489 |
+
width: calc(100% - 40px);
|
490 |
font-family: Verdana, Geneva, sans-serif;
|
491 |
font-size: 13px;
|
492 |
}
|
504 |
/* Help text
|
505 |
-------------------------------------------------------------- */
|
506 |
td.help-text {
|
|
|
507 |
font-family: Verdana, Geneva, sans-serif;
|
508 |
font-size: 12px;
|
509 |
font-style: italic;
|
520 |
.control-textarea {
|
521 |
position: relative;
|
522 |
max-width: 600px;
|
523 |
+
width: 100%;
|
524 |
padding-top: 5px;
|
525 |
background: #fcfcfc;
|
526 |
-webkit-border-radius: 3px;
|
546 |
/* SPECIFIC TO THIS PLUGIN
|
547 |
-------------------------------------------------------------- */
|
548 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
549 |
/* CodeMirror Editor */
|
550 |
.CodeMirror {
|
551 |
height: 100% !important;
|
587 |
}
|
588 |
|
589 |
/* Titles */
|
590 |
+
#post-body-content .meta-box-sortabless .title {
|
591 |
+
height: 50px;
|
592 |
+
line-height: 31px;
|
593 |
+
}
|
594 |
+
@media (max-width: 782px) {
|
595 |
+
#post-body-content .meta-box-sortabless .title {
|
596 |
+
height: 58px;
|
597 |
+
}
|
598 |
}
|
599 |
|
600 |
/* Switch */
|
inc/php/page.php
CHANGED
@@ -25,7 +25,7 @@ function spacexchimp_p001_render_submenu_page() {
|
|
25 |
// Layout of page
|
26 |
?>
|
27 |
<div class="wrap">
|
28 |
-
<h2>
|
29 |
<?php echo $name; ?>
|
30 |
<span>
|
31 |
<?php printf(
|
25 |
// Layout of page
|
26 |
?>
|
27 |
<div class="wrap">
|
28 |
+
<h2 class="sxc-header">
|
29 |
<?php echo $name; ?>
|
30 |
<span>
|
31 |
<?php printf(
|
my-custom-functions.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Easily and safely add your custom PHP code to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.
|
6 |
* Author: Space X-Chimp
|
7 |
* Author URI: https://www.spacexchimp.com
|
8 |
-
* Version: 4.
|
9 |
* License: GPL3
|
10 |
* Text Domain: my-custom-functions
|
11 |
* Domain Path: /languages/
|
5 |
* Description: Easily and safely add your custom PHP code 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.31
|
9 |
* License: GPL3
|
10 |
* Text Domain: my-custom-functions
|
11 |
* Domain Path: /languages/
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: inject code, inject function, inject snippet, inject php, insert code, ins
|
|
4 |
Donate link: https://www.spacexchimp.com/donate.html
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 4.
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -52,7 +52,7 @@ On the plugin page you find the code editor powered by CodeMirror. This code edi
|
|
52 |
* Unlimited number of fields for functions
|
53 |
* Automatic backup of all functions to a downloadable text file
|
54 |
* Separate activation and deactivation of functions
|
55 |
-
*
|
56 |
* Well documented
|
57 |
|
58 |
[Get the PRO version now!](https://www.spacexchimp.com/plugins/my-custom-functions-pro.html)
|
@@ -243,6 +243,9 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
|
|
243 |
|
244 |
== Changelog ==
|
245 |
|
|
|
|
|
|
|
246 |
= 4.30 =
|
247 |
* Improvement: Design of the plugin settings page is improved.
|
248 |
* Content of the "Usage Instructions" section updated.
|
4 |
Donate link: https://www.spacexchimp.com/donate.html
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 4.31
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
52 |
* Unlimited number of fields for functions
|
53 |
* Automatic backup of all functions to a downloadable text file
|
54 |
* Separate activation and deactivation of functions
|
55 |
+
* No ads on the settings page
|
56 |
* Well documented
|
57 |
|
58 |
[Get the PRO version now!](https://www.spacexchimp.com/plugins/my-custom-functions-pro.html)
|
243 |
|
244 |
== Changelog ==
|
245 |
|
246 |
+
= 4.31 =
|
247 |
+
* Improvement: Design of the plugin settings page is improved.
|
248 |
+
|
249 |
= 4.30 =
|
250 |
* Improvement: Design of the plugin settings page is improved.
|
251 |
* Content of the "Usage Instructions" section updated.
|