Prevent Landscape Rotation

Description

This is a lightweight WordPress plugin that prevents landscape rotation on mobile devices and display message!

Plugin uses standard actions, filters and SweetAlert Js only.
If you love this plugin, buy me a cup of coffee.

If you need to Prevent Portrait Rotaion, Please contact me.

Screenshots

  • Message alert showing when you rotate the device to landscape.
  • Settings Page.
  • Settings Page.

Installation

This section describes how to install the plugin and get it working.

  1. Download and extract plugin files to a folder in your wp-content/plugin directory.
  2. Activate the plugin through the WordPress admin interface.
  3. Start using in your theme

If you have any questions or problems please make a post here: https://wordpress.org/support/plugin/prevent-landscape-rotation/

Reviews

يوليوز 15, 2021
Good plugin ! Thank you for your solution, it's help a lot
ماي 3, 2021
Excellent plugin and great support! Simple to setup and haven't had any issues.
أبريل 30, 2021
Super awesome plugin, love the simplicity. The Author is very supportive. I hope we can see a prevent portrait mode in addition - perhaps in future updates! Again thank you!!
Read all 3 reviews

Contributors & Developers

“Prevent Landscape Rotation” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.0

  • New settings page (Now you can select/change text and colors).
  • Fixed message not showing while reloading landscape page.
  • Minor bug fixes & Improvements.

1.1

  • CSS fix
  • Confirmed working with WordPress 5.6

1.0

  • Initial release.