{"id":1614,"date":"2004-12-13T05:38:20","date_gmt":"2004-12-13T05:38:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-style-switcher\/"},"modified":"2005-02-10T08:06:25","modified_gmt":"2005-02-10T08:06:25","slug":"wp-style-switcher","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-style-switcher\/","author":257,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"","stable_tag":"trunk","tested":"","requires":"","requires_php":"","requires_plugins":"","header_name":"WP Style Switcher","header_author":"Alex King","header_description":"","assets_banners_color":"","last_updated":"2005-02-10 08:06:25","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.alexking.org\/software\/wordpress\/","header_author_uri":"http:\/\/www.alexking.org\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":4180,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description"],"tags":[],"upgrade_notice":[],"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":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-1614","plugin","type-plugin","status-closed","hentry"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-style-switcher.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>version 1.4, 2004-05-12<\/p>\n\n<p>Step 1.<\/p>\n\n<p>Put the wp-style-switcher.php file in your wp-content\/plugins\/ directory.<\/p>\n\n<p>Step 2.<\/p>\n\n<p>Enable the plugin in your options.<\/p>\n\n<p>Click on 'Plugins' in the admin area, then 'Activate' next to the WP Style Switcher row.<\/p>\n\n<p>Step 3.<\/p>\n\n<p>Include the stylesheet in your index.php file.\nFind this line near the top of index.php:<\/p>\n\n<p>@import url( \/wp-layout.css );<\/p>\n\n<p>And change it to:<\/p>\n\n<p>@import url(  );<\/p>\n\n<p>Note: you can pass in the name of the style you want to use as the default like this:<\/p>\n\n<p>@import url(  );<\/p>\n\n<p>Step 4.<\/p>\n\n<p>Add this to your index.php page in the #menu area. For example, right before the last  tag in the page.<\/p>\n\n\n\n<p>Note: if you want to display the switcher as a drop down list, set the $wp_style_presentation value in the plugin file:<\/p>\n\n<p>$wp_style_presentation = 'dropdown';<\/p>\n\n<p>Note: if you want to put this elsewhere on the page, you can call the function like this and it will not output <li> tags around the switcher:<\/li><\/p>\n\n\n\n<p>Note: if you want to display samples of the styles, you can call the function like this:<\/p>\n\n<p>\n (without the li tags around it)<\/p>\n\n<p>Note: if you want to display links to screenshots of the styles, you can call the function like this:<\/p>\n\n<p> (not showing the sample)\n (showing the sample, without the li tags around it)<\/p>\n\n<p>Step 5.<\/p>\n\n<p>Put the styles you want to use with the switcher into a wp-style directory in your blog root. You can use the included samples if you like.<\/p>\n\n<p>The directory structure must follow this pattern:<\/p>\n\n<p>wp-style\/name-of-style\/style.css<\/p>\n\n<p>Optionally you can include:<\/p>\n\n<p>wp-style\/name-of-style\/sample.gif (should be 50px x 50px)\n wp-style\/name-of-style\/screenshot.gif (any size you like)\n wp-style\/name-of-style\/images\/filename.gif (images used by your style)<\/p>\n\n<p>You will also see this file in the wp-style directory, it is used as a default if there is no sample included with a style:<\/p>\n\n<p>wp-style\/sample.gif<\/p>\n\n<p>That should be it - have fun!<\/p>\n\n<p>--Alex<\/p>","raw_excerpt":"version 1.4, 2004-05-12\n\nStep 1.\n\nPut the wp-style-switcher.php file in your wp-content\/plugins\/ directory.\n\nStep 2.\n\nEnable the plugin in your option &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/1614","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=1614"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/alexkingorg"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=1614"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=1614"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=1614"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=1614"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=1614"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=1614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}