이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Maintenance & Coming Soon Redirect Animation

설명

This super lightweight plugin is intended primarily for developers , designers and site administrators that need to allow clients to preview site before being available to the general public or to temporarily hide it while undergoing major updates.

Any logged in user with WordPress administrator privileges will be allowed to view the site regardless of the settings in the plugin. The exact privilege can be set using a filter hook – see FAQs.

The behaviour of this can be enabled or disabled at any time without losing any of settings configured in its settings pane. However, deactivating the plugin is recommended versus having it activated while disabled.

When redirect is enabled it can send a different header types.

A list of IP addresses can be set up to completely bypass maintenance mode. This option is useful when needing to allow a client’s entire office to access the site while in maintenance mode without needing to maintain individual access keys.

Access keys work by creating a key on the user’s computer that will be checked against when maintenance mode is active. When a new key is created, a link to create the access key cookie will be emailed to the email address provided. Access can then be revoked either by disabling or deleting the key.

Whitelisted User Roles – user roles who see the site, instead of under maintenance page

Whitelisted Users – users who see the site, instead of maintenance page

Animations :

Animation on the web is not only fun, but engaging in such a way that it has converted site visitors into customers even before will be available to the general public and it will make them eagerly await its launch.

You can either choose your animation from the library or upload your own; this animation will be shown in front of your site when it is undergoing maintenance.

Notes :
✔ This plugin will override any other maintenance plugin you use.
✔ All settings are auto-updated , you don’t need to save anything .

WP-CLI Commands :

Note : before you begin run these commands make sure you have wp-cli installed on your server and your are in your WordPress site Root folder

✔ To install the plugin via wp-cli : sudo wp plugin install maintenance-coming-soon-redirect-animation --allow-root
✔ To activate it : sudo wp plugin activate maintenance-coming-soon-redirect-animation --allow-root
✔ To deactivate it : sudo wp plugin deactivate maintenance-coming-soon-redirect-animation --allow-root
✔ To uninstall it : sudo wp plugin uninstall maintenance-coming-soon-redirect-animation --allow-root
Note : before you can uninstall the plugin you have to deactivate it first
✔ To Update the plugin : sudo wp plugin update maintenance-coming-soon-redirect-animation --allow-root

스크린샷

  • Welcome screen after installation / Maintenance Mode Disabled
  • Header Type Tab
  • Unrestricted IP adresses Tab
  • Send an Access key to specific user
  • Access key link email
  • Access keys Tab Updated / Access key is activated for the user
  • Active or Selected Animation
  • Upload an animation from Media library
  • Selected animation from the animations Library
  • Animations for different purposes : Update, security, coming soon, under construction ..
  • Maintenance message displayed under animation
  • Extra Tab : Whitelisted User Roles & Whitelisted Users
  • Maintenance Front Page
  • Site Health Status
  • WP-CLI Commands
  • Update plugin through WP-CLI

설치

  1. Unpack the download package.
  2. Upload the maintenance-coming-soon-redirect-animation folder to your plugins directory (usually /wp-content/plugins/).
  3. Activate the plugin through the Plugins menu in WordPress.
  4. You can turn on the maintenance mode in one click from Top bar icon.
  5. For more customization , go to Settings page from the link in the activation notice or through the Maintenance Settings panel just below the dashboard icon.

FAQ

How can I bypass the redirect programatically ?

There is a filter which allows you to programatically bypass the redirection block:

wploti_matches

This allows you to run pretty much any test you like, although be aware that the whole redirection thing runs before the $post global is set up, so WordPress conditionals such as is_post() and is_tax() are not available.

This example looks in the $_SERVER global to see if any part of the URL contains “hello-world” ( default wordpress post for example )

function my_wploti_matches( $wploti_matches ) {
    if ( stristr( $_SERVER['REQUEST_URI'], 'hello-world' ) ) 
        $wploti_matches[] = "<!-- hello-world -->";
    return $wploti_matches;
}
add_filter( "wploti_matches", "my_wploti_matches" );

You can follow the same process for pages, posts, categories, taxonomies, custom post types ,etc.

How can I let my logged-in user see the front end ?

By default, Maintenance & Coming Soon Redirect Animation uses the manage_options capability, but that is normally only applied to administrators. As it stands, a user with a lesser permissions level, such as editor, is able to view the admin side of the site, but not the front end. You can change this using this filter :

wploti_user_can

This filter is used to pass a different WordPress capability to check if the logged-in user has permission to view the site and thus bypass the redirection, such as edit_posts. Note that this is run before $post is set up, so WordPress conditionals such as is_post() and is_tax() are not available. However, it’s not really meant for programatically determining whether a user should have access, but rather just changing the default capability to be tested, so you don’t really need to do anything other than the example below.

function my_wploti_user_can( $capability ) {
    return "edit_posts";
}
add_filter( "wploti_user_can", "my_wploti_user_can" );

후기

2024년 2월 25일
Love this one, I needed a plugin that let me put my website in maintenance for my clients in few minutes, with this plugin, you can do it even faster. I also liked the great feature that execute a complete log-out for all currently signed-in users with a single click.
2023년 11월 28일
Simple and easy to use, this plugin has a range of great features that make website maintenance a breeze. The user interface is intuitive, making it accessible even to those who are not tech-savvy.
2023년 11월 10일
je viens tester ce plugin et il m’a apparait magnifique, je voulais juste savoir s'il y a une possibilité d’ajouter le style et css sur le message de la maintenance
2023년 11월 6일
Great plugin , it’s super easy to use and has fantastic features. I’m just asking if it would be possible to add a new access method using a password that is set by admin, exactly like .htpasswd method. Thank you !
모든 11 평가 읽기

기여자 & 개발자

“Maintenance & Coming Soon Redirect Animation”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Maintenance & Coming Soon Redirect Animation”(이)가 1(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Maintenance & Coming Soon Redirect Animation”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.1.1

  • First Final release. No Changes Yet.

1.1.2

  • Fix Maintenance Status not showing in Top admin bar front

2.0.0

  • Redesign Ui to tabs style
  • New font added as primary font
  • Fixed some styles issues on large screens
  • Changed plugin icons
  • Added feature : Whitelisted User Roles – user roles who see the site
  • Added feature : Whitelisted Users – users who see the site
  • Added feature : Administrator can upload & use his own JSON or gif Animation
  • Added notice in login screen if Maintenance Mode is enabled.
  • Added submenus
  • Replace message input with wysiwyg Editor
  • New Added headers

2.0.1

  • Fix Gif animations
  • Update readme file

2.1.3

  • New : Execute a complete log-out for all currently signed-in users with a single click
  • Remove unnecessary plugin font
  • Fix issues with ajax requests not working when maintenance mode is enabled
  • optimizing security and performance