هل تعاني من عطل في المدونة
هل توجد مشكلة وتريد اصلاحها
هل تريد ان تخبر الزوار بانه توجد صيانة للمدونة
الحل هنا مع اضافة وضع الصيانة
Maintenance Mode

الكثير منا يرغبون احيانا بوضع صفحة تخبر الزوار بان المدونة [مدونة وورد بريس ] هي خارج الخدمة حاليا بسبب الصيانة او ان الموقع متوقف بسبب حل بعض المشاكل التقنية او لاي سبب اخر. كانت هذه العملية صعبة نوعا وتتضمن رفع صفحة HTML الى الموقع الخاص بنا اما عن طريق لوحة التحكم للموقع CP مثل cpanel , Plesk, HSphere وغيرها او عن طريق ال FTP ولكن العملية تصبح معقدة قليلا. لذلك بحثت كثيرا حتى وجدت هذه الاضافة للوورد بريس تقوم بهذه العملية بشكل بسيط جدا .
الاضافة هي Maintenance Mode Plugin
لتحميل الاضافة لاحدث اصدار من الوورد بريس 2.8.4 من الرابط التالي
Downloads
طريقة التثبيت :
1. قم بتحميل الملف المضغوط من الرابط في الاعلى
2. قم بفك الضغط عن الملف المضغوط zip. ثم انسخ محتوياته الى الرابط التالي
/wp-content/plugins/
3. قم بالدخول الى لوحة التحكم Admin Panel في المدونة وقم باللذهاب الى قسم الاضافات Plugins وقم بفعيل الضافة من هناك.
طريقة الاستخدام والخيارات الاخرى :
طريقة التفعيل والخيارات :
1. لتفعيل الاضافة يمكن الذهاب الى قائمة
Maintenance Mode << Setting << WordPress Administrations
2. اختر تفعيل او Activate ثم احفظ الاعدادت Save Options
3. يمكن تعديل الرسالة بشكل كبير وحسب ما نريد وفي الاعلى صورة مخصصة بشكل كامل اما الصورة التالية فهي الكتابات الافتراضية .

كيفية الدخول للمدونة (واجهاتها ) / القواعد والسماحيات:
1. عندما نقوم بتفعيل وضع الصيانة فان المدراء Administrator يكون لهم القدرة الكاملة على تصفح جميع اجزاء المدونة .
2. تضيف هذه الاضافة القاعدة access_on_maintenance لمجموعة المدراء Administrators
3. يمكن استخدام Role Manager الخاص بالاضافة لاعطاء السماحية لاي عضو او مجموعة من الاعضاء بالدخول للمدونة ورؤية محتوياتها في وضع الصيانة.
وضع التابع ()is_maintenance في القوالب:
تستخدم هذه لعرض رسالة على القالب المستخدم (theme) عندما يكون وضع الصيانة مفعلا.
والفائدة منها هي عدم نسياننا اننا في وضع الصيانة عندما نكون مسجلين دخولنا للمدونة.
نستطيع اضافتها الى ال header.php او الى index.php وذلك للقالب theme المستعمبل. كم في المثال التالي.
echo ' <div style="padding: 3px; margin: 10px 0 10px 0; border: 2px solid red;">The Maintenance Mode is activated. Please don\'t forget to <a href="/wp-admin/options-general.php?page=maintenance-mode.php">deactivate</a> it as soon as you are done.</div> '; }?>
This plugin adds a splash page to your blog that lets visitors know your blog is down for maintenance. Logged in administrators get full access to the blog including the front-end.
When the maintenance mode is activated, the following message is being displayed:
Downloads
Installation
This plugin can be installed in 2 easy steps:
- Decompress the .zip archive and upload the files into your plugins folder (located at
/wp-content/plugins/) or into a sub folder of the plugins folder. - Activate the plugin from your WordPress admin panel.
Usage & Options
Activation and further options
To activate the Maintenance Mode, navigate to WordPress Administration » Settings » Maintenance Mode, select ‘Activate’ and save the options. You can also change the message and various other options.
Accesss to the blog’s front-end / Roles and Capability
When you activate the maintenance mode, logged in administrators get full access to the blog including the front-end. This plugin adds the capability “access_on_maintenance” to the role “Administrator”. If you now want to achieve that for example users with the role “Editor” do also get full access to the blog when being logged in, use the plugin Role Manager and grant the capability “Access On Maintenance” for the role “Editor” or for any other role of your choice. Check out WordPress Codex » Roles and Capabilities for further information.
Template Tag is_maintenance()
You can use the template tag is_maintenance() to display a message in the theme when the maintenance mode is activated. This is helpful to not forget the enabled maintenance mode when you are logged in to WordPress. You can add it to the header.php or index.php of the theme, example:
echo ' <div style="padding: 3px; margin: 10px 0 10px 0; border: 2px solid red;">The Maintenance Mode is activated. Please don\'t forget to <a href="/wp-admin/options-general.php?page=maintenance-mode.php">deactivate</a> it as soon as you are done.</div> '; }?>





Thank you,
i like this plugin
Thank you,
i like this plugin
cool nice site
cool nice site
welcome
i’ll book mark ur too
welcome
i’ll book mark ur too
Hey, I found your blog while searching on Google. I have a blog on online stock trading, I’ll bookmark your site.
Hey, I found your blog while searching on Google. I have a blog on online stock trading, I’ll bookmark your site.
اهلا وسهلا فيك اخي حسام وصراحة انا كتير حبيت هيدي الاضافة وعنجد بكون الواحد مضطر يغير شغلات اون لاين
لانو ما كل الاحيان كل شي بيمشي حالو على
LOCAL HOST
شكرا الك وانشاء ما منستخدم هي الاضافة الا نادرا
اهلا وسهلا فيك اخي حسام وصراحة انا كتير حبيت هيدي الاضافة وعنجد بكون الواحد مضطر يغير شغلات اون لاين
لانو ما كل الاحيان كل شي بيمشي حالو على
LOCAL HOST
شكرا الك وانشاء ما منستخدم هي الاضافة الا نادرا
إضافة جميلة وفاعلة قمت بتجربتها سابقا ولكني سأقوم بتفعيلها مجددا بعد ان حذفتها تدوينة وشرح جميل تحياتي لجهدك
إضافة جميلة وفاعلة قمت بتجربتها سابقا ولكني سأقوم بتفعيلها مجددا بعد ان حذفتها تدوينة وشرح جميل تحياتي لجهدك