Title: Prevent Landscape Rotation
Author: Arul Prasad J
Published: <strong>Мартъи 19, 2020</strong>
Last modified: Апрель 25, 2025

---

Search plugins

![](https://ps.w.org/prevent-landscape-rotation/assets/banner-772x250.jpg?rev=2263606)

![](https://ps.w.org/prevent-landscape-rotation/assets/icon-256x256.jpg?rev=2263606)

# Prevent Landscape Rotation

 By [Arul Prasad J](https://profiles.wordpress.org/arulprasadj/)

[Download](https://downloads.wordpress.org/plugin/prevent-landscape-rotation.2.1.zip)

 * [Details](https://os.wordpress.org/plugins/prevent-landscape-rotation/#description)
 * [Reviews](https://os.wordpress.org/plugins/prevent-landscape-rotation/#reviews)
 *  [Installation](https://os.wordpress.org/plugins/prevent-landscape-rotation/#installation)
 * [Development](https://os.wordpress.org/plugins/prevent-landscape-rotation/#developers)

 [Support](https://wordpress.org/support/plugin/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](https://paypal.me/arulprasadj?locale.x=en_GB).

If you need to Prevent Portrait Rotaion, [Please contact me](https://arulprasadj.com).

## 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

![](https://secure.gravatar.com/avatar/c6611022a801a3fbe0491ddff4d8ec2ff5fb0f410390cf84d4f5ebdccb1fda81?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-38777/)󠁿

 [nanonew](https://profiles.wordpress.org/nanonew/) Апрель 14, 2024

Great Plugin

![](https://secure.gravatar.com/avatar/c34ec7e3ecd3e42768a691b2d282c9774436c027a0688f59b8190fcb1bd66450?
s=60&d=retro&r=g)

### 󠀁[Works well on mobiles, not on tablets](https://wordpress.org/support/topic/works-well-on-mobiles-not-on-tablets/)󠁿

 [newty](https://profiles.wordpress.org/newty/) Апрель 3, 2024

Works well on mobiles but I got the reverse experience on tablets. A fix should 
be done for it.

![](https://secure.gravatar.com/avatar/386632690a2d57bf78f9f406403f448a67bb3f7743acd42d277b30d79baedd0d?
s=60&d=retro&r=g)

### 󠀁[very good](https://wordpress.org/support/topic/very-good-6417/)󠁿

 [milord85](https://profiles.wordpress.org/milord85/) Июнь 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

![](https://secure.gravatar.com/avatar/bd32ec9cd108d4da374f25e02a072568ef20be167ffcc318d2ca620be1435ec0?
s=60&d=retro&r=g)

### 󠀁[Works as advertised](https://wordpress.org/support/topic/works-as-advertised-793/)󠁿

 [apollosk](https://profiles.wordpress.org/apollosk/) Январь 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!

![](https://secure.gravatar.com/avatar/49179f8567920dce041b93f408fecefd75d437a90ed73e9f4828f4c27c7665f1?
s=60&d=retro&r=g)

### 󠀁[Best](https://wordpress.org/support/topic/best-1021/)󠁿

 [SITEWEB44](https://profiles.wordpress.org/siteweb44/) Июль 15, 2021

Good plugin ! Thank you for your solution, it’s help a lot

![](https://secure.gravatar.com/avatar/265e46bd6f1971133a1c06e591ab2625ef9e737b38cf728199f5dba29725edda?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-30751/)󠁿

 [tokodesign](https://profiles.wordpress.org/tokodesign/) Май 3, 2021

Excellent plugin and great support! Simple to setup and haven’t had any issues.

 [ Read all 7 reviews ](https://wordpress.org/support/plugin/prevent-landscape-rotation/reviews/)

## Contributors & Developers

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

Contributors

 *   [ Arul Prasad J ](https://profiles.wordpress.org/arulprasadj/)

[Translate “Prevent Landscape Rotation” into your language.](https://translate.wordpress.org/projects/wp-plugins/prevent-landscape-rotation)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/prevent-landscape-rotation/),
check out the [SVN repository](https://plugins.svn.wordpress.org/prevent-landscape-rotation/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/prevent-landscape-rotation/)
by [RSS](https://plugins.trac.wordpress.org/log/prevent-landscape-rotation/?limit=100&mode=stop_on_copy&format=rss).

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

## Meta

 *  Version **2.1**
 *  Last updated **12 months ago**
 *  Active installations **1,000+**
 *  WordPress version ** 4.3 or higher **
 *  Tested up to **6.8.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/prevent-landscape-rotation/)
 * Tags
 * [dialogue](https://os.wordpress.org/plugins/tags/dialogue/)[front end](https://os.wordpress.org/plugins/tags/front-end/)
   [mobile](https://os.wordpress.org/plugins/tags/mobile/)[prevent](https://os.wordpress.org/plugins/tags/prevent/)
 *  [Advanced View](https://os.wordpress.org/plugins/prevent-landscape-rotation/advanced/)

## Ratings

 4.7 out of 5 stars.

 *  [  6 5-star reviews     ](https://wordpress.org/support/plugin/prevent-landscape-rotation/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/prevent-landscape-rotation/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/prevent-landscape-rotation/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/prevent-landscape-rotation/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/prevent-landscape-rotation/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/prevent-landscape-rotation/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/prevent-landscape-rotation/reviews/)

## Contributors

 *   [ Arul Prasad J ](https://profiles.wordpress.org/arulprasadj/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/prevent-landscape-rotation/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://paypal.me/arulprasadj?locale.x=en_GB)