Prevent Landscape Rotation

描述

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.

屏幕截图

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

安装

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/

评价

2022年6月1日
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
2022年1月5日
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!
2021年7月15日
Good plugin ! Thank you for your solution, it's help a lot
2021年5月3日
Excellent plugin and great support! Simple to setup and haven't had any issues.
2021年4月30日
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!!
阅读所有5条评价

贡献者及开发者

“Prevent Landscape Rotation” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

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.