{"id":11721,"date":"2011-01-10T15:11:05","date_gmt":"2011-01-10T15:11:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/mobileesp-for-wordpress\/"},"modified":"2019-12-14T06:28:06","modified_gmt":"2019-12-14T06:28:06","slug":"mobileesp-for-wordpress","status":"publish","type":"plugin","link":"https:\/\/te.wordpress.org\/plugins\/mobileesp-for-wordpress\/","author":246418,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.6","stable_tag":"1.6","tested":"5.3.21","requires":"2.8.3","requires_php":"","requires_plugins":"","header_name":"MobileEPS for WordPress","header_author":"Brooke.","header_description":"","assets_banners_color":"569094","last_updated":"2019-12-14 06:28:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/brooke.codes\/projects\/mobileesp4wp","header_author_uri":"https:\/\/broo.ke","rating":5,"author_block_rating":0,"active_installs":20,"downloads":16887,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"5"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1507958","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1507958","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"750511","resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"750511","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1.0","1.1.1","1.1.2","1.1.3","1.2","1.3","1.4","1.5","1.5.1","1.5.2","1.6"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1127,841,43769,727],"plugin_category":[],"plugin_contributors":[179723],"plugin_business_model":[],"class_list":["post-11721","plugin","type-plugin","status-publish","hentry","plugin_tags-browser","plugin_tags-mobile","plugin_tags-mobileesp","plugin_tags-redirect","plugin_contributors-brookedot","plugin_committers-bandonrandon","plugin_committers-brookedot"],"banners":{"banner":"https:\/\/ps.w.org\/mobileesp-for-wordpress\/assets\/banner-772x250.png?rev=750511","banner_2x":"https:\/\/ps.w.org\/mobileesp-for-wordpress\/assets\/banner-1544x500.png?rev=750511","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/mobileesp-for-wordpress\/assets\/icon-128x128.png?rev=1507958","icon_2x":"https:\/\/ps.w.org\/mobileesp-for-wordpress\/assets\/icon-256x256.png?rev=1507958","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This WordPress plugin will detect mobile devices and redirect the user to the mobile-optimized site of your choice (such as subdomain or subfolder). <\/p>\n\n<p>This plugin uses the <a href=\"http:\/\/blog.mobileesp.com\/\">MobileESP<\/a> by Anthony Hand as its detection script (under Apache License 2.0) and is based on <a href=\"http:\/\/wordpress.org\/plugins\/mobile-device-detect\/\"> Mobile Device Detect<\/a> by Matthias Reuter<\/p>\n\n<p>Banner drawing by <a href=\"http:\/\/greyrain.com\">Felix Wolfstrom<\/a>.<\/p>\n\n<h3>To Do<\/h3>\n\n<ul>\n<li>Update options to allow various states of redirect for various devices, ie Android, iPhone, iPad, etc.<\/li>\n<li>Admin settings update with custom cookie time<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>Automattic Install (recommended)<\/h4>\n\n<ol>\n<li>Login to your Dashboard as an admin.<\/li>\n<li>Once logged in select Plugins &gt; Add New from the main menu.<\/li>\n<li>Next search for \"mobileesp-for-wordpress\" (no quotes) and click the install button.<\/li>\n<li>Update the MobileESP for WordPress settings with the url you want mobile viewers to be redirected to.<\/li>\n<\/ol>\n\n<h4>Manual Install<\/h4>\n\n<ol>\n<li>Extract the contents of mobileesp_wp.zip and upload to the wp-content\/plugins folder.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Update the MobileESP for WordPress settings with the url you want mobile viewers to be redirected to.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>I activated the plugin and nothing happened<\/dt>\n<dd><p>This plugin will only redirect users who are viewing the site on a mobile device. You also must first update the redirect URL within the plugin settings.<\/p><\/dd>\n<dt>How can I give my users the option to view the full site<\/dt>\n<dd><p>If you want to use this feature set a link to \"example.com\/?view_full_site=true\" anywhere on your mobile site. The cookie will expire after one day.\nYou may change the expiration time by changing the time()+86400 on line 43.<\/p><\/dd>\n<dt>What about back to the mobile site?<\/dt>\n<dd><p>This can be done one of two ways, you can either link to the mobile site directly (m.example.com) or you can clear the cookie by linking to \"example.com\/?view_full_site=false\" anywhere on your WordPress install.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.6 (2016\/10\/04<\/h4>\n\n<ul>\n<li>UPDATED mdetect.php lib to fileversion 2015.05.13<\/li>\n<li>ENHANCEMENT Added icons to Repo for search. <\/li>\n<\/ul>\n\n<h4>1.5.3 (2013\/03\/13)<\/h4>\n\n<ul>\n<li>BUGFIX  D'oh, how about we don't define <code>__DIR__<\/code> as a constant and just use <code>dirname(__FILE__)<\/code> instead? Sounds great!<\/li>\n<\/ul>\n\n<h4>1.5.2 (2013\/03\/13)<\/h4>\n\n<ul>\n<li>BUGFIX  Was using <code>__DIR__<\/code> which failed on PHP versions prior to 5.3 so added work around.<\/li>\n<\/ul>\n\n<h4>1.5.1 (2013\/03\/08)<\/h4>\n\n<ul>\n<li>UPDATED mdetect.php lib to fileversion 2013.08.01<\/li>\n<li>ENHANCEMENT No longer uses minified PHP source. Wasn't doing anything anyway. <\/li>\n<li>ENHANCEMENT Now uses <code>template_redirect<\/code> hook instead of no hook<\/li>\n<li>ENHANCEMENT Readme.txt clean up and new banner image <\/li>\n<li>BUGFIX Now allows access to wp-admin from a mobile phone<\/li>\n<li>BUGFIX Will still work if the plugin folder name is changed <\/li>\n<li>BUGFIX  Sanitize that user input, yo<\/li>\n<\/ul>\n\n<h4>1.5 (2013\/20\/07)<\/h4>\n\n<ul>\n<li>UPDATED mdetect.php lib to fileversion 2013.07.13<\/li>\n<\/ul>\n\n<h4>1.4 (2013\/26\/02)<\/h4>\n\n<ul>\n<li>UPDATED mdetect.php lib to newest version<\/li>\n<\/ul>\n\n<h4>1.3.1 (2011\/12\/04)<\/h4>\n\n<ul>\n<li>BUGFIX Fixed the full-site redirect (for reals this time) <\/li>\n<\/ul>\n\n<h4>1.3 (2011\/08\/10)<\/h4>\n\n<ul>\n<li>ADDED view_full_site = false to go back to mobile from full site. <\/li>\n<\/ul>\n\n<h4>1.2 (2011\/08\/09)<\/h4>\n\n<ul>\n<li>UPDATED mdetect.php lib to newest version<\/li>\n<li>BUGFIX Now only have to click on \"full site url\" once instead of twice. <\/li>\n<\/ul>\n\n<h4>1.1.3 (2011\/04\/06)<\/h4>\n\n<ul>\n<li>Wrong Plugin Dir for lib class.<\/li>\n<\/ul>\n\n<h4>1.1.2 (2011\/04\/06)<\/h4>\n\n<ul>\n<li>Lib folder was missing from last revision. Someday I'll get used to the SVN thing.<\/li>\n<\/ul>\n\n<h4>1.1.1 (2011\/04\/04)<\/h4>\n\n<ul>\n<li>Added view full site option ability to have the mobile device not redirect by using a cookie.<\/li>\n<\/ul>\n\n<h4>1.1.0 (2011\/04\/02)<\/h4>\n\n<ul>\n<li>Fixed bug preventing Android and iPhone from redirecting<\/li>\n<li>Updated mdetect.php lib to newest version<\/li>\n<li>Minified the PHP source<\/li>\n<\/ul>\n\n<h4>1.0.0 (2011\/01\/08)<\/h4>\n\n<ul>\n<li>Inital release<\/li>\n<\/ul>","raw_excerpt":"Redirect mobile visitors to a mobile-optimized site.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/11721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=11721"}],"author":[{"embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/bandonrandon"}],"wp:attachment":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=11721"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=11721"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=11721"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=11721"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=11721"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=11721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}