{"id":5615,"date":"2009-05-21T22:09:08","date_gmt":"2009-05-21T22:09:08","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-chooseyourtheme\/"},"modified":"2009-05-25T22:35:15","modified_gmt":"2009-05-25T22:35:15","slug":"wp-chooseyourtheme","status":"publish","type":"plugin","link":"https:\/\/lin.wordpress.org\/plugins\/wp-chooseyourtheme\/","author":901442,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.6","stable_tag":"0.6","tested":"2.7.1","requires":"2.7.1","requires_php":"","requires_plugins":"","header_name":"WP-CHOOSE YOUR THEME","header_author":"Giovambattista Fazioli","header_description":"","assets_banners_color":"","last_updated":"2009-05-25 22:35:15","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/labs.saidmade.com","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/wp-chooseyourtheme\/","header_author_uri":"http:\/\/www.undolog.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2893,"num_ratings":0,"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":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.5","0.6"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[652,1141],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-5615","plugin","type-plugin","status-publish","hentry","plugin_tags-manager","plugin_tags-theme","plugin_committers-gfazioli"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-chooseyourtheme.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>WP CHOOSE YOUR THEME, let to select an avaiable theme to your visitors. In your template, for example in sidebar.php, insert: <code>&lt;?php wp_chooseyourtheme(); ?&gt;<\/code> and a combo menu list shows the themes avaiable. When a your visitor click on item, the theme is changed.\nFor defautl all themes are shows. Use Admin configuration <code>Appearance -&gt; WP Choose Your Theme<\/code> to hidden some themes.<\/p>\n\n<h4>Arguments<\/h4>\n\n<p>You can set args <code>mode<\/code> in:<\/p>\n\n<p><em>COMBO MENU<\/em><\/p>\n\n<pre><code>&lt;?php wp_chooseyourtheme(); ?&gt; for combo menu or\n&lt;?php wp_chooseyourtheme(\"mode=menu\"); ?&gt;\n\n\n&lt;select class=\"wpcyt_combo\"&gt;\n &lt;option&gt;Theme name 1&lt;\/option&gt;\n &lt;option&gt;Theme name 2&lt;\/option&gt;\n &lt;option&gt;Theme name ...&lt;\/option&gt;\n&lt;\/select&gt;\n<\/code><\/pre>\n\n<p><em>LIST<\/em><\/p>\n\n<pre><code>&lt;?php wp_chooseyourtheme(\"mode=list\"); ?&gt; for list. \n\n\n&lt;ul class=\"wpcyt_list\"&gt;\n &lt;li class=\"theme-name-1\"&gt;&lt;a href=\"...\"&gt;&lt;span&gt;Theme name 1&lt;\/span&gt;&lt;\/a&gt;&lt;\/li&gt;\n &lt;li class=\"theme-name-2 selected\"&gt;&lt;a href=\"...\"&gt;&lt;span&gt;Theme name 2&lt;\/span&gt;&lt;\/a&gt;&lt;\/li&gt;\n &lt;li class=\"theme-name-...\"&gt;&lt;a href=\"...\"&gt;&lt;span&gt;Theme name ...&lt;\/span&gt;&lt;\/a&gt;&lt;\/li&gt;\n&lt;\/ul&gt;\n<\/code><\/pre>\n\n<p><em>ROLL<\/em><\/p>\n\n<pre><code>&lt;?php wp_chooseyourtheme(\"mode=roll\"); ?&gt; for roll.\n\n\n&lt;div class=\"wpcyt_roll\"&gt;\n &lt;a class=\"next-theme\" href=\"#\"&gt;&lt;span&gt;Next Theme&lt;\/span&gt;&lt;\/a&gt;\n&lt;\/div&gt;\n<\/code><\/pre>\n\n<h4>Related Links<\/h4>\n\n<ul>\n<li><a href=\"http:\/\/www.saidmade.com\/\" title=\"Creazione siti Web\">Saidmade<\/a><\/li>\n<li><a href=\"http:\/\/www.undolog.com\/\" title=\"Author's Web\">Undolog<\/a><\/li>\n<\/ul>\n\n<h3>Thanks<\/h3>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire content of plugin archive to your <code>\/wp-content\/plugins\/<\/code> directory, \nso that everything will remain in a <code>\/wp-content\/plugins\/wp-chooseyourtheme\/<\/code> folder<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress (deactivate and reactivate if you're upgrading).<\/li>\n<li>Open the plugin configuration page, which is located under <code>Appearance -&gt; WP Choose Your Theme<\/code><\/li>\n<li>Select the Themes you want to make hidden<\/li>\n<li>Insert in your template php <code>&lt;?php wp-chooseyourtheme(); ?&gt;<\/code> function<\/li>\n<li>Done. Enjoy.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<p>History release:<\/p>\n\n<pre><code>* 0.6     Rev HTML output for list and roll mode: add slug theme name class\n* 0.5     Add Admin in backend under Appearance. Rev code and avoid Javascript.\n* 0.2     Rev\n* 0.1     First release\n<\/code><\/pre>","raw_excerpt":"WP CHOOSE YOUR THEME, let to select an avaiable theme to your visitors.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/5615","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=5615"}],"author":[{"embeddable":true,"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gfazioli"}],"wp:attachment":[{"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=5615"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=5615"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=5615"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=5615"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=5615"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=5615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}