ವಿವರಣೆ
This plugin works with the open source Mobile Detect Library. You can get further information on its website.
[ismobile device='iphone' debug=true ] Your content [/ismobile]
Parameters
- device: Filters the device where you want the content to be shown. It could be more than one device, simply separate them with comma.
- debug: Shows Mobile Detect Library installed version. Also shows two arrays. The first one contains the devices which the library detects and the second one contains the devices where you want to show the content.
Values
- android: Shows content in Android devices.
- chrome: Shows content on Chrome browser (Only works on mobile devices).
- desktop: Shows content on a computer. Opposite to mobile option.
- ios: Shows content in iOS devices.
- ipad: Shows content on a iPad.
- iphone: Shows content on a iPhone.
- mobile: Shows content on a mobile device (includes tablets and cell phones). Opposite to desktop option.
- phone: Shows content on a cell phone.
- safari: Shows content on Safari browser (Only works on mobile devices).
- samsung: Shows content on Samsung devices.
- tablet: Shows content on a tablet.
ಸ್ಥಾಪನೆ
This section describes how to install the plugin and get it working.
- Upload the entire plugin folder to the /wp-content/plugins/ directory.
- Activate the plugin through the “Plugins” menu in WordPress.
- Go to Plugins -> isMobile() to read plugin’s help page.
Minimum Requirements
- PHP version 7.4 or greater
ವಿಮರ್ಶೆಗಳು
ಕೊಡುಗೆದಾರರು & ಡೆವಲಪರ್ಗಳು
“isMobile() Shortcode for WordPress” ಓಪನ್ ಸೋರ್ಸ್ ಸಾಫ್ಟ್ವೇರ್ ಆಗಿದೆ. ಕೆಳಗಿನ ಜನರು ಈ ಪ್ಲಗಿನ್ಗೆ ಕೊಡುಗೆ ನೀಡಿದ್ದಾರೆ.
ಕೊಡುಗೆದಾರರು“isMobile() Shortcode for WordPress” has been translated into 4 locales. ಅವರ ಕೊಡುಗೆಗಳಿಗಾಗಿ ಅನುವಾದಕರು ಅವರಿಗೆ ಧನ್ಯವಾದಗಳು.
“isMobile() Shortcode for WordPress” ಅನ್ನು ನಿಮ್ಮ ಭಾಷೆಗೆ ಅನುವಾದಿಸಿ.
ಅಭಿವೃದ್ಧಿಯಲ್ಲಿ ಆಸಕ್ತಿ ಇದೆಯೇ?
ಕೋಡ್ ಬ್ರೌಸ್ ಮಾಡಿ, SVN ರೆಪೊಸಿಟರಿ ಪರಿಶೀಲಿಸಿ, ಅಥವಾ ಅಭಿವೃದ್ಧಿ ಲಾಗ್ ಗೆ RSS ಚಂದಾದಾರರಾಗಿ.
Changelog
2.0.0
- Mobile Detect Library updated to Version 3.74.4 (LTS branch, namespace
Detection\MobileDetect), installed via Composer. This branch supports PHP 7.4 and up with no upper bound, so a single bundled version covers the plugin’s whole supported PHP range. The old single-filelibs/Mobile_Detect.php(2.x, deprecated upstream) is no longer bundled. - Rebuilt Mobile Detect library loading as a compatibility layer that reuses a library already loaded by the theme/another plugin if present, instead of hardcoding one specific class.
- Fixed a bug where the library could be loaded twice (fatal “Cannot redeclare class”) under certain conditions.
- Detection calls no longer fatal the site if the underlying library throws or is missing a method; they safely fall back instead.
- Added index.php files to every plugin folder to prevent directory listing.
- Removed the manual load_plugin_textdomain() call (discouraged since WP 4.6; WordPress.org loads translations automatically for hosted plugins).
- Replaced print_r() with implode() in the debug output, and unslashed/hardened the $_GET[‘page’] read used to conditionally enqueue admin CSS.
- Minimum PHP version: 7.4
1.1.2
- Updated last WordPress version tested
- Security fixes
1.1.1
- Mobile Detect Library downgrade to Version 2.8.41
1.1
- Updated last WordPress version tested
- Mobile Detect Library updated to Version 3.74.0
- Minimum PHP version: 7.4
1.0.3
- Updated last WordPress version tested
1.0.2
- Mobile Detect Library updated to Version 2.8.39
1.0.1
- Mobile Detect Library updated to Version 2.8.34
1.0
- Initial Release
