Descrição
This plugin disables default WP registration page by redirecting users who access the registration page URL to the default WP login page. If somehow you still want to accept user registration but want to disable default WP registration page to prevent bot, SPAM registration or something like that, this plugin is for you. No settings needed. Install, activate, done.
Instalação
Automatic Installation
- Log in to the WP admin dashboard.
- Go to “Plugins > Add Plugin”.
- Enter “Disable WP Registration Page” to the search box and press enter.
- Install and activate the plugin.
Manual Installation (via WordPress Admin Dashboard)
- Download the plugin zip file.
- Log in to the WP admin dashboard.
- Go to the “Plugins > Add Plugin”.
- Click the “Upload Plugin” button, and an upload box will appear.
- Click the “Choose File” button and select the plugin zip file.
- Click the “Install Now” button and wait until the plugin has been fully installed.
- Activate the plugin.
Manual Installation (via FTP/SFTP)
- Download the plugin and extract the plugin zip file.
- Connect to your website server via FTP/SFTP using an FTP/SFTP client such as FileZilla.
- Upload “disable-wp-registration-page” folder to “/wp-content/plugins/” directory of your website.
- Go to “Plugins > Installed Plugins”.
- Find “Disable WP Registration Page” and click “activate”.
Perguntas frequentes
-
How can I change the text “Manual registration is disabled” on the login page?
-
You can add the following PHP code snippets to your active theme’s
functions.phpor a snippet plugin:add_filter( 'dwprp_registration_link', function() { return '<span class="dwprp-registration-link">Your custom registration link text</span>' } ); -
How can I change the redirect destination URL which defaults to the login page?
-
You can add the following PHP code snippets to your active theme’s
functions.phpor a snippet plugin:add_filter( 'dwprp_registration_redirect_url', function() { return site_url( '/your-custom-registration-page' ); } ); -
How can I hide the registration link and text entirely on the login page?
-
You can add the following CSS to your active theme’s
style.cssor a snippet plugin:.dwprp-registration-link { display: none; }
Avaliações
Colaboradores e desenvolvedores
“Disable WP Registration Page” é um programa de código aberto. As seguintes pessoas contribuíram para este plugin.
ColaboradoresTraduzir o “Disable WP Registration Page” para seu idioma.
Interessado no desenvolvimento?
Navegue pelo código, consulte o repositório SVN ou assine o registro de desenvolvimento por RSS.
Registro de alterações
1.0.3
- Added filters:
dwprp_registration_link,dwprp_registration_redirect_url.
1.0.2
- Update plugin tested up to tag
1.0.1
- Bug fix: wp registration page didn’t redirect on some servers.
1.0
- Initial release.