{"id":47833,"date":"2008-06-18T12:43:38","date_gmt":"2008-06-18T12:43:38","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-css\/"},"modified":"2009-03-07T21:06:24","modified_gmt":"2009-03-07T21:06:24","slug":"wp-css","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-css\/","author":121318,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.5","stable_tag":"2.0.5","tested":"2.6.2","requires":"2.5.1","requires_php":"","requires_plugins":"","header_name":"WP CSS","header_author":"Halmat Ferello","header_description":"","assets_banners_color":"","last_updated":"2009-03-07 21:06:24","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.halmatferello.com\/lab\/wp-css\/","header_author_uri":"http:\/\/www.halmatferello.com","rating":0,"author_block_rating":0,"active_installs":90,"downloads":18197,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0.5"],"block_files":[],"assets_screenshots":{"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1538967","resolution":"5","location":"plugin"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1538967","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1538967","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1538967","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1538967","resolution":"1","location":"plugin"}},"screenshots":{"1":"<p>Tests were measured using a Firefox plugin called Firebug. Firefox was run a Mac Pro (2008) using OS X 10.5.3. Eight CSS files were include in this test: typography.css, form.css, list.css, special.css, skin.css, menu.css, other.css, sIFR-screen.css - all created to simulate an average size of a typical website.<\/p>","2":"<p>The default style.css will be automatically picked up by the plugin. <code>&lt;link rel=\"stylesheet\" href=\"&lt;?php bloginfo('stylesheet_url'); ?&gt;\" type=\"text\/css\" media=\"screen\" \/&gt;<\/code><\/p>","3":"<p>Adding other css files. <code>&lt;link rel=\"stylesheet\" href=\"&lt;?php wp_css('services.css'); ?&gt;\" type=\"text\/css\" media=\"screen\" \/&gt;<\/code><\/p>","4":"<p>The admin section<\/p>","5":"<p>Add a CSS file into a specific page.<\/p>"}},"plugin_section":[],"plugin_tags":[144,356,3861,85749,187],"plugin_category":[52,59],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-47833","plugin","type-plugin","status-closed","hentry","plugin_tags-caching","plugin_tags-css","plugin_tags-gzip","plugin_tags-modular-css","plugin_tags-optimization","plugin_category-performance","plugin_category-utilities-and-tools","plugin_committers-halmat","plugin_committers-wupperpirat"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-css.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-css\/trunk\/screenshot-1.png?rev=1538967","caption":"<p>Tests were measured using a Firefox plugin called Firebug. Firefox was run a Mac Pro (2008) using OS X 10.5.3. Eight CSS files were include in this test: typography.css, form.css, list.css, special.css, skin.css, menu.css, other.css, sIFR-screen.css - all created to simulate an average size of a typical website.<\/p>"},{"src":"https:\/\/ps.w.org\/wp-css\/trunk\/screenshot-2.png?rev=1538967","caption":"<p>The default style.css will be automatically picked up by the plugin. <code>&lt;link rel=\"stylesheet\" href=\"&lt;?php bloginfo('stylesheet_url'); ?&gt;\" type=\"text\/css\" media=\"screen\" \/&gt;<\/code><\/p>"},{"src":"https:\/\/ps.w.org\/wp-css\/trunk\/screenshot-3.png?rev=1538967","caption":"<p>Adding other css files. <code>&lt;link rel=\"stylesheet\" href=\"&lt;?php wp_css('services.css'); ?&gt;\" type=\"text\/css\" media=\"screen\" \/&gt;<\/code><\/p>"},{"src":"https:\/\/ps.w.org\/wp-css\/trunk\/screenshot-4.png?rev=1538967","caption":"<p>The admin section<\/p>"},{"src":"https:\/\/ps.w.org\/wp-css\/trunk\/screenshot-5.png?rev=1538967","caption":"<p>Add a CSS file into a specific page.<\/p>"}],"raw_content":"<!--section=description-->\n<p>This plugin GZIP and strip whitespace from your CSS files. It allows you to confidently use @import inside a CSS file and not worry about what happens on the user's end. It will look through your style.css file and put any @import files into it. A cache expiry time can also be set.<\/p>\n\n<p>NEW:\n* SECURITY PATCH - please update the plugin. (Thanks to Dario Caregnato)\n* Will now work with Child Themes (Thanks to Wupperpirat)<\/p>\n\n<p>Now in version 2.0 you can add CSS files to a specific page or post and putting all of them into one file.<\/p>\n\n<p>Version 2.0<\/p>\n\n<ul>\n<li>Ability to add CSS files to specific page\/post<\/li>\n<li>Improved security<\/li>\n<li>Reduced URL outputted<\/li>\n<\/ul>\n\n<p>The default <code>style.css<\/code> is scanned automatically.<\/p>\n\n<p>Using WP CSS with other CSS files:<\/p>\n\n<pre><code>&lt;link rel=\"stylesheet\" href=\"&lt;?php wp_css('path\/to\/css\/file.css'); ?&gt;\" type=\"text\/css\" media=\"screen\" \/&gt;\n<\/code><\/pre>\n\n<p>OR you can also concatenate CSS files (comma separated):<\/p>\n\n<pre><code>&lt;link rel=\"stylesheet\" href=\"&lt;?php wp_css('path\/to\/js\/file.css, path\/to\/js\/file2. css, path\/to\/js\/file3. css'); ?&gt;\" type=\"text\/css\" media=\"screen\" \/&gt;\n<\/code><\/pre>\n\n<p>OR you can use <code>@import<\/code> method inside a CSS file to group CSS files:<\/p>\n\n<pre><code>@import url('css\/reset.css');\n@import url('css\/typography.css');\n@import url('css\/form.css');\n@import url('css\/list.css');\n@import url('css\/layout.css');\n@import url('css\/menu.css');\n@import url('css\/buttons.css');\n@import url('css\/special.css');\n@import url('css\/javascript.css');\n<\/code><\/pre>\n\n<p>Visit the WP CSS site for more information: http:\/\/www.halmatferello.com\/lab\/wp-css\/<\/p>\n\n<p>Try the JavaScript version of the this plugin: http:\/\/wordpress.org\/extend\/plugins\/wp-js\/<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>wp-css<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Set the permissions for <code>\/wp-css\/<\/code> folder to <code>777<\/code><\/li>\n<li>Go to Settings &gt; WP CSS in the admin site. This setup the plugin.<\/li>\n<li>Your default stylesheet (style.css) is automatically scanned<\/li>\n<li>Use <code>&lt;?php wp_css('path\/to\/css\/file.css'); ?&gt;<\/code> to link to other css files<\/li>\n<\/ol>\n\n<p>i.e. <code>&lt;link rel=\"stylesheet\" href=\"&lt;?php wp_css('path\/to\/css\/file.css'); ?&gt;\" type=\"text\/css\" media=\"screen\" \/&gt;<\/code><\/p>\n\n<!--section=faq-->\n<dl>\n<dt>How do I write the URL to my CSS file inside the wp_css() function?<\/dt>\n<dd><p>All URLs must be relative to your current theme. So for example:<\/p>\n\n<p>If your current theme was the default and you had forms.css file inside folder called css. You would write the following<\/p>\n\n<pre><code>&lt;link rel=\"stylesheet\" href=\"&lt;?php wp_css('forms.css'); ?&gt;\" type=\"text\/css\" media=\"screen\" \/&gt;\n<\/code><\/pre><\/dd>\n<dt>Can I suggest an feature for the plugin?<\/dt>\n<dd><p>Of course, visit <a href=\"http:\/\/www.halmatferello.com\/lab\/wp-css\/\">WP CSS Home Page<\/a><\/p><\/dd>\n<dt>Are you available for hire?<\/dt>\n<dd><p>Yes I am, visit my <a href=\"http:\/\/www.halmatferello.com\/services\/\">services<\/a> page to find out more.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"GZIP and strip whitespace from your CSS files. Add specific CSS files to post\/pages. Development of modular CSS without the making the user download s &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/47833","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=47833"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/halmat"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=47833"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=47833"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=47833"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=47833"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=47833"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=47833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}