<?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>cssOrigins.com &#187; Tips</title>
	<atom:link href="http://www.cssOrigins.com/tag/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cssOrigins.com</link>
	<description>Css Origins, Design Blog and Wordpress Publishing Platform</description>
	<lastBuildDate>Mon, 12 Jul 2010 06:35:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Wonderful Information on Web Fonts</title>
		<link>http://www.cssOrigins.com/2009/wonderful-information-on-web-fonts/</link>
		<comments>http://www.cssOrigins.com/2009/wonderful-information-on-web-fonts/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 18:29:10 +0000</pubDate>
		<dc:creator>Hunter Brelsford</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[News Press]]></category>
		<category><![CDATA[Recently Read]]></category>
		<category><![CDATA[Css]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.cssOrigins.com/?p=421</guid>
		<description><![CDATA[Recently read a wonderful article about how you can add non standard fonts to the web for your users to see. Article uses a method i always thought possible just never did any research on myelf. anywho vlala here it is go read it yourself. Five Tips for using @font-face No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Recently read a wonderful article about how you can add non standard fonts to the web for your users to see. Article uses a method i always thought possible just never did any research on myelf. anywho vlala here it is go read it yourself.</p>
<p><a href="http://www.devlounge.net/design/five-tips-for-using-font-face">Five Tips for using @font-face</a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.cssOrigins.com/2009/wonderful-information-on-web-fonts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sempo.org SEM institute</title>
		<link>http://www.cssOrigins.com/2009/sempoorg-sem-institute/</link>
		<comments>http://www.cssOrigins.com/2009/sempoorg-sem-institute/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 14:48:36 +0000</pubDate>
		<dc:creator>Hunter Brelsford</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[News Press]]></category>
		<category><![CDATA[Recently Read]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SEM]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Techniques]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.cssOrigins.com/?p=417</guid>
		<description><![CDATA[I was linked to this website by a friend, it contains several articles about SEO, along with a online institute teaching classes for SEO, and SEM training. The website included many related articles and im in the reading mood The first of these Choosing Link Partners 5 Elements of a winning SEM strategy Maximize your [...]


Related posts:<ol><li><a href='http://www.cssOrigins.com/2009/blackhat-seo-practices-and-general-problems/' rel='bookmark' title='Permanent Link: Blackhat SEO Practices and General Problems'>Blackhat SEO Practices and General Problems</a> <small>Hey guys, I know its been awhile since I&#8217;ve published...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I was linked to this website by a friend, it contains several articles about SEO, along with a online institute teaching classes for SEO, and SEM training. The website included many related articles and im in the reading mood<br />
The first of these</p>
<ul>
<li><a href="http://www.sempo.org/learning_center/articles/link-partners">Choosing Link Partners</a></li>
<li><a href="http://www.sempo.org/learning_center/articles/sem-strategy">5 Elements of a winning SEM strategy</a></li>
<li><a href="http://www.sempo.org/learning_center/articles/adwords">Maximize your paid advertisements with Google</a></li>
<li> and a two part series, Tools of the Trade, <a href="http://www.sempo.org/learning_center/articles/tools-p1">Part I</a> , and <a href="http://www.sempo.org/learning_center/articles/tools-p2">Part II</a></li>
</ul>


<p>Related posts:<ol><li><a href='http://www.cssOrigins.com/2009/blackhat-seo-practices-and-general-problems/' rel='bookmark' title='Permanent Link: Blackhat SEO Practices and General Problems'>Blackhat SEO Practices and General Problems</a> <small>Hey guys, I know its been awhile since I&#8217;ve published...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.cssOrigins.com/2009/sempoorg-sem-institute/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Creating Custom Write Panels in WP</title>
		<link>http://www.cssOrigins.com/2009/creating-custom-write-panels-in-wp/</link>
		<comments>http://www.cssOrigins.com/2009/creating-custom-write-panels-in-wp/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 07:07:33 +0000</pubDate>
		<dc:creator>Hunter Brelsford</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[News Press]]></category>
		<category><![CDATA[Recently Read]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Custom Fields]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.cssOrigins.com/?p=405</guid>
		<description><![CDATA[Just finished a pretty good article written at wefunction.com, the purpose was to teach the WP community how to creatively add functionality to their website/blog by using custom panels in the add posts/page area. Check the tutorial out. Related posts:Wonderful Information on Web Fonts Recently read a wonderful article about how you can add... Sempo.org [...]


Related posts:<ol><li><a href='http://www.cssOrigins.com/2009/wonderful-information-on-web-fonts/' rel='bookmark' title='Permanent Link: Wonderful Information on Web Fonts'>Wonderful Information on Web Fonts</a> <small>Recently read a wonderful article about how you can add...</small></li>
<li><a href='http://www.cssOrigins.com/2009/sempoorg-sem-institute/' rel='bookmark' title='Permanent Link: Sempo.org SEM institute'>Sempo.org SEM institute</a> <small>I was linked to this website by a friend, it...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Just finished a pretty good article written at wefunction.com, the purpose was to teach the WP community how to creatively add functionality to their website/blog by using custom panels in the add posts/page area.</p>
<p><a href="http://wefunction.com/2008/10/tutorial-creating-custom-write-panels-in-wordpress/">Check the tutorial out.</a></p>


<p>Related posts:<ol><li><a href='http://www.cssOrigins.com/2009/wonderful-information-on-web-fonts/' rel='bookmark' title='Permanent Link: Wonderful Information on Web Fonts'>Wonderful Information on Web Fonts</a> <small>Recently read a wonderful article about how you can add...</small></li>
<li><a href='http://www.cssOrigins.com/2009/sempoorg-sem-institute/' rel='bookmark' title='Permanent Link: Sempo.org SEM institute'>Sempo.org SEM institute</a> <small>I was linked to this website by a friend, it...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.cssOrigins.com/2009/creating-custom-write-panels-in-wp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site Architecture and SEO</title>
		<link>http://www.cssOrigins.com/2009/site-architecture-and-seo/</link>
		<comments>http://www.cssOrigins.com/2009/site-architecture-and-seo/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 09:58:00 +0000</pubDate>
		<dc:creator>Hunter Brelsford</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[News Press]]></category>
		<category><![CDATA[Recently Read]]></category>
		<category><![CDATA[Bing]]></category>
		<category><![CDATA[SEM]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Techniques]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.cssOrigins.com/?p=402</guid>
		<description><![CDATA[Read a 4 article series on SEO and information related to the bing search engine and general SEO, some nice reads especially information regarding Canonicalizeing your home page. site tweaks and tune ups with sem 101 Related posts:Sempo.org SEM institute I was linked to this website by a friend, it... Wonderful Information on Web Fonts [...]


Related posts:<ol><li><a href='http://www.cssOrigins.com/2009/sempoorg-sem-institute/' rel='bookmark' title='Permanent Link: Sempo.org SEM institute'>Sempo.org SEM institute</a> <small>I was linked to this website by a friend, it...</small></li>
<li><a href='http://www.cssOrigins.com/2009/wonderful-information-on-web-fonts/' rel='bookmark' title='Permanent Link: Wonderful Information on Web Fonts'>Wonderful Information on Web Fonts</a> <small>Recently read a wonderful article about how you can add...</small></li>
<li><a href='http://www.cssOrigins.com/2010/integrating-facebook-authentication-with-your-website/' rel='bookmark' title='Permanent Link: Integrating Facebook Authentication with your Website'>Integrating Facebook Authentication with your Website</a> <small>just reviewed an article on Nettuts about how you can...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Read a 4 article series on SEO and information related to the bing search engine and general SEO, some nice reads especially information regarding Canonicalizeing your home page. </p>
<p><a href="http://www.bing.com/community/blogs/search/archive/2009/08/11/site-tweaks-and-tune-ups-with-sem-101.aspx">site tweaks and tune ups with sem 101</a></p>


<p>Related posts:<ol><li><a href='http://www.cssOrigins.com/2009/sempoorg-sem-institute/' rel='bookmark' title='Permanent Link: Sempo.org SEM institute'>Sempo.org SEM institute</a> <small>I was linked to this website by a friend, it...</small></li>
<li><a href='http://www.cssOrigins.com/2009/wonderful-information-on-web-fonts/' rel='bookmark' title='Permanent Link: Wonderful Information on Web Fonts'>Wonderful Information on Web Fonts</a> <small>Recently read a wonderful article about how you can add...</small></li>
<li><a href='http://www.cssOrigins.com/2010/integrating-facebook-authentication-with-your-website/' rel='bookmark' title='Permanent Link: Integrating Facebook Authentication with your Website'>Integrating Facebook Authentication with your Website</a> <small>just reviewed an article on Nettuts about how you can...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.cssOrigins.com/2009/site-architecture-and-seo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calling posts in header</title>
		<link>http://www.cssOrigins.com/2009/calling-posts-in-header/</link>
		<comments>http://www.cssOrigins.com/2009/calling-posts-in-header/#comments</comments>
		<pubDate>Tue, 19 May 2009 01:51:15 +0000</pubDate>
		<dc:creator>Hunter Brelsford</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Css]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Template Tags]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.cssOrigins.com/?p=297</guid>
		<description><![CDATA[This weekend I was trying to add what I thought to be a simple feature to my site, and it ended up taking me a lot longer than expected. Because of this I wanted to go ahead document and post about what I did and how I accomplished it. Problem I needed to add the [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>This weekend I was trying to add what I thought to be a simple feature to my site,<span id="more-297"></span> and it ended up taking me a lot longer than expected. Because of this I wanted to go ahead document and post about what I did and how I accomplished it.</p>
<h2><span style="font-weight: normal;">Problem</span></h2>
<p>I needed to add the post picture stored in a custom field to my header only on the post when its called.</p>
<h2><span style="font-weight: normal;">Information</span></h2>
<p>If you guys are already familiar with wordpress in any sort of way then you will know that the single.php will handle any calls of your posts. but it also handles categories or groups of posts that are called.</p>
<h2><span style="font-weight: normal;">Hypothesis</span></h2>
<p>My hypothesis was that i could run an if statement that would test and see if it was using single.php and if it was in the specific category i want the picture applied to (in my case the only categorized with post pictures is my blog).</p>
<p>my statement was something like this</p>
<blockquote><p>&lt;php if (is_single() &amp;&amp; in_category(&#8216;blog&#8217;))<br />
echo &#8216;content &#8216;;<br />
} ?&gt;</p></blockquote>
<h2><span style="font-weight: normal;">Solution</span></h2>
<p>Although my initial hypothesis was nearly correct or at least the logic was correct it wasn&#8217;t working for some reason, the wordpress template tag for in_category was pulling no results at any time. And I believe this was because this statement was completely out of the loop being in the header and all it didn&#8217;t quite know what post it was suppose to call to be in a category or not. Any ways after trying to take a nap later that day the simple solution came to me and ended up as such.</p>
<blockquote><p>&lt;?php if (is_single()) {<br />
<span> </span> if (!is_category()) {<br />
echo &#8216;content&#8217;;<br />
}<br />
} ?&gt;</p></blockquote>
<p>Instead of testing if it&#8217;s in a category I only needed to test to see if it was displaying a category page or not, This would eliminate my border on category pages, but keep them on all my post pages, the next and last step would be to create a default image for the categories where there is no post image. Ill post on this later.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.cssOrigins.com/2009/calling-posts-in-header/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Detailed Look at the 960 CSS Framework &#8211; Nettuts</title>
		<link>http://www.cssOrigins.com/2009/960-css-framework-nettuts/</link>
		<comments>http://www.cssOrigins.com/2009/960-css-framework-nettuts/#comments</comments>
		<pubDate>Tue, 12 May 2009 01:00:46 +0000</pubDate>
		<dc:creator>Hunter Brelsford</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[News Press]]></category>
		<category><![CDATA[960]]></category>
		<category><![CDATA[Css]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Fluid Grids]]></category>
		<category><![CDATA[Techniques]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.cssOrigins.com/?p=275</guid>
		<description><![CDATA[CSS frameworks are bloated. CSS frameworks are for people who don&#8217;t know how to code. CSS is too simple to implement a framework. If you&#8217;ve ever read a tutorial on a CSS framework, I can guarantee that many comments mimic the previous statements. My guess is that the majority of these comments are stemmed from [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>CSS frameworks are bloated. CSS frameworks are for people who don&#8217;t know how to code. CSS is too simple to implement a framework.<span id="more-275"></span></p>
<p>If you&#8217;ve ever read a tutorial on a CSS framework, I can guarantee that many comments mimic the previous statements. My guess is that the majority of these comments are stemmed from slight ignorance. Once you take the opportunity to spend some time with 960, you&#8217;ll be amazed at how much time can potentially be saved when developing your web applications. At the very least, take ten minutes to review the framework. You can always press the delete key&#8230;though I doubt you will!</p>
<h3>Pros</h3>
<ul>
<li>Rapidly speeds up development time.</li>
<li>Clean grid structure.</li>
<li>Not many browser inconsistencies. The ones you find can be fixed easily.</li>
<li>It&#8217;s not &quot;bloated&quot; as many people suggest. We&#8217;re talking 3-4kb here, folks! You would use many of these stylings anyways.</li>
<li>Build complex layouts quickly.</li>
</ul>
<h3>Cons</h3>
<ul>
<li>It&#8217;s named &quot;960&quot; for a reason. If you&#8217;re hoping to use a different width for you website, you might be better off choosing a different framework.</li>
<li>As with any &quot;framework&quot;, you lose a bit of flexibility.</li>
<li>You didn&#8217;t create it. There&#8217;s something to be said for code being 100% our own.</li>
</ul>
<h3>Usage</h3>
<p>Let&#8217;s imagine that we want to work with the &quot;12 column&quot; structure to create the extremely simple layout seen below. First, we must create a wrapper div that has a class of &quot;container_12&quot;. <em>Notice the 12. </em></p>
<div class="tutorial_image"><img src="http://nettuts.s3.amazonaws.com/178_960Framework/20090114-164111.png" alt="layout" /></div>
<div class="dp-highlighter">
<div class="bar">
<div class="tools"><a onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;" href="http://nettuts.com/videos/screencasts/a-detailed-look-at-the-960-css-framework/#"></a> <a onclick="dp.sh.Toolbar.Command('About',this);return false;" href="http://nettuts.com/videos/screencasts/a-detailed-look-at-the-960-css-framework/#"><br />
</a></div>
</div>
<ol class="dp-xml">
<li class="alt"><span><span class="tag">&lt;</span> <span class="tag-name">div</span> <span> </span> <span class="attribute">id</span> <span>=</span> <span class="attribute-value">&quot;container&quot;</span> <span> </span> <span class="attribute">class</span> <span>=</span> <span class="attribute-value">&quot;container_12&quot;</span> <span class="tag">&gt;</span> <span> </span> </span></li>
<li><span>&#8230;content goes here </span></li>
<li class="alt"><span><span class="tag">&lt;/</span> <span class="tag-name">div</span> <span class="tag">&gt;</span> <span> </span> </span></li>
</ol>
</div>
<pre class="html" style="display: none;">&lt;div id=&quot;container&quot; class=&quot;container_12&quot;&gt;
...content goes here
&lt;/div&gt;</pre>
<p>Specifying an id here isn&#8217;t required by any means. However, I find that it helps me to remember exactly what the div is. One of the gripes against 960 is that the classes do nothing to define what the element is. Simply including an id fixes that issue.</p>
<h4>Grids</h4>
<p>Now we want to create a simple header and two column structure. When first getting started, it&#8217;s helpful to examine the demo to choose how wide a grid you should use.</p>
<div class="tutorial_image"><img src="http://nettuts.s3.amazonaws.com/178_960Framework/20090114-154700.png" alt="960 Framework" /></div>
<p>I&#8217;m going to choose a header width of &quot;940px&quot; (+ 20px margins = 960), a sidebar width of &quot;220px&quot;, and a main content width of &quot;700px&quot;.</p>
<p>You must assign a class to each div. Naming conventions require that that the class name begins with &quot;grid_&quot; and ends with the number of columns needed. In our case, we&#8217;ll use &quot;grid_12&#8242;, &quot;grid_3&quot; and &quot;grid_9&quot;, respectively.</p>
<div class="dp-highlighter">
<div class="bar">
<div class="tools"><a onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;" href="http://nettuts.com/videos/screencasts/a-detailed-look-at-the-960-css-framework/#"></a> <a onclick="dp.sh.Toolbar.Command('About',this);return false;" href="http://nettuts.com/videos/screencasts/a-detailed-look-at-the-960-css-framework/#"><br />
</a></div>
</div>
<ol class="dp-xml">
<li class="alt"><span><span class="tag">&lt;</span> <span class="tag-name">div</span> <span> </span> <span class="attribute">id</span> <span>=</span> <span class="attribute-value">&quot;container&quot;</span> <span> </span> <span class="attribute">class</span> <span>=</span> <span class="attribute-value">&quot;container_12&quot;</span> <span class="tag">&gt;</span> <span> </span> </span></li>
<li><span> <span class="tag">&lt;</span> <span class="tag-name">div</span> <span> </span> <span class="attribute">id</span> <span>=</span> <span class="attribute-value">&quot;header&quot;</span> <span> </span> <span class="attribute">class</span> <span>=</span> <span class="attribute-value">&quot;grid_12&quot;</span> <span class="tag">&gt;</span> <span> </span> </span></li>
<li class="alt"><span> content goes here </span></li>
<li><span> <span class="tag">&lt;/</span> <span class="tag-name">div</span> <span class="tag">&gt;</span> <span> </span> </span></li>
<li class="alt"><span> </span></li>
<li><span> <span class="tag">&lt;</span> <span class="tag-name">div</span> <span> </span> <span class="attribute">id</span> <span>=</span> <span class="attribute-value">&quot;sidebar&quot;</span> <span> </span> <span class="attribute">class</span> <span>=</span> <span class="attribute-value">&quot;grid_3&quot;</span> <span class="tag">&gt;</span> <span> </span> </span></li>
<li class="alt"><span> content goes here </span></li>
<li><span> <span class="tag">&lt;/</span> <span class="tag-name">div</span> <span class="tag">&gt;</span> <span> </span> </span></li>
<li class="alt"><span> </span></li>
<li><span> <span class="tag">&lt;</span> <span class="tag-name">div</span> <span> </span> <span class="attribute">id</span> <span>=</span> <span class="attribute-value">&quot;mainContent&quot;</span> <span> </span> <span class="attribute">class</span> <span>=</span> <span class="attribute-value">&quot;grid_9&quot;</span> <span class="tag">&gt;</span> <span> </span> </span></li>
<li class="alt"><span> content goes here </span></li>
<li><span> <span class="tag">&lt;/</span> <span class="tag-name">div</span> <span class="tag">&gt;</span> <span> </span> </span></li>
<li class="alt"><span><span class="tag">&lt;/</span> <span class="tag-name">div</span> <span class="tag">&gt;</span> <span> </span> </span></li>
</ol>
</div>
<pre class="html" style="display: none;">&lt;div id=&quot;container&quot; class=&quot;container_12&quot;&gt;
  &lt;div id=&quot;header&quot; class=&quot;grid_12&quot;&gt;
    content goes here
  &lt;/div&gt;

  &lt;div id=&quot;sidebar&quot; class=&quot;grid_3&quot;&gt;
    content goes here
  &lt;/div&gt;

  &lt;div id=&quot;mainContent&quot; class=&quot;grid_9&quot;&gt;
    content goes here
  &lt;/div&gt;
&lt;/div&gt;</pre>
<p>The only additional styling that I&#8217;ve added is background colors and a minimum width for each div to simulate an actual website full of text. I won&#8217;t go over that here; mostly because they should be removed. They&#8217;re only used here to demonstrate the structure.</p>
<p>Without worrying about margins, floats, or IE hacks, we&#8217;re able to create a layout extremely fast. <strong>The true power of 960 is demonstrated when building complex newspaper-like layouts. </strong></p>
<p><a href="http://nettuts.com/videos/screencasts/a-detailed-look-at-the-960-css-framework/">via A Detailed Look at the 960 CSS Framework &#8211; Nettuts+</a> .</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.cssOrigins.com/2009/960-css-framework-nettuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatically Retrieve The First Image From Posts On Your Home Page</title>
		<link>http://www.cssOrigins.com/2009/retrieve-first-homepage/</link>
		<comments>http://www.cssOrigins.com/2009/retrieve-first-homepage/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 06:21:56 +0000</pubDate>
		<dc:creator>Hunter Brelsford</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[News Press]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Custom Fields]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Techniques]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.cssOrigins.com/?p=249</guid>
		<description><![CDATA[I found this particularly interesting, because I use a similar method to list images on the home page of my site as well. over the weekend if time allows I&#8217;ll be reviewing and adjusting my code. Hopefully this method will allow me to more easily display my post pictures where I need them. Thank you [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>I found this particularly interesting, because I use a similar method to list images on the home page of my site as well. over the weekend if time allows I&#8217;ll be reviewing and adjusting my code. Hopefully this method will allow me to more easily display my post pictures where I need them. Thank you <a href="http://www.smashingmagazine.com/2009/04/15/10-exceptional-wordpress-hacks/" target="_blank" title="Smashing magazine">Smashing Magazine</a> for posting.<span id="more-249"></span></p>
<p><img src="http://www.cssOrigins.com/wp-content/uploads/2009/04/sm5.jpg" /><br />
Automatically Retrieve The First Image From Posts On Your Home Page</p>
<p><strong>The problem</strong> . Many WordPress users use custom fields to display a thumbnail on their blog home page. Of course, this is a nice solution, but how about automatically retrieving the first image from a post and using it as a thumbnail?</p>
<p><strong>The solution</strong> . This hack is quite easy to implement:</p>
<ol>
<li>Open the functions.php file in your theme.</li>
<li>Paste this code in. Don’t forget to specify a default image on line 10 in case a post of yours does not have an image.function catch_that_image {<br />
global $post, $posts;<br />
$first_img = &#8221;;<br />
ob_start;<br />
ob_end_clean;<br />
$output = preg_match_all&#8217;//i&#8217;, $post-&gt;post_content, $matches;<br />
$first_img = $matches [1] [0];<br />
ifempty$first_img{ //Defines a default image<br />
$first_img = &quot;/images/default.jpg&quot;;<br />
}<br />
return $first_img;</li>
<li>Save the functions.php file.</li>
<li>On your blog home page index.php, call the function this way to get the URL of the first image from the post:</li>
</ol>
<p><span><span>&lt;?php </span> <span class="func">echo</span> <span> catch_that_image() ?&gt;</span> </span></p>
<p><strong>Code explanation</strong> . The function uses the global variable $post to parse the post’s content with a regular expression. If an image is found, its URL is returned by the function. If not, the default image URL is returned.</p>
<p>via <a href="http://www.smashingmagazine.com/2009/04/15/10-exceptional-wordpress-hacks/">10 Exceptional WordPress Hacks | Developer&#8217;s Toolbox | Smashing Magazine</a> .</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.cssOrigins.com/2009/retrieve-first-homepage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>84 Amazingly Useful CSS Tips &amp; Resources &#124; Grace Smith</title>
		<link>http://www.cssOrigins.com/2009/84-amazingly-useful-css-tips-resources-grace-smith/</link>
		<comments>http://www.cssOrigins.com/2009/84-amazingly-useful-css-tips-resources-grace-smith/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 18:52:03 +0000</pubDate>
		<dc:creator>Hunter Brelsford</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[News Press]]></category>
		<category><![CDATA[Css]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Layout]]></category>
		<category><![CDATA[Techniques]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.cssOrigins.com/?p=214</guid>
		<description><![CDATA[Simply Amazing css resources from Grace Smith, his site can be found here Feast your eyes over this collection of super useful CSS resources 20 Useful CSS Tips For Beginners Using CSS to Do Anything: 50+ Creative Examples &#38; Tutorials 101 CSS Tips, Tutorials and Examples CSS Code Snippets : 15 Wicked Tricks 15 CSS [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Simply Amazing css resources from Grace Smith, his site can be found <a href="http://www.gracesmith.co.uk/" target="_blank" title="Gracesmith">here</a></p>
<p>Feast your eyes over this collection of super useful CSS resources<span id="more-214"></span></p>
<ul>
<li><a href="http://www.hongkiat.com/blog/20-useful-css-tips-for-beginners/" target="_blank">20 Useful CSS Tips For Beginners</a></li>
<li><a href="http://www.noupe.com/css/using-css-to-do-anything-50-creative-examples-and-tutorials.html" target="_blank">Using CSS to Do Anything: 50+ Creative Examples &amp; Tutorials</a></li>
<li><a href="http://devsnippets.com/reviews/css-code-snippets-15-wicked-tricks.html" target="_blank">101 CSS Tips, Tutorials and Examples</a></li>
<li><a href="http://blog.themeforest.net/general/15-css-tricks-that-must-be-learned/" target="_blank">CSS Code Snippets : 15 Wicked Tricks</a></li>
<li><a href="http://blog.themeforest.net/general/15-css-tricks-that-must-be-learned/" target="_blank">15 CSS Tricks That Must be Learned</a></li>
<li><a href="http://www.designer-daily.com/8-css-tips-for-better-linking-1424" target="_blank">8 CSS tips for better linking</a></li>
<li><a href="http://cssglobe.com/post/1392/8-premium-one-line-css-tips" target="_blank">8 Premium One Line CSS Tips</a></li>
<li><a href="http://www.smashingmagazine.com/2007/05/10/70-expert-ideas-for-better-css-coding/" target="_blank">70 Expert Ideas For Better CSS Coding</a></li>
<li><a href="http://www.allwebdesignresources.com/webdesignblogs/graphics/30-css-cheat-sheets-quick-reference-guides/" target="_blank">30+ CSS Cheat Sheets &amp; Quick Reference Guides</a></li>
<li><a href="http://nettuts.com/html-css-techniques/10-principles-of-the-css-masters/">10 Principles of the CSS Masters</a></li>
<li><a href="http://designreviver.com/tutorials/10-excellent-css-tips-and-tutorials/" target="_blank">10 Excellent CSS Tips and Tutorials</a></li>
<li><a href="http://www.hongkiat.com/blog/50-nice-clean-css-tab-based-navigation-scripts/" target="_blank">50+ Nice Clean CSS Tab-Based Navigation Scripts</a></li>
<li><a href="http://www.noupe.com/css/css-layouts-40-tutorials-tips-demos-and-best-practices.html" target="_blank">CSS Layouts: 40+ Tutorials, Tips, Demos &amp; Best Practices</a></li>
<li><a href="http://www.csstea.com/css-gallery-news-and-resources/264-120-excellent-examples-of-css-horizantal-menu.html" target="_blank">120 Excellent Examples of CSS Horizontal Menus</a></li>
<li><a href="http://itdiscover.com/links/top_28_css_resources_tutorials_layouts_optimizers_editors_and_lots_more" target="_blank">60+ Wacky CSS Tutorials, Layouts, Optimizers &amp; More</a></li>
<li><a href="http://www.smashingmagazine.com/2008/11/12/12-principles-for-keeping-your-code-clean/" target="_blank">12 Principles For Keeping Your Code Clean</a></li>
<li><a href="http://www.tutorial9.net/web-tutorials/quick-easy-css-development-with-firebug/" target="_blank">Quick &amp; Easy CSS Development with Firebug</a></li>
<li><a href="http://dreamcss.blogspot.com/2009/02/25-css-tools-to-reduce-your-work-load.html" target="_blank">25+ CSS Tools to reduce your work load</a></li>
<li><a href="http://sixrevisions.com/css/20-useful-resources-for-learning-about-css3/" target="_blank">20 Useful Resources for Learning about CSS3</a></li>
<li><a href="http://speckyboy.com/2009/02/04/16-usable-css-graph-and-bar-chart-tutorials-and-techniques/" target="_blank">16 Usable CSS Graph and Bar Chart Tutorials &amp; Techniques</a></li>
<li><a href="http://www.kedoa.com/blog/tips-tricks/top-10-swish-and-stylish-css-tricks/" target="_blank">Top 10 Swish And Stylish CSS Tricks</a></li>
<li><a href="http://stylizedweb.com/2008/03/12/most-used-css-tricks/" target="_blank">12 Most used CSS tricks</a></li>
<li><a href="http://woork.blogspot.com/2008/02/five-web-20-css-menu-tutorials.html" target="_blank">Five web 2.0 CSS menu tutorials</a></li>
<li><a href="http://webdesignledger.com/resources/12-css-tools-and-tutorials-for-beautiful-web-typography" target="_blank">12 CSS Tools and Tutorials for Beautiful Web Typography</a></li>
<li><a href="http://www.noupe.com/css/5-popular-css-frameworks-tutorials-tools-for-getting-started.html" target="_blank">5 Popular CSS Frameworks + Tools for Getting Started</a></li>
<li><a href="http://www.instantshift.com/2009/01/11/30-excellent-css-based-navigation-and-buttons-tutorial/" target="_blank">30 Excellent CSS Based Navigation and Buttons Tutorial</a></li>
<li><a href="http://www.acomment.net/creating-css-layouts-the-best-tutorials-on-converting-psd-to-xhtml/76" target="_blank">Creating CSS Layouts: Best Tutorials on Converting PSD to XHTML</a></li>
<li><a href="http://dwsmg.com/20-ultimate-css-tutorials.html" target="_blank">20 Ultimate CSS Tutorials That Will Help You Master CSS</a></li>
<li><a href="http://www.designvitality.com/blog/2008/08/19-css-menu-tutorials-to-spice-up-your-web-designs/" target="_blank">19 CSS Menu Tutorials to Spice Up Your Web Designs</a></li>
<li><a href="http://www.catswhocode.com/blog/top-10-css-buttons-tutorial-list" target="_blank">Top 10 CSS Buttons Tutorial List</a></li>
<li><a href="http://socialcmsbuzz.com/40-css-web-form-style-tutorials-for-web-developers-14082008/" target="_blank">40 CSS Web Form Style Tutorials For Web Developers</a></li>
<li><a href="http://www.tripwiremagazine.com/tools/css-techniques/35-very-useful-and-powerful-css-techniques.html" target="_blank">35+ very Useful And Powerful CSS techniques</a></li>
<li><a href="http://www.1stwebdesigner.com/tutorials/43-psd-to-xhtml-css-tutorials-creating-web-layouts-and-navigation/" target="_blank">43 PSD to XHTML, CSS Tutorials Creating Web Layouts &amp; Menus</a></li>
<li><a href="http://thinkvitamin.com/features/design/creating-sexy-stylesheets/" target="_blank">Creating Sexy Stylesheets</a></li>
<li><a href="http://sixrevisions.com/css/css-tips/css-tip-1-resetting-your-styles-with-css-reset/" target="_blank">CSS Tip #1: Resetting Your Styles with CSS Reset</a></li>
<li><a href="http://www.webcredible.co.uk/user-friendly-resources/css/css-tricks.shtml" target="_blank">Ten CSS tricks you may not know</a></li>
<li><a href="http://erraticwisdom.com/2006/01/18/5-tips-for-organizing-your-css" target="_blank">5 Tips For Organizing Your CSS</a></li>
<li><a href="http://csswizardry.com/web-design+/" target="_blank">Web Design+ Tips &amp; Advice on Web Standards Development</a></li>
<li><a href="http://www.thefloatingfrog.co.uk/2008/09/10-css-shorthand-techniques-youll-use-everyday/" target="_blank">10 CSS shorthand techniques you’ll use everyday</a></li>
<li><a href="http://lesliefranke.com/files/reference/csscheatsheet.html" target="_blank">The Ultimate CSS Cheat Sheet</a></li>
<li><a href="http://designreviver.com/tips/13-training-principles-of-css-everyone-should-know/" target="_blank">13 Training Principles of CSS Everyone Should Know</a></li>
<li><a href="http://www.noupe.com/design/101-css-techniques-of-all-time-part-1.html">101 CSS Techniques Of All Time- Part 1</a></li>
<li><a href="http://www.webair.it/blog/2009/03/23/16-easy-css-techniques-that-simplify-the-webdesigners-life/" target="_blank">16+ Easy CSS Techniques that Simplify the Webdesigner’s Life</a></li>
<li><a href="http://www.seomoz.org/blog/css-properties-you-probably-never-use" target="_blank">15 CSS Properties You Probably Never Use (but perhaps should)</a></li>
<li><a href="http://www.456bereastreet.com/lab/" target="_blank">The CSS, HTML, and JavaScript Lab</a></li>
<li><a href="http://pingmag.jp/2006/05/18/5-steps-to-css-heaven/" target="_blank">5 Steps to CSS Heaven</a></li>
<li><a href="http://www.frankmanno.com/ideas/css-imagemap/" target="_blank">Cool CSS Image Maps</a></li>
<li><a href="http://www.sitepoint.com/article/twenty-sites-that-elevated-css/" target="_blank">20 Sites That Brought CSS into the Mainstream</a></li>
<li><a href="http://css-tricks.com/css-font-size/" target="_blank">CSS Font sizing with different techniques</a></li>
<li><a href="http://thinkvitamin.com/features/make-your-site-mobile-friendly/" target="_blank">Make your Site Mobile Friendly with CSS</a></li>
<li><a href="http://blog.themeforest.net/tutorials/examples-and-tips-for-great-htmlcss-formatting/" target="_blank">Examples &amp; Tips for Great HTML/CSS Formatting</a></li>
<li><a href="http://www.smashingmagazine.com/2008/08/13/top-10-css-table-designs" target="_blank">Top 10 CSS Table Designs</a></li>
<li><a href="http://www.alistapart.com/articles/fluidgrids" target="_blank">Fluid Grids with CSS</a></li>
<li><a href="http://tutshelf.com/the-art-of-css-positioning/" target="_blank">The Art of CSS Positioning</a></li>
<li><a href="http://www.cult-f.net/2009/03/17/css-magic-of-border-property/">CSS: Magic of ‘border’ property</a></li>
<li><a href="http://www.subcide.com/tutorials/debuggingcss/" target="_blank">How to Debug CSS</a></li>
<li><a href="http://www.ultimatesmashing.com/blogging/26-css-galleries-to-follow-on-twitter/" target="_blank">26+ CSS Galleries to Follow on Twitter</a></li>
<li><a href="http://www.filamentgroup.com/lab/image_free_css_tooltip_pointers_a_use_for_polygonal_css/" target="_blank">Image-free CSS Tooltip Pointers</a></li>
<li><a href="http://veerle.duoh.com/blog/comments/simple_scalable_css_based_breadcrumbs/" target="_blank">Simple scalable CSS based breadcrumbs</a></li>
<li><a href="http://www.acomment.net/9-top-css-essential-skills-that-every-web-designer-should-learn/299">9 CSS Essential Skills For Every Web Designer</a></li>
<li><a href="http://www.sitepoint.com/article/top-ten-css-tricks/" target="_blank">My Top Ten CSS Tricks</a></li>
<li><a href="http://vandelaydesign.com/blog/design/css-layout-tools/" target="_blank">22 Resources to Easily Create CSS Layouts</a></li>
<li><a href="http://crazeegeekchick.com/blog/10-invaluable-css-resources/" target="_blank">10 Invaluable CSS Resources</a></li>
<li><a href="http://www.toxel.com/design/2008/12/07/40-beautiful-dark-css-website-designs/" target="_blank">40 Beautiful Dark CSS Website Designs</a></li>
<li><a href="http://www.allwebdesignresources.com/webdesignblogs/graphics/40-css-generators-creators-and-makers/" target="_blank">40+ CSS Generators, Creators, and Makers</a></li>
<li><a href="http://www.webdesignerwall.com/tutorials/how-to-css-large-background/" target="_blank">How to: CSS Large Background</a></li>
<li><a href="http://www.westciv.com/style_master/academy/css_tutorial/" target="_blank">The complete CSS guide</a></li>
<li><a href="http://www.barelyfitz.com/screencast/html-training/css/positioning/" target="_blank">Learn CSS Positioning in Ten Steps</a></li>
<li><a href="http://www.hongkiat.com/blog/50-nice-clean-css-tab-based-navigation-scripts/" target="_blank">50+ Nice Clean CSS Tab-Based Navigation Scripts</a></li>
<li><a href="http://www.alvit.de/css-showcase/css-navigation-techniques-showcase.php" target="_blank">37 CSS Navigation Techniques</a></li>
<li><a href="http://nettuts.com/tutorials/html-css-techniques/10-challenging-but-awesome-css-techniques/" target="_blank">10 Challenging But Awesome CSS Techniques</a></li>
<li><a href="http://www.noupe.com/css/css-typography-contrast-techniques-tutorials-and-best-practices.html" target="_blank">CSS Typography: Contrast Techniques, Tutorials &amp; More</a></li>
<li><a href="http://cssglobe.com/post/1614/4-uber-cool-css-techniques-for-links" target="_blank">4 Uber Cool Css Techniques For Links</a></li>
<li><a href="http://www.hongkiat.com/blog/38-free-elegant-xhtmlcss-website-templates/" target="_blank">38 Free Elegant XHTML/CSS Website Templates</a></li>
<li><a href="http://www.smashingmagazine.com/2007/05/01/css-float-theory-things-you-should-know/" target="_blank">CSS Float Theory: Things You Should Know</a></li>
<li><a href="http://sixrevisions.com/css/css-tips/css-tip-2-structural-naming-convention-in-css/" target="_blank">CSS Tip #2: Structural Naming Convention in CSS</a></li>
<li><a href="http://nettuts.com/tutorials/html-css-techniques/5-techniques-to-acquaint-you-with-css-3/" target="_blank">5 Techniques to Acquaint You With CSS 3</a></li>
<li><a href="http://cameronmoll.com/articles/extensible-css/" target="_blank">The Highly Extensible CSS Interface</a></li>
<li><a href="http://www.smashingmagazine.com/2008/05/02/improving-code-readability-with-css-styleguides/" target="_blank">Improving Code Readability With CSS Styleguides</a></li>
<li><a href="http://www.webdesignerwall.com/trends/best-of-css-design-2008/">Best of CSS Design 2008</a></li>
<li><a href="http://reference.sitepoint.com/css" target="_blank">SitePoint CSS Reference</a></li>
<li><a href="http://www.smashingmagazine.com/2008/06/19/css-editors-reviewed/" target="_blank">CSS Editors Reviewed</a></li>
</ul>
<p>via <a href="http://www.gracesmith.co.uk/84-amazingly-useful-css-tips-resources/">84 Amazingly Useful CSS Tips &amp; Resources | Hi, I&#8217;m Grace Smith</a> .</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.cssOrigins.com/2009/84-amazingly-useful-css-tips-resources-grace-smith/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
