Skip to content

nityam2007/wordpress-pc-blocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

wordpress-pc-blocker

PC Blocker Plugin

Description

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.

Installation

  1. Download the plugin zip file from the [releases](https://github.com/nityam2007/wordpress-pc-blocker/releases/tag/v1.0.0) page.
  2. In your WordPress admin panel, go to "Plugins" -> "Add New".
  3. Click on the "Upload Plugin" button at the top of the page.
  4. Choose the plugin zip file you downloaded and click "Install Now".
  5. After the plugin is installed, click on the "Activate" button.

Configuration

  1. Once activated, go to "Mobile Site" in the WordPress admin menu.
  2. 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.
  3. Save the settings.

Usage

  • 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.

Support

If you encounter any issues or have questions, please open an issue on the GitHub repository.

License

This plugin is licensed under the GPL-2.0 License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages