{"id":20170,"date":"2012-10-05T17:16:11","date_gmt":"2012-10-05T17:16:11","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/stein-mobile-switcher\/"},"modified":"2012-10-29T20:31:59","modified_gmt":"2012-10-29T20:31:59","slug":"stein-mobile-switcher","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/stein-mobile-switcher\/","author":10377345,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.8.4","stable_tag":"trunk","tested":"3.4.2","requires":"3.4.2","requires_php":"","requires_plugins":"","header_name":"Stein Mobile Switcher","header_author":"Matthias Stein","header_description":"","assets_banners_color":"","last_updated":"2012-10-29 20:31:59","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=9Y2DV45N7DLGJ","header_plugin_uri":"http:\/\/www.steinm.com\/blog\/stein-mobile-switcher\/","header_author_uri":"http:\/\/www.steinm.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2061,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.8":"<ul>\n<li>Adds separate iPhone\/iPod Detection: please activate a separate iPhone-Theme in the Plugin-Settings<\/li>\n<li>Bugfix in Link-Visibility<\/li>\n<\/ul>","0.7":"<ul>\n<li>fixes some small bugs<\/li>\n<\/ul>","0.6":"<p>Adds German Translation<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1539144","resolution":"1","location":"plugin"}},"screenshots":{"1":"Admin area"}},"plugin_section":[],"plugin_tags":[841,1140,975,1141],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-20170","plugin","type-plugin","status-closed","hentry","plugin_tags-mobile","plugin_tags-switcher","plugin_tags-template","plugin_tags-theme","plugin_committers-steinm"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/stein-mobile-switcher.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/stein-mobile-switcher\/trunk\/screenshot-1.jpg?rev=1539144","caption":"Admin area"}],"raw_content":"<!--section=description-->\n<p>The Stein Mobile Switcher detects which device (e.g. Smartphone, iPhone, Tablet) your visitor is using and enables a theme you specified. You may also display links to the different device-versions in your templates (see F.A.Q.).<\/p>\n\n<!--section=installation-->\n<h4>Upgrading From A Previous Version<\/h4>\n\n<p>To upgrade from a previous version of this plugin, delete the entire folder and files from the previous version of the plugin and then follow the installation instructions below.<\/p>\n\n<h4>Uploading The Plugin<\/h4>\n\n<p>Extract all files from the ZIP file and then upload it to <code>\/wp-content\/plugins\/<\/code>.<\/p>\n\n<p><strong>See Also:<\/strong> <a href=\"http:\/\/codex.wordpress.org\/Managing_Plugins#Installing_Plugins\">\"Installing Plugins\" article on the WP Codex<\/a><\/p>\n\n<h4>Plugin Activation<\/h4>\n\n<p>Go to the admin area of your WordPress install and click on the \"Plugins\" menu. Click on \"Activate\" for the \"Stein Mobile Switcher\" plugin.<\/p>\n\n<h4>Plugin Usage<\/h4>\n\n<p>In the admin area go to \"Appearance -&gt; Stein Mobile Switcher\" and choose a template for each device.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>How can I add Links to the other device-versions in my templates?<\/dt>\n<dd><p>Use the following functions to do that:<\/p>\n\n<ul>\n<li>sms_link_to_site($visibility = 'all', $target='full', $text = '') - Shows the \"target\"-Template<\/li>\n<\/ul>\n\n<p>$visibility is the entry device of the visitor. Possible values are \"all\", \"mobile\", \"iphone\" and \"tablet\". E.g. if you want a link to the normal template to be visible only to smartphone users:\n    <\/p>\n\n<p>You can also use OR:\n    <\/p>\n\n<p>$target specifies the Target-Template. Possible values are:<\/p>\n\n<ol>\n<li>tablet - Link to the Tablet-Site,<\/li>\n<li>iphone - Link to the iPhone\/iPod-Site,<\/li>\n<li>mobile - Link to the Smartphone-Site,<\/li>\n<li>full - Link to the normal Site<\/li>\n<\/ol>\n\n<p>$text is the displayed link text.<\/p>\n\n<p>Example usage:\n    <\/p><\/dd>\n<dt>How can I style the Links?<\/dt>\n<dd><p>The links have a class equally to the functions name and target: class=\"sms_link_to_site_TARGET\" (e.g. \"sms_link_to_site_mobile\"). Just style them with regular CSS.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.8.4<\/h4>\n\n<ul>\n<li>Bugfix for Links to \"Full\"-Site<\/li>\n<\/ul>\n\n<h4>0.8<\/h4>\n\n<ul>\n<li>Added separate iPhone\/iPod Detection<\/li>\n<li>Bugfix in Link-Visibility<\/li>\n<\/ul>\n\n<h4>0.7<\/h4>\n\n<ul>\n<li>some smaller Bugfixes<\/li>\n<\/ul>\n\n<h4>0.6<\/h4>\n\n<ul>\n<li>Added German Translation<\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"The Stein Mobile Switcher detects which device (e.g. Smartphone, iPhone, Tablet) your visitor is using and enables a theme you specified.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/20170","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=20170"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/steinm"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=20170"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=20170"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=20170"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=20170"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=20170"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=20170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}