Title: Prevent Landscape Rotation
Author: Arul Prasad J
Published: <strong>19 mars 2020</strong>
Last modified: 25 avril 2025

---

Recherche d’extensions

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

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

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

# Prevent Landscape Rotation

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

[Télécharger](https://downloads.wordpress.org/plugin/prevent-landscape-rotation.2.1.zip)

 * [Détails](https://fr.wordpress.org/plugins/prevent-landscape-rotation/#description)
 * [Avis](https://fr.wordpress.org/plugins/prevent-landscape-rotation/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/prevent-landscape-rotation/#installation)
 * [Développement](https://fr.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).

## Captures d’écrans

[⌊Message alert showing when you rotate the device to landscape.⌉⌊Message alert 
showing when you rotate the device to landscape.⌉[

Message alert showing when you rotate the device to landscape.

[⌊Settings Page.⌉⌊Settings Page.⌉[

Settings Page.

[⌊Settings Page.⌉⌊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/

## Avis

![](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 avril 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 avril 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 juin 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 janvier 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 juillet 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 mai 2021

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

 [ Lire les 7 avis ](https://wordpress.org/support/plugin/prevent-landscape-rotation/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« Prevent Landscape Rotation » est un logiciel libre. Les personnes suivantes ont
contribué à cette extension.

Contributeurs

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

[Traduisez « Prevent Landscape Rotation » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/prevent-landscape-rotation)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/prevent-landscape-rotation/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/prevent-landscape-rotation/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/prevent-landscape-rotation/)
par [RSS](https://plugins.trac.wordpress.org/log/prevent-landscape-rotation/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

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

## Méta

 *  Version **2.1**
 *  Dernière mise à jour **il y a 2 ans**
 *  Installations actives **1 000+**
 *  Version de WordPress ** 4.3 ou plus **
 *  Testé jusqu’à **6.8.12**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/prevent-landscape-rotation/)
 * Étiquettes
 * [dialogue](https://fr.wordpress.org/plugins/tags/dialogue/)[front end](https://fr.wordpress.org/plugins/tags/front-end/)
   [mobile](https://fr.wordpress.org/plugins/tags/mobile/)[prevent](https://fr.wordpress.org/plugins/tags/prevent/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/prevent-landscape-rotation/advanced/)

## Évaluations

 4.7 sur 5 étoiles.

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

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

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

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

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

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://paypal.me/arulprasadj?locale.x=en_GB)