{"id":92483,"date":"2018-11-05T13:04:52","date_gmt":"2018-11-05T13:04:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wordpress-ismobile-shortcode\/"},"modified":"2025-08-30T23:42:14","modified_gmt":"2025-08-30T23:42:14","slug":"ismobile","status":"publish","type":"plugin","link":"https:\/\/ceb.wordpress.org\/plugins\/ismobile\/","author":6208082,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.2","stable_tag":"trunk","tested":"6.8.5","requires":"4.5","requires_php":"7.4","requires_plugins":null,"header_name":"isMobile() Shortcode for WordPress","header_author":"jairoochoa","header_description":"Simple plugin that shows or hides the content depending on the device, its brand or OS through the use of a shortcode. <u>Works with <a title=\"Mobile Detect Library\" target=\"_blank\" href=\"http:\/\/mobiledetect.net\" >Mobile Detect Library<\/a><\/u> version 2.8.33.","assets_banners_color":"947872","last_updated":"2025-08-30 23:42:14","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.dixitalmedia.com\/#que-hacemos","header_author_uri":"https:\/\/www.dixitalmedia.com\/","rating":5,"author_block_rating":0,"active_installs":200,"downloads":3377,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":1969189,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":2967982,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2967982,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2643,1133,224,841,2645],"plugin_category":[],"plugin_contributors":[180343,163908],"plugin_business_model":[],"class_list":["post-92483","plugin","type-plugin","status-publish","hentry","plugin_tags-desktop","plugin_tags-ipad","plugin_tags-iphone","plugin_tags-mobile","plugin_tags-tablet","plugin_contributors-dixitalmedia","plugin_contributors-jairoochoa","plugin_committers-jairoochoa"],"banners":{"banner":"https:\/\/ps.w.org\/ismobile\/assets\/banner-772x250.jpg?rev=2967982","banner_2x":"https:\/\/ps.w.org\/ismobile\/assets\/banner-1544x500.jpg?rev=2967982","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/ismobile\/assets\/icon-256x256.png?rev=1969189","icon_2x":"https:\/\/ps.w.org\/ismobile\/assets\/icon-256x256.png?rev=1969189","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin works with the open source <a title=\"Mobile Detect Library\" href=\"http:\/\/mobiledetect.net\">Mobile Detect Library<\/a>. You can get further information on its website.<\/p>\n\n<pre><code>[ismobile device='iphone' debug=true ] Your content [\/ismobile]\n<\/code><\/pre>\n\n<h4>Parameters<\/h4>\n\n<ol>\n<li><em>device<\/em>: Filters the device where you want the content to be shown. It could be more than one device, simply separate them with comma.<\/li>\n<li><em>debug<\/em>: 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.<\/li>\n<\/ol>\n\n<h4>Values<\/h4>\n\n<ul>\n<li><em>android<\/em>: Shows content in Android devices.<\/li>\n<li><em>chrome<\/em>: Shows content on Chrome browser (Only works on mobile devices).<\/li>\n<li><em>desktop<\/em>: Shows content on a computer. Opposite to mobile option.<\/li>\n<li><em>ios<\/em>: Shows content in iOS devices.<\/li>\n<li><em>ipad<\/em>: Shows content on a iPad.<\/li>\n<li><em>iphone<\/em>: Shows content on a iPhone.<\/li>\n<li><em>mobile<\/em>: Shows content on a mobile device (includes tablets and cell phones). Opposite to desktop option.<\/li>\n<li><em>phone<\/em>: Shows content on a cell phone.<\/li>\n<li><em>safari<\/em>: Shows content on Safari browser (Only works on mobile devices).<\/li>\n<li><em>samsung<\/em>: Shows content on Samsung devices.<\/li>\n<li><em>tablet<\/em>: Shows content on a tablet.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload the entire plugin folder to the \/wp-content\/plugins\/ directory.<\/li>\n<li>Activate the plugin through the \u201cPlugins\u201d menu in WordPress.<\/li>\n<li>Go to Plugins -&gt; isMobile() to read plugin's help page.<\/li>\n<\/ol>\n\n<h4>Minimum Requirements<\/h4>\n\n<ul>\n<li>PHP version 7.4 or greater<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Updated last WordPress version tested<\/li>\n<li>Security fixes<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Mobile Detect Library downgrade to Version 2.8.41<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Updated last WordPress version tested<\/li>\n<li>Mobile Detect Library updated to Version 3.74.0<\/li>\n<li>Minimum PHP version: 7.4<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Updated last WordPress version tested<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Mobile Detect Library updated to Version 2.8.39<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Mobile Detect Library updated to Version 2.8.34<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"This plugin works with the open source Mobile Detect Library. You can get further information on its website.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/92483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=92483"}],"author":[{"embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jairoochoa"}],"wp:attachment":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=92483"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=92483"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=92483"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=92483"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=92483"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=92483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}