{"id":6545,"date":"2009-08-25T18:44:41","date_gmt":"2009-08-25T18:44:41","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/alternative-theme-switcher\/"},"modified":"2009-08-28T12:16:59","modified_gmt":"2009-08-28T12:16:59","slug":"alternative-theme-switcher","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/alternative-theme-switcher\/","author":4105144,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1.1","stable_tag":"0.1.1","tested":"2.8.3","requires":"2.8.3","requires_php":"","requires_plugins":"","header_name":"Alternative Theme Switcher","header_author":"Frederic Vauchelles, Cathy Vauchelles","header_description":"","assets_banners_color":"","last_updated":"2009-08-28 12:16:59","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/fredpointzero.com","header_plugin_uri":"http:\/\/fredpointzero.com\/plugins-wordpress\/alternative-theme-switcher\/","header_author_uri":"http:\/\/fredpointzero.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2806,"num_ratings":0,"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":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.1"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1566836","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1566836","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566836","resolution":"1","location":"plugin"}},"screenshots":{"1":"Widget screen shot #1","2":"Widget screen shot #2","3":"Back office screen shot"}},"plugin_section":[],"plugin_tags":[6698,1140,1141],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-6545","plugin","type-plugin","status-closed","hentry","plugin_tags-alternative","plugin_tags-switcher","plugin_tags-theme","plugin_committers-fredpointzero"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/alternative-theme-switcher.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/alternative-theme-switcher\/trunk\/screenshot-1.png?rev=1566836","caption":"Widget screen shot #1"},{"src":"https:\/\/ps.w.org\/alternative-theme-switcher\/trunk\/screenshot-2.png?rev=1566836","caption":"Widget screen shot #2"},{"src":"https:\/\/ps.w.org\/alternative-theme-switcher\/trunk\/screenshot-3.png?rev=1566836","caption":"Back office screen shot"}],"raw_content":"<!--section=description-->\n<p>Althernative Theme Switcher make user able to switch the theme of your blog.<\/p>\n\n<p>Admins can select which theme can be selected, and users can choose betwteen those themes and display it !<\/p>\n\n<h3>About switchable themes<\/h3>\n\n<p>There are two kinds of switchable theme. First, you have two themes under your wp-content\/themes directory with the same layout !\nThen, you can choose in your admin these themes.<\/p>\n\n<p>Second, you have one theme and you want to switch only few elements in your current theme.\nTo do this, you can make an alternative theme.\nCreate a directory altThemes in your theme directory and a subdirectory for each alternative theme.\nKeep in mind that the name of the directory will be the name of the subtheme.\nFinally, create a style.css under your alternative theme and place your css rules insides.<\/p>\n\n<p>Do not forget that if the rules you want to switch are also defined in mainTheme\/style.css,\nyou may need to add the !important rule at the end of your alternative css rules.<\/p>\n\n<p>Enjoy !<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the plugin<\/li>\n<li>Copy the directory under your wp-content\/plugins<\/li>\n<li>Enable the plugin in your admin pages<\/li>\n<li>Configure the plugin<\/li>\n<\/ol>\n\n<p>That's all !<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>How do I render the widget ?<\/dt>\n<dd><p>To render the switcher, just paste the following code where you want to display it :\nrender();?&gt;<\/p><\/dd>\n<dt>Where can I find translation files ?<\/dt>\n<dd><p>All translation files can be found in the lang subdirectory. It contains pot, po and mo files.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Object oriented code<\/li>\n<li>Singleton pattern used for the plugin (easier to call widget functions)<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial widget<\/li>\n<\/ul>","raw_excerpt":"Enable user to select their favorite theme or alternative theme while visiting your blog.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/6545","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=6545"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fredpointzero"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=6545"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=6545"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=6545"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=6545"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=6545"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=6545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}