{"id":18404,"date":"2012-06-09T19:33:52","date_gmt":"2012-06-09T19:33:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/51degreesmobi\/"},"modified":"2014-12-04T15:57:06","modified_gmt":"2014-12-04T15:57:06","slug":"51degreesmobi","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/51degreesmobi\/","author":9581532,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"3.1.5.2","stable_tag":"3.1.5.2","tested":"3.9.40","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"51Degrees Mobile Device Detector","header_author":"51Degrees","header_description":"","assets_banners_color":"dcdcdc","last_updated":"2014-12-04 15:57:06","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/51Degrees.com","header_plugin_uri":"http:\/\/51degrees.com\/Support\/Documentation\/PHP\/Distributions\/Wordpress.aspx","header_author_uri":"http:\/\/51Degrees.com","rating":3.4,"author_block_rating":0,"active_installs":30,"downloads":17322,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"2.1.10.3 BETA":"<ul>\n<li>Current release. Upgrade to this to start receiving device detection data.<\/li>\n<\/ul>"},"ratings":{"1":"2","2":0,"3":0,"4":0,"5":"3"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"555414","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.1.11.10","2.1.11.11","2.1.11.9","2.1.12.1","2.1.13.2","2.1.14.3","2.1.15.1","2.1.15.2","2.1.15.3","3.1.2.1","3.1.2.1-rc1","3.1.3.1","3.1.4.2","3.1.4.3","3.1.5.2"],"block_files":[],"assets_screenshots":{"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1567122","resolution":"5","location":"plugin"},"screenshot-7.png":{"filename":"screenshot-7.png","revision":"1567122","resolution":"7","location":"plugin"},"screenshot-6.png":{"filename":"screenshot-6.png","revision":"1567122","resolution":"6","location":"plugin"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1567122","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1567122","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1567122","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1567122","resolution":"1","location":"plugin"}},"screenshots":{"1":"Overview of basic properties available being used over multiple rule tabs.","2":"How advanced properties are chosen.","3":"Selecting different themes for a device.","4":"The automatic update with a licence key feature.","5":"The included Small Screen theme.","6":"The included Smart Phone theme.","7":"The included Tablet theme."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1124,1123,1126,841,1125],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-18404","plugin","type-plugin","status-closed","hentry","plugin_tags-detection","plugin_tags-device","plugin_tags-handset","plugin_tags-mobile","plugin_tags-optimisation","plugin_committers-51degrees"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/51degreesmobi_dcdcdc.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/51degreesmobi\/trunk\/screenshot-1.png?rev=1567122","caption":"Overview of basic properties available being used over multiple rule tabs."},{"src":"https:\/\/ps.w.org\/51degreesmobi\/trunk\/screenshot-2.png?rev=1567122","caption":"How advanced properties are chosen."},{"src":"https:\/\/ps.w.org\/51degreesmobi\/trunk\/screenshot-3.png?rev=1567122","caption":"Selecting different themes for a device."},{"src":"https:\/\/ps.w.org\/51degreesmobi\/trunk\/screenshot-4.png?rev=1567122","caption":"The automatic update with a licence key feature."},{"src":"https:\/\/ps.w.org\/51degreesmobi\/trunk\/screenshot-5.png?rev=1567122","caption":"The included Small Screen theme."},{"src":"https:\/\/ps.w.org\/51degreesmobi\/trunk\/screenshot-6.png?rev=1567122","caption":"The included Smart Phone theme."},{"src":"https:\/\/ps.w.org\/51degreesmobi\/trunk\/screenshot-7.png?rev=1567122","caption":"The included Tablet theme."}],"raw_content":"<!--section=description-->\n<p>The 51Degrees mobile device detection plugin is a complete pack to help mobilize your website and blog.<\/p>\n\n<p>It includes a mobile device detector and switcher to select themes based on the type of device visiting your website, a selection of mobile themes and an administration tool to allow easy, quick implementation.<\/p>\n\n<p>Features include:<\/p>\n\n<ul>\n<li><p><strong>Mobile detection and switcher<\/strong> which automatically detects and switches between desktop \/ mobile theme, or the request can be redirected to another URL<\/p><\/li>\n<li><p><strong>Easy to use administration tool<\/strong> to set-up and define redirection rules. The plugin can be downloaded and working within minutes. Rules can be defined to treat small <a href=\"http:\/\/51degrees.com\/Resources\/Property-Dictionary#IsSmallScreen\">screen mobile devices<\/a>, <a href=\"http:\/\/51degrees.com\/Resources\/Property-Dictionary#IsSmartPhone\">smartphones<\/a> and <a href=\"http:\/\/51degrees.com\/Resources\/Property-Dictionary#IsTablet\">tablets<\/a> differently.<\/p><\/li>\n<li><p><strong>Selection of preinstalled mobile themes<\/strong> designed by Wave Mobile<\/p><\/li>\n<li><p><strong>Detects over 150,000 mobile device<\/strong> combinations and updated regularly.  No cloud services, PHP extensions or external components are required. Once installed the detected device properties are also available to theme developers.<\/p><\/li>\n<li><p><strong>Developed and supported by 51Degrees<\/strong> a leader in mobile device detection tools and used by 1.5 million websites. Additional detection capabilities including Tablet, Smartphone, Small Screen \/ Feature phones and additional themes are available from the 51Degrees website.<\/p><\/li>\n<\/ul>\n\n<p>The plugin is provided for free to all WordPress users under the Mozilla Public Licence 2.<br \/>\nFor more information please visit our <a href=\"http:\/\/51Degrees.mobi\/purchase\/wordpress.aspx\">website<\/a>.<\/p>\n\n<h3>Known issues<\/h3>\n\n<ul>\n<li>Update button may not work on some server configurations.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>The plugin can be installed via the normal Wordpress method. However, if this is not available you can also these other methods:<\/p>\n\n<p>If you have set up FTP access:<\/p>\n\n<ul>\n<li><p>Go to Wordpress admin, mouse over plugins, click \"Add new\", then click \"Upload\" at the top of the screen.<\/p><\/li>\n<li><p>Click \"choose file\", find the zip file, and click \"install now\", then follow the on-screen instructions.<\/p><\/li>\n<\/ul>\n\n<p>If you have not set up FTP access, or if there are problems with the above unzip the plugin to \/wp-content\/plugins\/<\/p>\n\n<p>After installation, the plugin has several options you may wish to change:<\/p>\n\n<ul>\n<li><p>Open the Wordpress admin dashboard.<\/p><\/li>\n<li><p>Select Plugins &gt; Installed Plugins<\/p><\/li>\n<li><p>Underneath 51Degrees.com Device Detection, select 'Activate'<\/p><\/li>\n<li><p>Select Settings &gt; 51Degrees.mobi<\/p><\/li>\n<li><p>Create rules to handle different types of mobile device. <a href=\"http:\/\/51degrees.com\/Support\/Documentation\/PHP\/Distributions\/Wordpress.aspx\" title=\"Wordpress User Guide\">See user guide for details<\/a>.<\/p><\/li>\n<\/ul>\n\n<p><strong>Theme Developers<\/strong><\/p>\n\n<ol>\n<li>After selecting settings:<\/li>\n<\/ol>\n\n<ul>\n<li><p>Go to your theme's folder ('twentyfourteen' by default)<\/p><\/li>\n<li><p>Open the index.php file and within a php tag add:<\/p>\n\n<p>global $_51d;\n echo $_51d['IsMobile'];<\/p><\/li>\n<li><p>You should see the value as a string, 'True' or 'False'.<\/p><\/li>\n<li><p>You can use var_dump($_51d) to see all the properties available, or check our [property guide] (http:\/\/51degrees.com\/Resources\/Property-Dictionary \"Property dictionary\").<\/p><\/li>\n<li><p>You can use the session variable to prevent theme switching, useful for providing a 'view desktop button'.<\/p>\n\n<p>$_SESSION['NO_SWITCH'] = true; \/\/ The user will no longer be switched.<\/p><\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>When will the FAQs be added?<\/dt>\n<dd><p>The FAQ section will be updated as relevant questions are asked of us.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.1.5.2<\/h4>\n\n<ul>\n<li>Fixed error where advanced properties selections could not be saved.<\/li>\n<li>Fixed error that didn't show all options for advanced properties.<\/li>\n<\/ul>\n\n<h4>3.1.4.3<\/h4>\n\n<ul>\n<li>Fixed bug where metadata caches would not be removed.<\/li>\n<li>Feature.js property names are now stripped of '\/' characters so they\ndon't cause parser errors.<\/li>\n<li>Fixed bug where Feature Detection script would not be created in the core.js\nscript.<\/li>\n<\/ul>\n\n<h4>3.1.3.1<\/h4>\n\n<ul>\n<li>Removed usage of the method DirectoryIterator::getExtension() in\n51Degrees_metadata.php as it is not available in PHP 5.3.5 and earlier.<\/li>\n<\/ul>\n\n<h4>3.1.2.1<\/h4>\n\n<ul>\n<li>Updated the detection library to version 3.1 of the 51Degrees Detector. This\ndrastically improves detection speed and ease of use, as there is now only one\nunified data file. See https:\/\/github.com\/51Degreesmobi\/51Degrees-PHP .<\/li>\n<\/ul>\n\n<h4>2.1.15.3<\/h4>\n\n<ul>\n<li>Removed a dead link from the plugin and documentation.<\/li>\n<\/ul>\n\n<h4>2.1.15.2<\/h4>\n\n<ul>\n<li>Updated data 10.10.2013<\/li>\n<\/ul>\n\n<h4>2.1.15.1<\/h4>\n\n<ul>\n<li>Descriptions have been added to the plugin screens.<\/li>\n<li>Changed 'Show Advanced Properties' to be more visible.<\/li>\n<li>Added a section linking to documentation.<\/li>\n<\/ul>\n\n<h4>2.1.14.3<\/h4>\n\n<ul>\n<li>Descriptions have been added to the plugin screens.<\/li>\n<li>Changed 'Show Advanced Properties' to be more visible.<\/li>\n<li>Added a section linking to documentation.<\/li>\n<\/ul>\n\n<h4>2.1.13.2<\/h4>\n\n<ul>\n<li>Fixed issue where theme list wouldn't display properly.<\/li>\n<li>Added new 'Vanilla' theme for designed for desktop devices.<\/li>\n<\/ul>\n\n<h4>2.1.12.1<\/h4>\n\n<ul>\n<li>The detector now uses a new data format that simplifies activation and should fix installation errors that occurs with some shared hosting.<\/li>\n<\/ul>\n\n<h4>2.1.11.11<\/h4>\n\n<ul>\n<li>Plugin no longer in beta.<\/li>\n<li>Fixed bug where the theme switcher wasn't being properly disabled by setting $_SESSION['NO_SWITCH'] to true.<\/li>\n<\/ul>\n\n<h4>2.1.11.10 BETA<\/h4>\n\n<ul>\n<li>Themes in the plugin admin menu now appear alphabetically.<\/li>\n<\/ul>\n\n<h4>2.1.11.9 BETA<\/h4>\n\n<ul>\n<li><p>Plugin now includes 3 new themes.<\/p><\/li>\n<li><p>More reliable update process that handles failures gracefully with readable errors messages.<\/p><\/li>\n<\/ul>\n\n<h4>2.1.10.3 BETA<\/h4>\n\n<ul>\n<li>Includes complete theme switcher and redirection administration user interface.<\/li>\n<\/ul>\n\n<h4>0.51 BETA<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"The 51Degrees mobile device detection plugin mobilizes your site. Easy setup including mobile switcher, themes and administration tool.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/18404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=18404"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/51degrees"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=18404"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=18404"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=18404"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=18404"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=18404"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=18404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}