Version Description
- New: French translation
- Update: WordPress 4.3 support
- Bug fix: Footer and social media icons for mobiles
- Bug fix: Exclude pages now by post id
- Bug fix: Check exclude pages with empty reading options
Download this release
Release Info
Developer | fruitfulcode |
Plugin | Maintenance |
Version | 2.5 |
Comparing to | |
See all releases |
Code changes from version 2.4 to 2.5
- includes/admin.php +2 -2
- includes/functions.php +23 -7
- js/select2/select2.css +2 -0
- languages/maintenance-fr_FR.mo +0 -0
- languages/maintenance-fr_FR.po +252 -0
- load/style.css +46 -7
- maintenance.php +1 -1
- readme.txt +9 -2
- screenshot-1.png +0 -0
includes/admin.php
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
else { $_POST['lib_options']['state'] = 1; }
|
23 |
|
24 |
if (isset($_POST['lib_options']['htmlcss'])) {
|
25 |
-
$_POST['lib_options']['htmlcss'] =
|
26 |
}
|
27 |
|
28 |
if (isset($_POST['lib_options'])) {
|
@@ -70,7 +70,7 @@
|
|
70 |
<?php wp_nonce_field('meta-box-order', 'meta-box-order-nonce', false ); ?>
|
71 |
<?php wp_nonce_field('closedpostboxes', 'closedpostboxesnonce', false ); ?>
|
72 |
<?php screen_icon(); ?>
|
73 |
-
<h2
|
74 |
<input type="checkbox" id="state" name="lib_options[state]" <?php checked($mt_option['state'], 1); ?> />
|
75 |
<div class="clear"></div>
|
76 |
<div id="poststuff">
|
22 |
else { $_POST['lib_options']['state'] = 1; }
|
23 |
|
24 |
if (isset($_POST['lib_options']['htmlcss'])) {
|
25 |
+
$_POST['lib_options']['htmlcss'] = wp_kses_stripslashes($_POST['lib_options']['htmlcss']);
|
26 |
}
|
27 |
|
28 |
if (isset($_POST['lib_options'])) {
|
70 |
<?php wp_nonce_field('meta-box-order', 'meta-box-order-nonce', false ); ?>
|
71 |
<?php wp_nonce_field('closedpostboxes', 'closedpostboxesnonce', false ); ?>
|
72 |
<?php screen_icon(); ?>
|
73 |
+
<h2><?php _e('Maintenance', 'maintenance'); ?></h2>
|
74 |
<input type="checkbox" id="state" name="lib_options[state]" <?php checked($mt_option['state'], 1); ?> />
|
75 |
<div class="clear"></div>
|
76 |
<div id="poststuff">
|
includes/functions.php
CHANGED
@@ -426,17 +426,31 @@
|
|
426 |
}
|
427 |
|
428 |
function mtCheckExclude() {
|
429 |
-
global $mt_options;
|
430 |
$mt_options = mt_get_plugin_options(true);
|
431 |
-
$is_skip
|
432 |
-
$curUrl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
433 |
|
434 |
if (isset($mt_options['exclude_pages']) && !empty($mt_options['exclude_pages'])) {
|
435 |
$exlude_objs = $mt_options['exclude_pages'];
|
436 |
-
|
437 |
foreach ($exlude_objs as $objs_id) {
|
438 |
foreach ($objs_id as $obj_id) {
|
439 |
-
if ( $
|
440 |
$is_skip = true;
|
441 |
break;
|
442 |
}
|
@@ -456,7 +470,8 @@
|
|
456 |
$vdate_start = $vdate_end = date_i18n( 'Y-m-d', strtotime( current_time('mysql', 0) ));
|
457 |
$vtime_start = date_i18n( 'h:i a', strtotime( '12:00 am'));
|
458 |
$vtime_end = date_i18n( 'h:i a', strtotime( '12:00 pm'));
|
459 |
-
|
|
|
460 |
$mt_options = mt_get_plugin_options(true);
|
461 |
if (!is_user_logged_in()) {
|
462 |
if ($mt_options['state']) {
|
@@ -473,7 +488,7 @@
|
|
473 |
|
474 |
$vCurrTime = strtotime(current_time('mysql', 0));
|
475 |
$vCurrDate_start = strtotime($vdate_start . ' ' . $vtime_start);
|
476 |
-
$vCurrDate_end = strtotime($vdate_end
|
477 |
|
478 |
if (mtCheckExclude()) return true;
|
479 |
|
@@ -481,6 +496,7 @@
|
|
481 |
if ($vCurrTime >= $vCurrDate_end) {
|
482 |
if (!empty($mt_options['is_down'])) return true;
|
483 |
}
|
|
|
484 |
} else {
|
485 |
return true;
|
486 |
}
|
426 |
}
|
427 |
|
428 |
function mtCheckExclude() {
|
429 |
+
global $mt_options, $post;
|
430 |
$mt_options = mt_get_plugin_options(true);
|
431 |
+
$is_skip = false;
|
432 |
+
$curUrl = mt_curPageURL();
|
433 |
+
if (is_page() || is_single()) {
|
434 |
+
$currID = $post->ID;
|
435 |
+
} else {
|
436 |
+
if (is_home()) {
|
437 |
+
$blog_id = get_option( 'page_for_posts');
|
438 |
+
if ($blog_id) $currID = $blog_id;
|
439 |
+
}
|
440 |
+
|
441 |
+
if (is_front_page()) {
|
442 |
+
$front_page_id = get_option( 'show_on_front');
|
443 |
+
if ($front_page_id) $currID = $front_page_id;
|
444 |
+
|
445 |
+
}
|
446 |
+
}
|
447 |
+
|
448 |
|
449 |
if (isset($mt_options['exclude_pages']) && !empty($mt_options['exclude_pages'])) {
|
450 |
$exlude_objs = $mt_options['exclude_pages'];
|
|
|
451 |
foreach ($exlude_objs as $objs_id) {
|
452 |
foreach ($objs_id as $obj_id) {
|
453 |
+
if ( $currID == $obj_id) {
|
454 |
$is_skip = true;
|
455 |
break;
|
456 |
}
|
470 |
$vdate_start = $vdate_end = date_i18n( 'Y-m-d', strtotime( current_time('mysql', 0) ));
|
471 |
$vtime_start = date_i18n( 'h:i a', strtotime( '12:00 am'));
|
472 |
$vtime_end = date_i18n( 'h:i a', strtotime( '12:00 pm'));
|
473 |
+
|
474 |
+
|
475 |
$mt_options = mt_get_plugin_options(true);
|
476 |
if (!is_user_logged_in()) {
|
477 |
if ($mt_options['state']) {
|
488 |
|
489 |
$vCurrTime = strtotime(current_time('mysql', 0));
|
490 |
$vCurrDate_start = strtotime($vdate_start . ' ' . $vtime_start);
|
491 |
+
$vCurrDate_end = strtotime($vdate_end . ' ' . $vtime_end);
|
492 |
|
493 |
if (mtCheckExclude()) return true;
|
494 |
|
496 |
if ($vCurrTime >= $vCurrDate_end) {
|
497 |
if (!empty($mt_options['is_down'])) return true;
|
498 |
}
|
499 |
+
|
500 |
} else {
|
501 |
return true;
|
502 |
}
|
js/select2/select2.css
CHANGED
@@ -9,6 +9,8 @@ Version: 3.5.1 Timestamp: Tue Jul 22 18:58:56 EDT 2014
|
|
9 |
zoom: 1;
|
10 |
*display: inline;
|
11 |
vertical-align: middle;
|
|
|
|
|
12 |
}
|
13 |
|
14 |
.select2-container,
|
9 |
zoom: 1;
|
10 |
*display: inline;
|
11 |
vertical-align: middle;
|
12 |
+
width:50%;
|
13 |
+
min-width:200px;
|
14 |
}
|
15 |
|
16 |
.select2-container,
|
languages/maintenance-fr_FR.mo
ADDED
Binary file
|
languages/maintenance-fr_FR.po
ADDED
@@ -0,0 +1,252 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: maintenance\n"
|
4 |
+
"POT-Creation-Date: 2014-02-18 12:25+0200\n"
|
5 |
+
"PO-Revision-Date: 2015-06-06 13:57+0100\n"
|
6 |
+
"Last-Translator: René Maurer <rene.maurer@jamos.ch>\n"
|
7 |
+
"Language-Team: Massimo Pacifici <pacifici@eumed.it>\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.8.1\n"
|
12 |
+
"X-Poedit-KeywordsList: _;_e;__;_x\n"
|
13 |
+
"X-Poedit-Basepath: .\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
16 |
+
"Language: fr\n"
|
17 |
+
|
18 |
+
#: /includes/admin.php:84
|
19 |
+
msgid "Save changes"
|
20 |
+
msgstr "Enregistrer les modifications"
|
21 |
+
|
22 |
+
#: /includes/functions.php:104
|
23 |
+
msgid "General Settings"
|
24 |
+
msgstr "Paramètres Généraux"
|
25 |
+
|
26 |
+
#: /includes/functions.php:110
|
27 |
+
msgid "Pro version"
|
28 |
+
msgstr "Version Pro"
|
29 |
+
|
30 |
+
#: /includes/functions.php:116
|
31 |
+
msgid "Support"
|
32 |
+
msgstr "Support"
|
33 |
+
|
34 |
+
#: /includes/functions.php:124
|
35 |
+
msgid "Page title"
|
36 |
+
msgstr "Titre de la page"
|
37 |
+
|
38 |
+
#: /includes/functions.php:125
|
39 |
+
msgid "Headline"
|
40 |
+
msgstr "Entête"
|
41 |
+
|
42 |
+
#: /includes/functions.php:126
|
43 |
+
msgid "Description"
|
44 |
+
msgstr "Description"
|
45 |
+
|
46 |
+
#: /includes/functions.php:127
|
47 |
+
msgid "Logo"
|
48 |
+
msgstr "Logo"
|
49 |
+
|
50 |
+
#: /includes/functions.php:127
|
51 |
+
msgid "Upload Logo"
|
52 |
+
msgstr "Upload Logo"
|
53 |
+
|
54 |
+
#: /includes/functions.php:130
|
55 |
+
msgid "Admin bar"
|
56 |
+
msgstr "Barre Admin"
|
57 |
+
|
58 |
+
#: /includes/functions.php:130
|
59 |
+
msgid "Show admin bar"
|
60 |
+
msgstr "Afficher la barre Admin"
|
61 |
+
|
62 |
+
#: /includes/functions.php:131
|
63 |
+
msgid "503"
|
64 |
+
msgstr "503"
|
65 |
+
|
66 |
+
#: /includes/functions.php:131
|
67 |
+
msgid "Service temporarily unavailable"
|
68 |
+
msgstr "Site temporairement indisponible"
|
69 |
+
|
70 |
+
#: /includes/functions.php:132
|
71 |
+
msgid "Google Analytics ID"
|
72 |
+
msgstr "ID Google Analytics"
|
73 |
+
|
74 |
+
#: /includes/functions.php:132
|
75 |
+
msgid "UA-XXXXX-X"
|
76 |
+
msgstr "UA-XXXXX-X"
|
77 |
+
|
78 |
+
#: /includes/functions.php:133
|
79 |
+
msgid "Blur intensity"
|
80 |
+
msgstr "Intensité du floutage"
|
81 |
+
|
82 |
+
#: /includes/functions.php:134
|
83 |
+
msgid "Background blur"
|
84 |
+
msgstr "Floutage de l’image de fond"
|
85 |
+
|
86 |
+
#: /includes/functions.php:134
|
87 |
+
msgid "Apply a blur"
|
88 |
+
msgstr "Appliquer un floutage"
|
89 |
+
|
90 |
+
#: /includes/functions.php:135
|
91 |
+
msgid "Login On / Off"
|
92 |
+
msgstr "S’identifier / Se déconnecter"
|
93 |
+
|
94 |
+
#: /includes/functions.php:142
|
95 |
+
msgid "Background image"
|
96 |
+
msgstr "Image de fond"
|
97 |
+
|
98 |
+
#: /includes/functions.php:142
|
99 |
+
msgid "Upload Background"
|
100 |
+
msgstr "Upload image de fond"
|
101 |
+
|
102 |
+
#: /includes/functions.php:148
|
103 |
+
msgid "Background color"
|
104 |
+
msgstr "Couleur de fond"
|
105 |
+
|
106 |
+
#: /includes/functions.php:149
|
107 |
+
msgid "Font color"
|
108 |
+
msgstr "Couleur de la police"
|
109 |
+
|
110 |
+
#: /includes/functions.php:157
|
111 |
+
msgid "Have any questions?"
|
112 |
+
msgstr "Vous avez une question ?"
|
113 |
+
|
114 |
+
#: /includes/functions.php:158
|
115 |
+
#, php-format
|
116 |
+
msgid ""
|
117 |
+
"You may find answers to your questions at <a target=\"_blank\" href=\"http://"
|
118 |
+
"wordpress.org/support/plugin/maintenance\">support forum</a><br>You may <a "
|
119 |
+
"target=\"_blank\" href=\"mailto:mail@fruitfulcode.com?subject=Maintenance "
|
120 |
+
"plugin\">contact us</a> with customization requests and suggestions.<br> "
|
121 |
+
"Please visit our website to learn about us and our services <a href=\"%1$s\" "
|
122 |
+
"title=\"%2$s\">%2$s</a>"
|
123 |
+
msgstr ""
|
124 |
+
"Vous pouvez trouver des réponses à vos question sur le <a target=\"_blank\" "
|
125 |
+
"href=\"http://wordpress.org/support/plugin/maintenance\">forum de support</"
|
126 |
+
"a><br>Vous pouvez <a target=\"_blank\" href=\"mailto:mail@fruitfulcode.com?"
|
127 |
+
"subject=Maintenance plugin\">nous contacter</a> pour des demandes de "
|
128 |
+
"personnalisation ou proposer des suggestions.<br> Merci de visiter notre "
|
129 |
+
"site pour an apprendre plus sur nous et les services que nous proposons <a "
|
130 |
+
"href=\"%1$s\" title=\"%2$s\">%2$s</a>"
|
131 |
+
|
132 |
+
#: /includes/functions.php:169
|
133 |
+
msgid "Extended functionality"
|
134 |
+
msgstr "Fonctionnalités étendues"
|
135 |
+
|
136 |
+
#: /includes/functions.php:170
|
137 |
+
#, php-format
|
138 |
+
msgid ""
|
139 |
+
"Purchase <a href=\"http://codecanyon.net/item/maintenance-wordpress-"
|
140 |
+
"plugin/2781350?ref=fruitfulcode\" target=\"_blank\">PRO</a> version with "
|
141 |
+
"extended functionality. %1$s If you like our plugin please <a target=\"_blank"
|
142 |
+
"\" href=\"http://wordpress.org/support/view/plugin-reviews/maintenance?"
|
143 |
+
"filter=5\">rate it</a>, <a title=\"leave feedbacks\" href=\"%2$s\" target="
|
144 |
+
"\"_blank\">leave feedbacks</a>."
|
145 |
+
msgstr ""
|
146 |
+
"Achetez la version <a href=\"http://codecanyon.net/item/maintenance-"
|
147 |
+
"wordpress-plugin/2781350?ref=fruitfulcode\" target=\"_blank\">PRO</a> avec "
|
148 |
+
"des fonctionnalités étendues. %1$s Si vous aimez notre plugin merci de <a "
|
149 |
+
"target=\"_blank\" href=\"http://wordpress.org/support/view/plugin-reviews/"
|
150 |
+
"maintenance?filter=5\">l’évaluer</a> et <a title=\"leave feedbacks\" href="
|
151 |
+
"\"%2$s\" target=\"_blank\">de laisser des commentaires</a>."
|
152 |
+
|
153 |
+
#: /includes/functions.php:174
|
154 |
+
msgid "Demo website"
|
155 |
+
msgstr "Site de Démonstration"
|
156 |
+
|
157 |
+
#: /includes/functions.php:232
|
158 |
+
msgid "Maintenance"
|
159 |
+
msgstr "Maintenance"
|
160 |
+
|
161 |
+
#: /includes/functions.php:255
|
162 |
+
msgid "Website is under construction"
|
163 |
+
msgstr "Le site est en construction"
|
164 |
+
|
165 |
+
#: /includes/functions.php:256
|
166 |
+
msgid "Maintenance mode is on"
|
167 |
+
msgstr "Le mode maintenance est actif"
|
168 |
+
|
169 |
+
#: /includes/functions.php:257
|
170 |
+
msgid "Website will be available soon"
|
171 |
+
msgstr "Le site sera bientôt disponible"
|
172 |
+
|
173 |
+
#: /load/functions.php:37
|
174 |
+
msgid "Permission access denied!"
|
175 |
+
msgstr "Accès refusé !"
|
176 |
+
|
177 |
+
#: /load/functions.php:45
|
178 |
+
msgid "You entered your login are incorrect!"
|
179 |
+
msgstr "Vous avez entré un identifiant incorrect !"
|
180 |
+
|
181 |
+
#: /load/functions.php:49
|
182 |
+
msgid "You entered your password are incorrect!"
|
183 |
+
msgstr "Vous avez entré un mot de passe incorrect !"
|
184 |
+
|
185 |
+
#: /load/functions.php:52
|
186 |
+
msgid "You entered your login and password are incorrect!"
|
187 |
+
msgstr "Vous avez entré un identifiant et un mot de passe erronés !"
|
188 |
+
|
189 |
+
#: /load/functions.php:223
|
190 |
+
msgid "Username"
|
191 |
+
msgstr "Nom d’utilisateur"
|
192 |
+
|
193 |
+
#: /load/functions.php:224
|
194 |
+
msgid "Password"
|
195 |
+
msgstr "Mot de passe\t"
|
196 |
+
|
197 |
+
#: /load/functions.php:225
|
198 |
+
msgid "Sign In"
|
199 |
+
msgstr "S’identifier"
|
200 |
+
|
201 |
+
msgid "maintenance"
|
202 |
+
msgstr "Maintenance"
|
203 |
+
|
204 |
+
msgid "Contact support"
|
205 |
+
msgstr "Contacter le support"
|
206 |
+
|
207 |
+
msgid ""
|
208 |
+
"If you faced with any problems, have a question or suggestion you always can "
|
209 |
+
"contact us with any request on our website <a href=\"%1$s\" title=\"%2$s\">"
|
210 |
+
"%2$s</a>"
|
211 |
+
msgstr ""
|
212 |
+
"Si vous rencontrez un problème ou que vous avez une question ou une "
|
213 |
+
"suggestion, vous pouvez nous contacter sur notre site <a href=\"%1$s\" title="
|
214 |
+
"\"%2$s\">%2$s</a>"
|
215 |
+
|
216 |
+
msgid ""
|
217 |
+
"If you like our plugin please rate it, %1$s <a title=\"leave feedback\" href="
|
218 |
+
"\"%2$s\" target=\"_blank\">leave feedback</a> or purchase extended version "
|
219 |
+
"%1$s with more other features."
|
220 |
+
msgstr ""
|
221 |
+
"Si vous aimez notre plugin, merci de l’évaluer, %1$s <a title=\"leave "
|
222 |
+
"feedback\" href=\"%2$s\" target=\"_blank\">laisser un commentaire</a> ou "
|
223 |
+
"achetez la version étendue %1$s avec plus de fonctionnalités."
|
224 |
+
|
225 |
+
msgid "Purchase"
|
226 |
+
msgstr "Acheter"
|
227 |
+
|
228 |
+
msgid "We have time until launch"
|
229 |
+
msgstr "Nous avons le temps avant le lancement"
|
230 |
+
|
231 |
+
msgid "Be first of your friends who will know when the website goes live."
|
232 |
+
msgstr "Soyez le premier des vos amis à savoir quand le site sera en ligne."
|
233 |
+
|
234 |
+
msgid "Check out our extended version of plugin with new features"
|
235 |
+
msgstr ""
|
236 |
+
"Achetez notre version étendue du plugin avec de nouvelles fonctionnalités"
|
237 |
+
|
238 |
+
msgid "Your session has expired."
|
239 |
+
msgstr "Votre session a expiré."
|
240 |
+
|
241 |
+
msgid "Customer login"
|
242 |
+
msgstr "Identification client"
|
243 |
+
|
244 |
+
msgid "Please login to see website"
|
245 |
+
msgstr "Merci de vous identifier pour voir le site"
|
246 |
+
|
247 |
+
msgid "User roles"
|
248 |
+
msgstr "Rôles utilisateurs"
|
249 |
+
|
250 |
+
# not really sur about « We have time until launch » Because I can’t find it on the demo version…
|
251 |
+
msgid "Choose users access permissions in maintenance mode."
|
252 |
+
msgstr "Choix des utilisateurs ayant accès au site en mode maintenance."
|
load/style.css
CHANGED
@@ -538,7 +538,7 @@ and (orientation : landscape) {
|
|
538 |
|
539 |
footer {
|
540 |
top:0;
|
541 |
-
|
542 |
margin: 40px 0 0 0;
|
543 |
}
|
544 |
|
@@ -565,7 +565,7 @@ and (orientation : landscape) {
|
|
565 |
|
566 |
footer {
|
567 |
top:0;
|
568 |
-
|
569 |
margin: 40px 0 0 0;
|
570 |
}
|
571 |
|
@@ -574,7 +574,38 @@ and (orientation : landscape) {
|
|
574 |
}
|
575 |
|
576 |
}
|
577 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
578 |
@media screen and (max-width: 480px) {
|
579 |
|
580 |
body > .main-container {
|
@@ -584,6 +615,10 @@ and (orientation : landscape) {
|
|
584 |
body > .login-form-container {
|
585 |
background: none repeat scroll 0 0 rgba(0, 0, 0, 1);
|
586 |
}
|
|
|
|
|
|
|
|
|
587 |
|
588 |
.center {
|
589 |
max-width:460px;
|
@@ -620,8 +655,12 @@ and (orientation : landscape) {
|
|
620 |
|
621 |
footer {
|
622 |
top:0;
|
623 |
-
|
624 |
-
margin:
|
|
|
|
|
|
|
|
|
625 |
}
|
626 |
|
627 |
}
|
@@ -668,7 +707,7 @@ and (orientation : landscape) {
|
|
668 |
|
669 |
footer {
|
670 |
top:0;
|
671 |
-
|
672 |
-
margin:
|
673 |
}
|
674 |
}
|
538 |
|
539 |
footer {
|
540 |
top:0;
|
541 |
+
bottom:0;
|
542 |
margin: 40px 0 0 0;
|
543 |
}
|
544 |
|
565 |
|
566 |
footer {
|
567 |
top:0;
|
568 |
+
bottom:20px;
|
569 |
margin: 40px 0 0 0;
|
570 |
}
|
571 |
|
574 |
}
|
575 |
|
576 |
}
|
577 |
+
|
578 |
+
|
579 |
+
@media screen and (min-width: 320px) and (max-width: 640px) and (orientation: landscape) {
|
580 |
+
|
581 |
+
#countdown .box-digits {
|
582 |
+
padding:30px 16px;
|
583 |
+
}
|
584 |
+
|
585 |
+
#countdown .digits {
|
586 |
+
height:120px;
|
587 |
+
min-width:80px;
|
588 |
+
}
|
589 |
+
|
590 |
+
#wrapper {
|
591 |
+
height:auto;
|
592 |
+
}
|
593 |
+
|
594 |
+
#mailchimp-box {
|
595 |
+
margin:40px 0 0 0;
|
596 |
+
}
|
597 |
+
|
598 |
+
footer {
|
599 |
+
top:0;
|
600 |
+
bottom:0;
|
601 |
+
margin: 10px 0 30px 0;
|
602 |
+
}
|
603 |
+
|
604 |
+
footer .social {
|
605 |
+
text-align:center;
|
606 |
+
}
|
607 |
+
}
|
608 |
+
|
609 |
@media screen and (max-width: 480px) {
|
610 |
|
611 |
body > .main-container {
|
615 |
body > .login-form-container {
|
616 |
background: none repeat scroll 0 0 rgba(0, 0, 0, 1);
|
617 |
}
|
618 |
+
|
619 |
+
#wrapper {
|
620 |
+
height:auto;
|
621 |
+
}
|
622 |
|
623 |
.center {
|
624 |
max-width:460px;
|
655 |
|
656 |
footer {
|
657 |
top:0;
|
658 |
+
bottom:0;
|
659 |
+
margin: 10px 0 30px 0;
|
660 |
+
}
|
661 |
+
|
662 |
+
footer .social {
|
663 |
+
text-align:center;
|
664 |
}
|
665 |
|
666 |
}
|
707 |
|
708 |
footer {
|
709 |
top:0;
|
710 |
+
bottom:0;
|
711 |
+
margin: 10px 0 30px 0;
|
712 |
}
|
713 |
}
|
maintenance.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Maintenance
|
4 |
Plugin URI: http://wordpress.org/plugins/maintenance/
|
5 |
Description: Take your website for maintenance away from public view. Use maintenance plugin if your website is in development or you need to change a few things, run an upgrade. Make it only accessible by login and password. Plugin has a options to add a logo, background, headline, message, colors, login, etc. Extended PRO with more features version is available for purchase.
|
6 |
-
Version: 2.
|
7 |
Author: fruitfulcode
|
8 |
Author URI: http://fruitfulcode.com
|
9 |
License: GPL2
|
3 |
Plugin Name: Maintenance
|
4 |
Plugin URI: http://wordpress.org/plugins/maintenance/
|
5 |
Description: Take your website for maintenance away from public view. Use maintenance plugin if your website is in development or you need to change a few things, run an upgrade. Make it only accessible by login and password. Plugin has a options to add a logo, background, headline, message, colors, login, etc. Extended PRO with more features version is available for purchase.
|
6 |
+
Version: 2.5
|
7 |
Author: fruitfulcode
|
8 |
Author URI: http://fruitfulcode.com
|
9 |
License: GPL2
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: fruitfulcode
|
|
3 |
Donate link: http://fruitfulcode.com/
|
4 |
Tags: maintenance, coming soon, under-construction, 503 error, administration, login, customize page, background, fullscreen, blur
|
5 |
Requires at least: 3.4
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -108,6 +108,13 @@ You can check <a href="http://wordpress.org/support/plugin/maintenance">support
|
|
108 |
|
109 |
== Change log ==
|
110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
= 2.4 =
|
112 |
* New option: Footer text
|
113 |
* Improvements: Exclude / Include pages
|
3 |
Donate link: http://fruitfulcode.com/
|
4 |
Tags: maintenance, coming soon, under-construction, 503 error, administration, login, customize page, background, fullscreen, blur
|
5 |
Requires at least: 3.4
|
6 |
+
Tested up to: 4.3.1
|
7 |
+
Stable tag: 2.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
108 |
|
109 |
== Change log ==
|
110 |
|
111 |
+
= 2.5 =
|
112 |
+
* New: French translation
|
113 |
+
* Update: WordPress 4.3 support
|
114 |
+
* Bug fix: Footer and social media icons for mobiles
|
115 |
+
* Bug fix: Exclude pages now by post id
|
116 |
+
* Bug fix: Check exclude pages with empty reading options
|
117 |
+
|
118 |
= 2.4 =
|
119 |
* New option: Footer text
|
120 |
* Improvements: Exclude / Include pages
|
screenshot-1.png
CHANGED
Binary file
|