<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Cash &#187; stylesheet</title>
	<atom:link href="http://www.earn-web-cash.com/tag/stylesheet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.earn-web-cash.com</link>
	<description>Writing, Designing, and Making Money Online</description>
	<lastBuildDate>Sun, 04 Dec 2011 22:52:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>How to Use Custom Stylesheets on a Per Post Basis in WordPress</title>
		<link>http://www.earn-web-cash.com/2008/02/05/per-post-css-wordpress/</link>
		<comments>http://www.earn-web-cash.com/2008/02/05/per-post-css-wordpress/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 01:31:55 +0000</pubDate>
		<dc:creator>Walkere</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[stylesheet]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.earn-web-cash.com/2008/02/05/how-to-use-custom-stylesheets-on-a-per-post-basis-in-wordpress/</guid>
		<description><![CDATA[Something I struggled with recently was assigning individual style sheets to posts on this WordPress blog. For example, if I was writing a CSS tutorial I didn&#8217;t want to muck up my general stylesheet with a bunch of styles &#8211; it&#8217;d be nice to write a small stylesheet and attach it only to the specific [...]]]></description>
			<content:encoded><![CDATA[<p>Something I struggled with recently was assigning individual style sheets to posts on this WordPress blog.  For example, if I was writing a CSS tutorial I didn&#8217;t want to muck up my general stylesheet with a bunch of styles &#8211; it&#8217;d be nice to write a small stylesheet and attach it only to the specific post that needs it.</p>
<p>Unfortunately, this isn&#8217;t a built in function of WordPress.  Fortunately, you can add this functionality with a plugin.<br />
<span id="more-100"></span></p>
<h5>Headspace</h5>
<p>I originally accomplished this with the <a href="http://urbangiraffe.com/plugins/headspace/">Headspace plugin</a>.</p>
<p>Headspace is an all in one SEO plugin for WordPress.  It&#8217;s major function is to allow you to add custom titles, tags, and meta descriptions to your WordPress posts.  This should help with your SEO and SERP.</p>
<p>An added bonus is that you can add individual CSS stylesheets and JS scripts to each page.  There&#8217;s an extra field in the writing page where you can add either of these two options.</p>
<p>This part of Headspace worked great.  However, I was having trouble getting the other SEO functions to work.  I was assigning descriptions and titles, but no meta tags were being generated.</p>
<h5>Replacing Headspace</h5>
<p>To fix that problem, I de-activated Headspace and got the <a href="http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/">All In One SEO Pack</a> WordPress Plugin.  It worked great, but that&#8217;s another post altogether.</p>
<p>I didn&#8217;t realize until <strong>after</strong> I had deactivated Headspace that I had also deactivated the custom CSS on a few posts/pages.  I checked the pages and low-and-behold the custom CSS didn&#8217;t exist anymore.</p>
<p>I didn&#8217;t want to re-active Headspace just for this function, so I went off in search of a better solution.</p>
<h5>Per Post CSS and Javascript</h5>
<p>I eventually stumbled on this very simple plugin &#8211; <a href="http://www.flog.co.nz/index.php/journal/per-post-css-js/">Per Post CSS and JS</a>.</p>
<p>It&#8217;s only a few short lines.  It uses the custom fields function of WordPress to add the custom link tags.  You define a CSS or JS field for a post, enter the URL, and the plug-in adds a link tag to the head section of your page.</p>
<p>It&#8217;s quite simple, and if I didn&#8217;t find a suitable script I was going to make one myself.  However, this works perfectly well and I don&#8217;t think I could really expand on it (except maybe creating the CSS and JS fields on the writing screen, instead of using the custom fields) &#8211; so I doubt I&#8217;ll be writing my own plug-in anytime soon.</p>
<p>When it&#8217;s possible, re-use.  Then focus your energy on things you <strong>need</strong> to do yourself.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.earn-web-cash.com/2008/02/05/per-post-css-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

