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

Sseeboaseka 1, 2022
simple and easy, maybe we need little more options like change bacground image, prevent various devices, example desktop tablet or large screen, in order to force only the portrait mobile view. by the way it is a very good plugin
Gatonnya 5, 2022
Thanks for developing and maintaining this plugin. 🙂 It would be nice if you consider adding more options for customization of how the plugin works and looks. Keep up the good work. Cheers!
Kasambula 15, 2021
Good plugin ! Thank you for your solution, it’s help a lot
Muzigo 3, 2021
Excellent plugin and great support! Simple to setup and haven’t had any issues.
Read all 7 reviews

Contributors & Developers

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

Contributors

Changelog

2.1

  • Confirmed working with WordPress 6.4.2
  • Fixed csrf issue
  • Minor bug fixes & security improvements.

2.0

  • Fixed conflict with Preloader Plus plugin
  • Confirmed working with WordPress 5.8.1
  • 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.