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.
閱讀全部7個評價

貢獻者及開發者

“Prevent Landscape Rotation” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Prevent Landscape Rotation 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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.