Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

How can i disable a plugin for a mobile phone?

There is wp_is_mobile() function to conditionally display (or block) content for mobile users.

<?php if (!wp_is_mobile()) : ?>

    <!-- Stuff to hide from mobile users -->

<?php endif; ?>

Related Posts:

  1. Proper usage of wp_is_mobile()?
  2. Elements floating on top of each other when Resizing or checking site on mobile. Twenty Twelve
  3. My website is not responsive on mobile devices
  4. Best method for loading content on mobile – issue with wp_is_mobile
  5. Why is only one page responsive? [closed]
  6. Open Menu is not working in Mobile view [closed]
  7. $is_iphone – to redirect a page
  8. Disable rendering of objects on mobile/above certain screen resolution
  9. How can I hide/show text only for mobile users?
  10. responsive website
  11. Not working Mobile view and Desktop view properly when we searched on website
  12. What is the difference between “SMS Push” and “WAP Push”?
  13. How-to make the admin area mobile friendly [closed]
  14. How do I make my blog iPad / iPhone / Android friendly?
  15. How-to add rewrite rules to point the uploads folder to a subdomain
  16. WordPress REST endpoint with JSON for Mobile App integration
  17. WordPress on WP7
  18. Developing mobile version of WordPress site
  19. How can I make a wp site in a mobile application?
  20. How to switch css files according to devices and button click?
  21. Convert WP Menu to a Drop Down for Mobile browser
  22. Why I am getting Parse error: syntax error when I use ‘wp_is_mobile’?
  23. Mobile Menu Not Showing
  24. Querying custom fields with Carrington mobile theme
  25. Multiple amp-image overlays. How to properly do this in wordpress?
  26. Mobile issue – website isn’t properly detecting screen size [closed]
  27. Is there any mobile application for WordPress? [closed]
  28. detect screen width in functions
  29. Using SRCSET with Images and Featured Images
  30. Old Site displays on Mobile View, not New Site
  31. A URL that links specifically to the mobile version of my site?
  32. How to disable/enable specific plugins for a mobile theme?
  33. Mobile theme not showing correct page after custom re-writes
  34. Disabling Wp_is_mobile from backend?
  35. How to load different homepage on Mobile.?
  36. Serve a different theme based on window size
  37. Strategy for making a mobile version of an existing site? [closed]
  38. How can I redirect mobile users to diff url, but also allow them to come back to full site
  39. Change Header Image on Blog Post for Mobile View
  40. Menu toggle bar works only on some pages in WordPress
  41. WordPress website loads fine on desktop browsers but Safari for iOS cannot load it completely [closed]
  42. Static page for desktop or mobile
  43. How do I get the access type in WordPress?
  44. Disable Media File Image Link On Mobile Devices
  45. Change Image Sizes for Mobile Theme
  46. Twenty Eleven Theme Adjusts for iPhones. How to stop this feature?
  47. Quick login from mobile phone
  48. Efficient wp mobile menu
  49. Button and Countdown overlapping mobile menu
  50. How can I use my blog page as the homepage but only for mobile/tablet visits?
  51. Dropdown menu not displaying in handheld slide menu effect
  52. create a button in the header of the mobile menu in the middle of the logo and the menu accordion
  53. How to disable the topbar in mobile? [closed]
  54. Shortcode function not showing up on mobile browser
  55. Mobile menu displays submenus on top of parent. Need it to display right below on an own line
  56. WordPress mobil will not scroll
  57. How to make in wordpress a gallery with 3 colums to 1 on mobile devices responsive?
  58. How to center entire columns on a page, and have it stay responsive?
  59. New Styles Not Rendering On Mobile Phone and Tablet
  60. Adapting “wide with” Gutenberg blocks for mobile
  61. Close Mobile Slide Menu on Click
  62. Decide how Hero image appears on mobile
  63. Responsive images with srcset
  64. Different Home page for Mobile without changing URL
  65. App in wordpress doesnt fit to mobile screen
  66. Add audio post from smartphone
  67. Display posts on a map
  68. Sidebar widgets are over the content in mobile mode, how can I fix it? [closed]
  69. menu mobile show up even i in desktop mode in Newspaper Theme
  70. Should I detect the device or the page first?
  71. Mobile Menu not working on TwentyThirteen child theme
  72. change theme when on mobile and also on Ipad portrait view
  73. Subdomain for WP Mobile Edition and Cloudfare
  74. How can I stop Jetpack mobile theme from using full size featured images?
  75. website is viewing as mobile, how do I turn this off?
  76. Work on two different themes at the same time in wordpress
  77. How to disable fancybox on small screens
  78. Add exception to WP Mobile Detector
  79. Using WordPress as a Mobile App Backend
  80. WordPress Mobile Edition not working with WP v3.5
  81. Why doesn’t the mobile version of my website take updates?
  82. Links not showing up on “AMPforWP”
  83. Viewing a WordPress website in landscape [closed]
  84. different startsite for IOS and change menu
  85. wordpress fancybox responsive mobile or pc version [closed]
  86. Separate Mobile site
  87. Navigation menu, remove item from desktop
  88. Custom page template not working on mobile
  89. How can I only show one responsive menu on mobile devices?
  90. Not able to see updates my mobile after making updates on wordpress mobile version
  91. Mobile App Not Posting, Debugging Options
  92. How to hide or change mobile header logo with Additional CSS or custom PHP
  93. Responsive Menu: Center vertically [closed]
  94. List repeating share links
  95. Switch to other theme at URL
  96. No responsive design is displayed
  97. Responsive scaling of image for the_post_thumbnail() [closed]
  98. making a plugin that moves other plugins wp_head actions to wp_footer
  99. Serve different images per screen size and cache possible?
  100. Add Flatr button to Sharing option
Categories mobile Tags mobile, responsive, social-sharing
Multiple Content Block
Hook for fail and successful login actions

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress