The PC Blocker Plugin is a WordPress plugin that allows you to block PC users from accessing your site, except for admins and logged-in users. It also provides mobile site settings for redirecting PC users to a mobile site.
- Download the plugin zip file from the [releases](https://github.com/nityam2007/wordpress-pc-blocker/releases/tag/v1.0.0) page.
- In your WordPress admin panel, go to "Plugins" -> "Add New".
- Click on the "Upload Plugin" button at the top of the page.
- Choose the plugin zip file you downloaded and click "Install Now".
- After the plugin is installed, click on the "Activate" button.
- Once activated, go to "Mobile Site" in the WordPress admin menu.
- Configure the mobile site settings, including enabling the mobile site, providing the mobile site URL, enabling PC user blocking, and specifying the home page URL for redirecting blocked PC users.
- Save the settings.
- PC users, except for admins and logged-in users, will be blocked from accessing your site if PC user blocking is enabled.
- Blocked PC users will be redirected to the specified home page URL.
- Mobile site settings can be enabled/disabled and modified as needed.
If you encounter any issues or have questions, please open an issue on the GitHub repository.
This plugin is licensed under the GPL-2.0 License.