Version Description
- Extended support for Mantra 3.0
- Fixed missing "need help" image on some browsers due to typo
- Added direct access check to all php files
- Updated themes information
- Bumped supported WordPress version to 4.9.1
Download this release
Release Info
Developer | Cryout Creations |
Plugin | Cryout Serious Theme Settings |
Version | 0.5.9 |
Comparing to | |
See all releases |
Code changes from version 0.5.8.1 to 0.5.9
- cryout-theme-settings.php +5 -2
- inc/extra.php +186 -181
- inc/mantra.php +30 -21
- inc/nirvana.php +30 -27
- inc/parabola.php +29 -26
- inc/settings.php +3 -0
- inc/tempera.php +29 -26
- media/anima.jpg +0 -0
- media/kahuna.jpg +0 -0
- readme.txt +10 -3
cryout-theme-settings.php
CHANGED
@@ -3,15 +3,18 @@
|
|
3 |
Plugin Name: Cryout Serious Theme Settings
|
4 |
Plugin URI: https://www.cryoutcreations.eu/serious-theme-settings
|
5 |
Description: This plugin is designed to restore our theme's settings page functionality after the enforcement of the Customize-based theme settings. It is only compatible with and will only function when one of our themes is active: Nirvana, Parabola, Tempera or Mantra.
|
6 |
-
Version: 0.5.
|
7 |
Author: Cryout Creations
|
8 |
Author URI: https://www.cryoutcreations.eu
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl.html
|
11 |
*/
|
12 |
|
|
|
|
|
|
|
13 |
class Cryout_Theme_Settings {
|
14 |
-
public $version = "0.5.
|
15 |
public $settings = array();
|
16 |
|
17 |
private $status = 0; // 0 = inactive, 1 = active, 2 = good theme, wrong version, 3 = wrong theme, 4 = compatibility for wp4.4, 5 = theme requires update
|
3 |
Plugin Name: Cryout Serious Theme Settings
|
4 |
Plugin URI: https://www.cryoutcreations.eu/serious-theme-settings
|
5 |
Description: This plugin is designed to restore our theme's settings page functionality after the enforcement of the Customize-based theme settings. It is only compatible with and will only function when one of our themes is active: Nirvana, Parabola, Tempera or Mantra.
|
6 |
+
Version: 0.5.9
|
7 |
Author: Cryout Creations
|
8 |
Author URI: https://www.cryoutcreations.eu
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl.html
|
11 |
*/
|
12 |
|
13 |
+
// Exit if accessed directly
|
14 |
+
if ( !defined( 'ABSPATH' ) ) exit;
|
15 |
+
|
16 |
class Cryout_Theme_Settings {
|
17 |
+
public $version = "0.5.9";
|
18 |
public $settings = array();
|
19 |
|
20 |
private $status = 0; // 0 = inactive, 1 = active, 2 = good theme, wrong version, 3 = wrong theme, 4 = compatibility for wp4.4, 5 = theme requires update
|
inc/extra.php
CHANGED
@@ -1,182 +1,187 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
margin: 0;
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
a
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
border-radius: 2px
|
112 |
-
}
|
113 |
-
|
114 |
-
.
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
}
|
122 |
-
|
123 |
-
.no-js
|
124 |
-
|
125 |
-
|
126 |
-
}
|
127 |
-
|
128 |
-
.no-js
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
$('#slider').
|
148 |
-
|
149 |
-
$('#slider ul').
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
}
|
175 |
-
|
176 |
-
$('a.
|
177 |
-
e.preventDefault();
|
178 |
-
|
179 |
-
});
|
180 |
-
|
181 |
-
|
|
|
|
|
|
|
|
|
|
|
182 |
</script>
|
1 |
+
<?php
|
2 |
+
// Exit if accessed directly
|
3 |
+
if ( !defined( 'ABSPATH' ) ) exit;
|
4 |
+
?>
|
5 |
+
<div id="latest-themes" class="postbox">
|
6 |
+
<h3 class="hndle"> Our latest free themes </h3>
|
7 |
+
<div id="slider">
|
8 |
+
<a href="#" class="control_next">></a>
|
9 |
+
<a href="#" class="control_prev"><</a>
|
10 |
+
<ul>
|
11 |
+
<li><a href="https://www.cryoutcreations.eu/wordpress-themes/kahuna" target="_blank"><span>Kahuna WordPress Theme</span><img src="<?php echo $url ?>/kahuna.jpg"></a></li>
|
12 |
+
<li><a href="https://www.cryoutcreations.eu/wordpress-themes/anima" target="_blank"><span>Anima WordPress Theme</span><img src="<?php echo $url ?>/anima.jpg"></a></li>
|
13 |
+
<li><a href="https://www.cryoutcreations.eu/wordpress-themes/septera" target="_blank"><span>Septera WordPress Theme</span><img src="<?php echo $url ?>/septera.jpg"></a></li>
|
14 |
+
<li><a href="https://www.cryoutcreations.eu/wordpress-themes/verbosa" target="_blank"><span>Verbosa WordPress Theme</span><img src="<?php echo $url ?>/verbosa.jpg"></a></li>
|
15 |
+
<li><a href="https://www.cryoutcreations.eu/wordpress-themes/fluida" target="_blank"><span>Fluida WordPress Theme</span><img src="<?php echo $url ?>/fluida.jpg"></a></li>
|
16 |
+
</ul>
|
17 |
+
</div>
|
18 |
+
</div>
|
19 |
+
|
20 |
+
<div id="priority-support" class="postbox priority-support">
|
21 |
+
<div title="Click to toggle" class="handlediv"><br /></div>
|
22 |
+
<h3 class="hndle"> Need help? </h3>
|
23 |
+
<div class="inside">
|
24 |
+
<a href="https://www.cryoutcreations.eu/pricing" target="_blank"><img src="<?php echo $url ?>/priority-support.jpg'"></a>
|
25 |
+
</div><!--inside-->
|
26 |
+
</div>
|
27 |
+
|
28 |
+
<style type="text/css">
|
29 |
+
.priority-support.postbox .inside {
|
30 |
+
margin: 0;
|
31 |
+
padding: 5px 0 0 0;
|
32 |
+
}
|
33 |
+
|
34 |
+
#slider {
|
35 |
+
position: relative;
|
36 |
+
overflow: hidden;
|
37 |
+
margin: 5px auto 0;
|
38 |
+
}
|
39 |
+
|
40 |
+
#slider ul {
|
41 |
+
position: relative;
|
42 |
+
margin: 0;
|
43 |
+
padding: 0;
|
44 |
+
height: 375px;
|
45 |
+
list-style: none;
|
46 |
+
overflow: hidden;
|
47 |
+
}
|
48 |
+
|
49 |
+
#slider ul li {
|
50 |
+
position: relative;
|
51 |
+
display: block;
|
52 |
+
float: left;
|
53 |
+
margin: 0;
|
54 |
+
padding: 0;
|
55 |
+
width: 500px;
|
56 |
+
height: 375px;
|
57 |
+
background: #ccc;
|
58 |
+
text-align: center;
|
59 |
+
}
|
60 |
+
|
61 |
+
#slider a span {
|
62 |
+
display: inline-block;
|
63 |
+
position: absolute;
|
64 |
+
left: 0;
|
65 |
+
right: 0;
|
66 |
+
bottom: 0;
|
67 |
+
margin: auto;
|
68 |
+
opacity: 0;
|
69 |
+
background: rgba(0,0,0,.5);
|
70 |
+
max-width: 200px;
|
71 |
+
height: 40px;
|
72 |
+
line-height: 40px;
|
73 |
+
font-size: 1.2em;
|
74 |
+
color: #FFF;
|
75 |
+
-webkit-transition: .3s ease-out all;
|
76 |
+
transition: .3s ease-out all;
|
77 |
+
}
|
78 |
+
|
79 |
+
#slider:hover a span {
|
80 |
+
opacity: 1;
|
81 |
+
}
|
82 |
+
|
83 |
+
a.control_prev,
|
84 |
+
a.control_next {
|
85 |
+
position: absolute;
|
86 |
+
top: 50%;
|
87 |
+
-webkit-transform:translateY(-50%);
|
88 |
+
transform:translateY(-50%);
|
89 |
+
z-index: 999;
|
90 |
+
display: block;
|
91 |
+
padding: 4% 3%;
|
92 |
+
width: auto;
|
93 |
+
height: auto;
|
94 |
+
background: #2a2a2a;
|
95 |
+
color: #fff;
|
96 |
+
text-decoration: none;
|
97 |
+
font-weight: 600;
|
98 |
+
font-size: 18px;
|
99 |
+
opacity: 0.3;
|
100 |
+
cursor: pointer;
|
101 |
+
}
|
102 |
+
|
103 |
+
a.control_prev:hover,
|
104 |
+
a.control_next:hover {
|
105 |
+
opacity: .8;
|
106 |
+
-webkit-transition: all 0.2s ease;
|
107 |
+
transition: all 0.2s ease;
|
108 |
+
}
|
109 |
+
|
110 |
+
a.control_prev {
|
111 |
+
border-radius: 0 2px 2px 0;
|
112 |
+
}
|
113 |
+
|
114 |
+
a.control_next {
|
115 |
+
right: 0;
|
116 |
+
border-radius: 2px 0 0 2px;
|
117 |
+
}
|
118 |
+
|
119 |
+
.no-js #slider img {
|
120 |
+
width: 100%;
|
121 |
+
}
|
122 |
+
|
123 |
+
.no-js #slider ul li {
|
124 |
+
width: 50%;
|
125 |
+
height: 50%;
|
126 |
+
}
|
127 |
+
|
128 |
+
.no-js .control_next,
|
129 |
+
.no-js .control_prev {
|
130 |
+
display: none;
|
131 |
+
}
|
132 |
+
|
133 |
+
.no-js #slider ul li:hover a span {
|
134 |
+
background: rgba(0,0,0,.8);
|
135 |
+
}
|
136 |
+
</style>
|
137 |
+
|
138 |
+
<script type="text/javascript">
|
139 |
+
jQuery(document).ready(function ($) {
|
140 |
+
interval = 25000;
|
141 |
+
// autoplay
|
142 |
+
setInterval(function () {
|
143 |
+
moveRight();
|
144 |
+
}, interval);
|
145 |
+
|
146 |
+
|
147 |
+
var slideCount = $('#slider ul li').length;
|
148 |
+
var slideWidth = $('#slider ul li').width();
|
149 |
+
var slideHeight = $('#slider ul li').height();
|
150 |
+
var sliderUlWidth = slideCount * slideWidth;
|
151 |
+
|
152 |
+
$('#slider').css({ width: slideWidth, height: slideHeight });
|
153 |
+
|
154 |
+
$('#slider ul').css({ width: sliderUlWidth, marginLeft: - slideWidth });
|
155 |
+
|
156 |
+
$('#slider ul li:last-child').prependTo('#slider ul');
|
157 |
+
|
158 |
+
function moveLeft() {
|
159 |
+
$('#slider ul').animate({
|
160 |
+
left: + slideWidth
|
161 |
+
}, 500, function () {
|
162 |
+
$('#slider ul li:last-child').prependTo('#slider ul');
|
163 |
+
$('#slider ul').css('left', '');
|
164 |
+
});
|
165 |
+
};
|
166 |
+
|
167 |
+
function moveRight() {
|
168 |
+
$('#slider ul').animate({
|
169 |
+
left: - slideWidth
|
170 |
+
}, 500, function () {
|
171 |
+
$('#slider ul li:first-child').appendTo('#slider ul');
|
172 |
+
$('#slider ul').css('left', '');
|
173 |
+
});
|
174 |
+
};
|
175 |
+
|
176 |
+
$('a.control_prev').click(function ( e ) {
|
177 |
+
e.preventDefault();
|
178 |
+
moveLeft();
|
179 |
+
});
|
180 |
+
|
181 |
+
$('a.control_next').click(function ( e ) {
|
182 |
+
e.preventDefault();
|
183 |
+
moveRight();
|
184 |
+
});
|
185 |
+
|
186 |
+
});
|
187 |
</script>
|
inc/mantra.php
CHANGED
@@ -1,21 +1,30 @@
|
|
1 |
-
<?php
|
2 |
-
if
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
<div id="
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
<?php
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Exit if accessed directly
|
3 |
+
if ( !defined( 'ABSPATH' ) ) exit;
|
4 |
+
|
5 |
+
if (function_exists('mantra_init_fn')):
|
6 |
+
add_action('admin_init', 'mantra_init_fn');
|
7 |
+
add_action('mantra_before_righty', 'mantra_extra');
|
8 |
+
endif;
|
9 |
+
|
10 |
+
function mantra_theme_settings_restore($class='') {
|
11 |
+
global $cryout_theme_settings;
|
12 |
+
?>
|
13 |
+
<form name="mantra_form" action="options.php" method="post" enctype="multipart/form-data">
|
14 |
+
<div id="accordion">
|
15 |
+
<?php settings_fields('ma_options'); ?>
|
16 |
+
<?php do_settings_sections('mantra-page'); ?>
|
17 |
+
</div>
|
18 |
+
<div id="submitDiv">
|
19 |
+
<br>
|
20 |
+
<input class="button" name="ma_options[mantra_submit]" type="submit" style="float:right;" value="<?php _e('Save Changes','mantra'); ?>" />
|
21 |
+
<input class="button" name="ma_options[mantra_defaults]" id="mantra_defaults" type="submit" style="float:left;" value="<?php _e('Reset to Defaults','mantra'); ?>" />
|
22 |
+
</div>
|
23 |
+
</form>
|
24 |
+
<?php
|
25 |
+
} // mantra_theme_settings_buttons()
|
26 |
+
|
27 |
+
function mantra_extra() {
|
28 |
+
$url = plugin_dir_url( dirname(__FILE__) ) . '/media';
|
29 |
+
include_once( plugin_dir_path( __FILE__ ) . 'extra.php' );
|
30 |
+
} // mantra_extra()
|
inc/nirvana.php
CHANGED
@@ -1,27 +1,30 @@
|
|
1 |
-
<?php
|
2 |
-
if
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
<?php
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Exit if accessed directly
|
3 |
+
if ( !defined( 'ABSPATH' ) ) exit;
|
4 |
+
|
5 |
+
if (function_exists('nirvana_init_fn')):
|
6 |
+
add_action('admin_init', 'nirvana_init_fn');
|
7 |
+
add_action('nirvana_before_righty', 'nirvana_extra');
|
8 |
+
endif;
|
9 |
+
|
10 |
+
function nirvana_theme_settings_restore($class='') {
|
11 |
+
global $cryout_theme_settings;
|
12 |
+
?>
|
13 |
+
<form name="nirvana_form" id="nirvana_form" action="options.php" method="post" enctype="multipart/form-data">
|
14 |
+
<div id="accordion" class="<?php echo $class; ?>">
|
15 |
+
<?php settings_fields('nirvana_settings'); ?>
|
16 |
+
<?php do_settings_sections('nirvana-page'); ?>
|
17 |
+
</div>
|
18 |
+
<div id="submitDiv">
|
19 |
+
<br>
|
20 |
+
<input class="button" name="nirvana_settings[nirvana_submit]" type="submit" id="nirvana_sumbit" style="float:right;" value="<?php _e('Save Changes','nirvana'); ?>" />
|
21 |
+
<input class="button" name="nirvana_settings[nirvana_defaults]" id="nirvana_defaults" type="submit" style="float:left;" value="<?php _e('Reset to Defaults','nirvana'); ?>" />
|
22 |
+
</div>
|
23 |
+
</form>
|
24 |
+
<?php
|
25 |
+
} // nirvana_theme_settings_buttons()
|
26 |
+
|
27 |
+
function nirvana_extra() {
|
28 |
+
$url = plugin_dir_url( dirname(__FILE__) ) . '/media';
|
29 |
+
include_once( plugin_dir_path( __FILE__ ) . 'extra.php' );
|
30 |
+
} // nirvana_extra()
|
inc/parabola.php
CHANGED
@@ -1,27 +1,30 @@
|
|
1 |
-
<?php
|
2 |
-
if
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
<?php
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
27 |
} // parabola_extra()
|
1 |
+
<?php
|
2 |
+
// Exit if accessed directly
|
3 |
+
if ( !defined( 'ABSPATH' ) ) exit;
|
4 |
+
|
5 |
+
if (function_exists('parabola_init_fn')):
|
6 |
+
add_action('admin_init', 'parabola_init_fn');
|
7 |
+
add_action('parabola_before_righty', 'parabola_extra');
|
8 |
+
endif;
|
9 |
+
|
10 |
+
function parabola_theme_settings_restore($class='') {
|
11 |
+
global $cryout_theme_settings;
|
12 |
+
?>
|
13 |
+
<form name="parabola_form" action="options.php" method="post" enctype="multipart/form-data">
|
14 |
+
<div id="accordion">
|
15 |
+
<?php settings_fields('parabola_settings'); ?>
|
16 |
+
<?php do_settings_sections('parabola-page'); ?>
|
17 |
+
</div>
|
18 |
+
<div id="submitDiv">
|
19 |
+
<br>
|
20 |
+
<input class="button" name="parabola_settings[parabola_submit]" type="submit" style="float:right;" value="<?php _e('Save Changes','parabola'); ?>" />
|
21 |
+
<input class="button" name="parabola_settings[parabola_defaults]" id="parabola_defaults" type="submit" style="float:left;" value="<?php _e('Reset to Defaults','parabola'); ?>" />
|
22 |
+
</div>
|
23 |
+
</form>
|
24 |
+
<?php
|
25 |
+
} // parabola_theme_settings_buttons()
|
26 |
+
|
27 |
+
function parabola_extra() {
|
28 |
+
$url = plugin_dir_url( dirname(__FILE__) ) . '/media';
|
29 |
+
include_once( plugin_dir_path( __FILE__ ) . 'extra.php' );
|
30 |
} // parabola_extra()
|
inc/settings.php
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
2 |
$theme_page_url = admin_url( 'themes.php?page=' . $this->current_theme['slug'] . '-page' );
|
3 |
$theme_slug = $this->current_theme['slug'];
|
4 |
$theme_name = ucwords($this->current_theme['slug']);
|
1 |
<?php
|
2 |
+
// Exit if accessed directly
|
3 |
+
if ( !defined( 'ABSPATH' ) ) exit;
|
4 |
+
|
5 |
$theme_page_url = admin_url( 'themes.php?page=' . $this->current_theme['slug'] . '-page' );
|
6 |
$theme_slug = $this->current_theme['slug'];
|
7 |
$theme_name = ucwords($this->current_theme['slug']);
|
inc/tempera.php
CHANGED
@@ -1,27 +1,30 @@
|
|
1 |
-
<?php
|
2 |
-
if
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
<?php
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
27 |
} // tempera_extra()
|
1 |
+
<?php
|
2 |
+
// Exit if accessed directly
|
3 |
+
if ( !defined( 'ABSPATH' ) ) exit;
|
4 |
+
|
5 |
+
if (function_exists('tempera_init_fn')):
|
6 |
+
add_action('admin_init', 'tempera_init_fn');
|
7 |
+
add_action('tempera_before_righty', 'tempera_extra');
|
8 |
+
endif;
|
9 |
+
|
10 |
+
function tempera_theme_settings_restore($class='') {
|
11 |
+
global $cryout_theme_settings;
|
12 |
+
?>
|
13 |
+
<form name="tempera_form" id="tempera_form" action="options.php" method="post" enctype="multipart/form-data">
|
14 |
+
<div id="accordion">
|
15 |
+
<?php settings_fields('tempera_settings'); ?>
|
16 |
+
<?php do_settings_sections('tempera-page'); ?>
|
17 |
+
</div>
|
18 |
+
<div id="submitDiv">
|
19 |
+
<br>
|
20 |
+
<input class="button" name="tempera_settings[tempera_submit]" type="submit" id="tempera_sumbit" style="float:right;" value="<?php _e('Save Changes','tempera'); ?>" />
|
21 |
+
<input class="button" name="tempera_settings[tempera_defaults]" id="tempera_defaults" type="submit" style="float:left;" value="<?php _e('Reset to Defaults','tempera'); ?>" />
|
22 |
+
</div>
|
23 |
+
</form>
|
24 |
+
<?php
|
25 |
+
} // tempera_theme_settings_buttons()
|
26 |
+
|
27 |
+
function tempera_extra() {
|
28 |
+
$url = plugin_dir_url( dirname(__FILE__) ) . '/media';
|
29 |
+
include_once( plugin_dir_path( __FILE__ ) . 'extra.php' );
|
30 |
} // tempera_extra()
|
media/anima.jpg
CHANGED
Binary file
|
media/kahuna.jpg
ADDED
Binary file
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: Cryout Creations
|
|
3 |
Donate link: https://www.cryoutcreations.eu/donate/
|
4 |
Tags: theme, admin
|
5 |
Requires at least: 4.2
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 0.5.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl.html
|
10 |
|
@@ -50,9 +50,16 @@ You do not need this plugin if you use do not use any of the listed themes.
|
|
50 |
|
51 |
== Changelog ==
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
= 0.5.8.1 =
|
54 |
* Fixed compatibility mode malfunctioning
|
55 |
-
* Fixed
|
56 |
|
57 |
= 0.5.8 =
|
58 |
* Added meta links
|
3 |
Donate link: https://www.cryoutcreations.eu/donate/
|
4 |
Tags: theme, admin
|
5 |
Requires at least: 4.2
|
6 |
+
Tested up to: 4.9.1
|
7 |
+
Stable tag: 0.5.9
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl.html
|
10 |
|
50 |
|
51 |
== Changelog ==
|
52 |
|
53 |
+
= 0.5.9 =
|
54 |
+
* Extended support for Mantra 3.0
|
55 |
+
* Fixed missing "need help" image on some browsers due to typo
|
56 |
+
* Added direct access check to all php files
|
57 |
+
* Updated themes information
|
58 |
+
* Bumped supported WordPress version to 4.9.1
|
59 |
+
|
60 |
= 0.5.8.1 =
|
61 |
* Fixed compatibility mode malfunctioning
|
62 |
+
* Fixed missing theme images in compatibility mode info
|
63 |
|
64 |
= 0.5.8 =
|
65 |
* Added meta links
|