<?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; Code</title>
	<atom:link href="http://www.cssOrigins.com/tag/code/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>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>WordPress for Designers #3</title>
		<link>http://www.cssOrigins.com/2009/wordpress-for-designers-3/</link>
		<comments>http://www.cssOrigins.com/2009/wordpress-for-designers-3/#comments</comments>
		<pubDate>Tue, 12 May 2009 05:31:52 +0000</pubDate>
		<dc:creator>Hunter Brelsford</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Css]]></category>
		<category><![CDATA[Template Tags]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.cssOrigins.com/?p=285</guid>
		<description><![CDATA[As with the other posts in this series, This covers days 3 in the wordpress for designers tutorial videos, at blog.themeforest.net. Creating and Styling our first theme from scratch. CSS Styles In order to get our new style to accept and read our new css style sheet we have to configure just a few comments. like [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>As with the other posts in this series, This covers days 3 in the wordpress for designers tutorial videos, at <a title="blog.themeforest.net" href="http://blog.themeforest.net">blog.themeforest.net</a>.<span id="more-285"></span></p>
<h2>Creating and Styling our first theme from scratch.</h2>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="590" height="443" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="data" value="http://blip.tv/play/grg36rsyj7EM" /><param name="src" value="http://blip.tv/play/grg36rsyj7EM" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="590" height="443" src="http://blip.tv/play/grg36rsyj7EM" allowfullscreen="true" data="http://blip.tv/play/grg36rsyj7EM"></embed></object></p>
<h2>CSS Styles</h2>
<p>In order to get our new style to accept and read our new css style sheet we have to configure just a few comments.</p>
<p>like below</p>
<blockquote><p>/*<br />
Theme Name: cssOrigins.com<br />
Description: the second iteration of the cssOrigins website<br />
Author: Hunter  Brelsford<br />
Author URI: http://www.cssOrigins.com<br />
version: 1.0<br />
Tags: Design, WordPress, Css<br />
Optimization: Css Optimization done by Hunter  Brelsford 4/23/09<br />
*/</p></blockquote>
<p>Make sure at this point we save our style sheet. The style sheet fortunately is ready to be read in by our new blog, even though it does not contain any kind of actual style information. All plugins, and stylesheets in wordpress are detected this way, and auto generated into their respective themes, and plugins sections under the admin panel.</p>
<p>If we go on over to see our new theme, we can see that unfortunately that its listed as a broken theme.</p>
<h2>Index.php</h2>
<p>The reason we have a broken theme is because we have no files other then the style sheet associated with our theme, wordpress needs at least one for it to recognize its theme as a valid workable theme. So we will indulge it by creating a new file and naming it &#8220;<strong>index.php</strong> &#8221;</p>
<ol>
<li>create a index.php</li>
<li>add a title</li>
<li>save the page</li>
</ol>
<p>if you want to add your own screen shot for your theme you can additionally upload a 4&#215;3 .jpg up to your themes directory.</p>
<h2>Template Tags &#8211; 10:05</h2>
<p>WordPress has many built in functions that you can use on your site. the ones used in this screen cast are covered and defined here.</p>
<ol>
<li>bloginfo(&#8216;name&#8217;)  &#8211; Uses the name of your blog thats been defined in your wordpress settings</li>
<li>bloginfo(&#8216;stylesheet_url&#8217;) &#8211; Uses the current URL where your activated themes stylesheet is located</li>
<li>language_attributes(&#8221;) &#8211; Gives the default language and type direction of the wordpress instalation</li>
<li>bloginfo(&#8216;html_type&#8217;) &#8211; Gives the page content type</li>
<li>bloginfo(&#8216;charset&#8217;) &#8211; Displays the character set of the page</li>
</ol>
<p>Template tags are nothing more then php functions in wordpress, these tags are available to access functions and variables from within wordpress.</p>
<p>More information on template tags can be found on the <a title="WordPress Codex" href="http://codex.wordpress.org/Template_Tags">wordpress codex</a></p>
<p>This article was originally brought to you by <span class="titlelink"><a href="http://dev-tips.com/">Drew Douglass</a> at <a title="Theme Forest" href="http://blog.themeforest.net/screencasts/wordpress-for-designers-day-3/" target="_blank">ThemeForest</a><br />
</span></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.cssOrigins.com/2009/wordpress-for-designers-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>107 Twitter plugins for WordPress displays yours latest tweets in your WordPress blog</title>
		<link>http://www.cssOrigins.com/2009/twitter-plugins-for-wordpress/</link>
		<comments>http://www.cssOrigins.com/2009/twitter-plugins-for-wordpress/#comments</comments>
		<pubDate>Wed, 06 May 2009 21:07:20 +0000</pubDate>
		<dc:creator>Hunter Brelsford</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[News Press]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Css]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Plug-in]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.cssOrigins.com/?p=271</guid>
		<description><![CDATA[Skyje has posted up a large and particularly useful list of wordpress plugins that deal specifically with twitter, if your looking for any type of twitter support on your blog then I suggest you click on over and read up. Here&#8217;s a small part of his list. 1-Twitter Tools Twitter Tools is a plugin that [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><span dir="ltr"><a href="http://skyje.com/2009/05/107-wordpress-twitter-plugins/" target="_blank">Skyje </a> has posted up a large and particularly useful list of wordpress plugins that deal specifically with twitter, if your looking for any type of twitter support on your blog then I suggest you click on over and read up.  Here&#8217;s a small part of his list.<br />
</span><span id="more-271"></span></p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/twitter-tools/">1-Twitter Tools</a></p>
<p class="plugin-block">Twitter Tools is a plugin that creates a complete integration between your WordPress blog and your Twitter account.</p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/twitter-sharts-plug-in-for-wordpress/">2-Twitter Sharts</a></p>
<p class="plugin-block">‘Shart’ your <strong>twitter</strong> status anywhere within your wordpress blog posts or pages! <br class="clear" /></p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/twitter-for-wordpress/">3-Twitter for WordPress</a></p>
<p class="plugin-block">Twitter for WordPress displays yours latest tweets in your WordPress blog.</p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/twitter-widget/">4-Twitter Widget</a></p>
<p class="plugin-block">Adds a sidebar widget to display <strong>Twitter</strong> updates<br class="clear" /></p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/elegant-twitter-widget/">5-Elegant Twitter Widget</a></p>
<p class="plugin-block">A WordPress widget that displays twitter updates in yummy valid semantic XHTML code. The code is heavily commented and the output is in template functions so everything is fully customizable.</p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/twitter-this/">6-Twitter This</a></p>
<p class="plugin-block">Allow to your readers sharing your blog post at <strong>twitter</strong> .<br class="clear" /></p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/twitter-widget-pro/">7-Twitter Widget Pro</a></p>
<p class="plugin-block">A widget that properly handles <strong>twitter</strong> feeds, including @username and link .<br class="clear" /></p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/twitter-swell/">8-Twitter Swell</a></p>
<p class="plugin-block">You coult post message to your Twitter and show it.</p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/wp-twitterpitch/">9-WP Twitter Pitch</a></p>
<p class="plugin-block">WP-TwitterPitch is all about getting the pitch delivered to you in the form you want to get it delivered &#8211; in other words in Twitter format. If you’re like me, then your Twitter direct message box is a lot like your email inbox.</p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/twitter-blaster/">10-Twitter Blaster</a></p>
<p class="plugin-block">allow your visitors to post to your <strong>Twitter</strong> account. Once installed your users can update .<br class="clear" /></p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/twitter-style-links/">11-Twitter style links</a></p>
<p class="plugin-block">This plugin allows you to add <strong>Twitter</strong> style links to comments.<br class="clear" /></p>
<p><a href="http://wordpress.org/extend/plugins/twitter-feed/">12-Twitter Feed</a></p>
<p>The control functions such as connecting to a Twitter account and storing information on the tweets/blogs, can be accessed through the “Twitter Control” GUI in the WordPress admin panel.</p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/twitter-updater-using-tinyurl/">13-Twitter updater w/ TinyURL</a></p>
<p class="plugin-block">com status with the latest post that you’ve made. It also has the option of including a link back to your post so can people can easily click on it to view the post.</p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/twitter-to-ttf/">14-Twitter To TTF</a></p>
<p class="plugin-block">displays it in a TTF Simple. Asks you for your <strong>Twitter</strong> ID. Grabs your latest tweet.<br class="clear" /></p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/kish-twitter/">15-Kish Twitter</a></p>
<p class="plugin-block">This plugin is using the Twitter API to get and post the updates. You need to have a twitter account to post updates.</p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/post-to-twitter/">16-Post to Twitter</a></p>
<p class="plugin-block">Create a tweet on <strong>Twitter</strong> whenever you post<br class="clear" /></p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/wp-to-twitter/">17-WP to Twitter</a></p>
<p class="plugin-block">The WP-to-Twitter plugin posts a Twitter status update from your blog using the Cli.gs URL shortening service to provide a link back to your post from Twitter.</p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/twitter-links/">18-Twitter Links</a></p>
<p class="plugin-block">This plugin will convert valid <a title="Twitter" href="http://twitter.com/" title="Twitter">Twitter</a> usernames mentioned in comments into a link to their Twitter profile page.</p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/twitter-status/">19-Twitter Status</a></p>
<p class="plugin-block">Twitter Status is a very simple no-fuzz plugin that gets the current Twitter message from the Twitter ID specified</p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/latest-twitter-sidebar-widget/">20-Latest Twitter Sidebar Widget</a></p>
<p class="plugin-block">Creates a sidebar widget that displays the latest <strong>Twitter</strong> update for any given user.<br class="clear" /></p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/twittertowire/">21-Twitter To Wire</a></p>
<p class="plugin-block">This plugin allows your twitter posts to show up in your buddypress wire.</p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/top-twitter-links-by-twitturls/">22-Top Twitter Links by Twitturls</a></p>
<p class="plugin-block">Widget that displays currently popular links from <strong>Twitter</strong> . <br class="clear" /></p>
<p><a href="http://wordpress.org/extend/plugins/thread-twitter/">23-Thread Twitter</a></p>
<p>fetch your tweets and display them in thread style.</p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/twitter/">24-Twitter</a></p>
<p class="plugin-block">Customizable <strong>twitter</strong> widget for your sidebar. <strong>Twitter</strong> Widget displays your tweets on your sidebar. <br class="clear" /></p>
<p class="plugin-block"><a href="http://wordpress.org/extend/plugins/twitter-link/">25-Twitter Link</a></p>
<p>Converts @username mentions in posts and pages into links to <strong>Twitter</strong> .</p>
<p class="plugin-block">
<p>Find out more, and read the rest of skyje&#8217;s top twitter plugins for wordpress on his blog below</p>
<p>Via  <span style="color: #000000;"><span dir="ltr"><a href="http://skyje.com/2009/05/107-wordpress-twitter-plugins/" target="_blank"><em>107 Twitter plugins</em> for <em>WordPress</em> displays yours latest tweets in your <em>WordPress</em> blog<img style="border: 0px none; margin: 0px; padding: 0px; display: inline; float: none; color: black; background-image: none; background-color: transparent; min-height: 0pt; min-width: 0pt; line-height: 0.8; position: relative; left: 0px; top: 0px; width: 16px; height: 16px;" src="chrome://easygestures/skin/xLink.png" alt="" /> </a> </span> </span></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.cssOrigins.com/2009/twitter-plugins-for-wordpress/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>My Firefox Design Plugins</title>
		<link>http://www.cssOrigins.com/2009/my-firefox-design-plugins/</link>
		<comments>http://www.cssOrigins.com/2009/my-firefox-design-plugins/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 22:44:31 +0000</pubDate>
		<dc:creator>Hunter Brelsford</dc:creator>
				<category><![CDATA[Archive]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Plug-in]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.cssOrigins.com/?p=221</guid>
		<description><![CDATA[Hey guys its finally time for me to share with you all the wonderful Firefox plug-ins I use almost daily to help me with development and design no matter what website Im working on. Be it an old table driven website from the ice age, or a modern CMS driven wordpress site, these tools can [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Hey guys its finally time for me to share with you all the wonderful Firefox plug-ins<span id="more-221"></span> I use almost daily to help me with development and design no matter what website Im working on. Be it an old table driven website from the ice age, or a modern CMS driven wordpress site, these tools can help reduce the complexity of updates, speed up development,  and quickly provide you with the information you require.</p>
<h3><img style="padding: 2px; float: right; border: 1px solid #999999; clear: both;" src="http://www.cssOrigins.com/wp-content/uploads/2009/04/seoquake.jpg" alt="" /> First SEO Quake found at <a title="SEO quake" href="http://www.seoquake.com/" target="_blank">seoquake.com</a></h3>
<p>Seo quake is both for Firefox and IE, and its primary function in is to help quantitatively define the information presented on a website or page being viewed. The main feature I would point you guys too is the keyword density ability, basically it can read through your pages and find out how many times a word or group of words appears on your site. VERY HANDY if your going for SEO optimizations this is a must, try and get your good key words between 5-20 density for maximum effect on your home page.</p>
<h3><img style="padding: 2px; float: right; clear: both; border: 1px solid #999999;" src="http://www.cssOrigins.com/wp-content/uploads/2009/04/devtoolbar.jpg" alt="" /> Next we have the all powerful Developers toolbar from <a title="Developers toolbar" href="http://chrispederick.com/" target="_blank">Chris Derick</a></h3>
<p>The toolbar can be downloaded from <a href="https://addons.mozilla.org/en-US/firefox/addon/60" target="_blank">addons.mozilla.org</a></p>
<p>Developers tool bar is a multifunction toolbar allowing users to view style information, edit css, outline styles, edit their browsers width and height and so much more. Just with those key features makes the developers toolbar the #1 Firefox extension any kind of web personnel should have. Being able to specifically target a browsers width and height is something I think we all have had to do at a specific time, and with 2 clicks boom you can view the site in that exact resolution.</p>
<p>Being able to edit css on the fly even on another website and save it off also a helpful or potentially a time saving feature. and of course most praised feature in my opinion is the ability to highlight hovered objects, and see their css roots. See what div, what class and what id they came from, makes editing your styles that must faster.</p>
<h3><img style="padding: 2px; float: right; clear: both; border: 1px solid #999999;" src="http://www.cssOrigins.com/wp-content/uploads/2009/04/colorzilla.jpg" alt="" /> Umm lets see, Colorzilla downloadable over there <a title="colorzilla" href="http://www.colorzilla.com/firefox/" target="_blank">colorzilla.com</a> !!</h3>
<p>Colorzilla is simple, it places an icon down in the lower left hand corner status bar and  you just select it to get an eye dropper in Firefox, thus allowing you to retrieve any color on the firefox screen. Oh its sOo handy.</p>
<h3>Finally we have Firebug available <a title="firebug" href="https://addons.mozilla.org/en-US/firefox/addon/1843" target="_blank">addons.mozilla.org</a></h3>
<h3><img style="padding: 2px; float: right; clear: both; border: 1px solid #999999;" src="http://www.cssOrigins.com/wp-content/uploads/2009/04/firebug.jpg" alt="" /></h3>
<p>Firebug has some similarities with the developers toolbar but its a lot more complex. In other words it can be used to help diagnose css related issues and help you dig deep to find what id or class your having trouble with, but where this thing has shined for me in the past is with the development of dynamic sites, the ability to track what files are specifically slowing down the loading or display of my site.</p>
<p>My list of Firefox plug-in&#8217;s again are</p>
<ul>
<li><a title="SEO quake" href="http://www.seoquake.com/" target="_blank">SEO quake</a></li>
<li><a title="Developers toolbar" href="https:https://addons.mozilla.org/en-US/firefox/addon/60//addons.mozilla.org/en-US/firefox/addon/60" target="_blank">Developers toolbar</a></li>
<li><a title="colorzilla" href="https://addons.mozilla.org/en-US/firefox/addon/271" target="_blank">Colorzilla</a></li>
<li><a title="Firebug" href="http://getfirebug.com/" target="_blank">Firebug</a></li>
<li>and of course <a title="Firefox 3" href="http://www.mozilla.com/en-US/firefox/personal.html" target="_blank">Firefox </a> is the browser.</li>
</ul>
<p>Do you  have your own plug-in you think should be included in this, feel free to comment and let everyone know about it.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.cssOrigins.com/2009/my-firefox-design-plugins/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress unleashed</title>
		<link>http://www.cssOrigins.com/2009/wordpress-unleashed/</link>
		<comments>http://www.cssOrigins.com/2009/wordpress-unleashed/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 03:35:37 +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[Cssm Html]]></category>
		<category><![CDATA[Custom Fields]]></category>
		<category><![CDATA[Dynamic]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.cssOrigins.com/?p=173</guid>
		<description><![CDATA[For those of you out there that are wordpress developers this probably isn&#8217;t new or exciting information. But this is to those of you who just started or have very little php or otherwise programming experience. Note that this article takes at the bare minimal a basic programming understanding (ie what a variable is, and [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>For those of you out there that are wordpress developers this probably isn&#8217;t new or exciting information.<span id="more-173"></span> But this is to those of you who just started or have very little php or otherwise programming experience.</p>
<p>Note that this article takes at the bare minimal a basic programming understanding (ie what a variable is, and that code is logical)</p>
<h3>The if () { }</h3>
<p>if statements are great if your looking to target specific content with your dynamic values, for instance call a sidebar only on the home page.</p>
<blockquote><p>&lt;?php if (is_front_page()) {<br />
get_sidebar();<br />
} ?&gt;</p></blockquote>
<p>or if you would like to target multiple pages, its very similar</p>
<blockquote><p>&lt;?php if (is_page(&#8217;2,3,6,home&#8217;)) {<br />
// do stuff here on those specific pages,<br />
}</p></blockquote>
<p>Outside the loop</p>
<h3>Calling your own posts or categories</h3>
<blockquote><p>&lt;?php<br />
$my_query = new WP_Query(&#8216;category_name=yourcategory&amp;showposts=4&#8242;);<br />
echo &#8216;&lt;ul&gt;&#8217;;<br />
while ($my_query-&gt;have_posts()) : $my_query-&gt;the_post();<br />
echo &#8216;&lt;li&gt; stuff goes here &lt;/li&gt;&#8217;;</p>
<p>endwhile;<br />
echo &#8216;&lt;/ul&gt;&#8217;;<br />
?&gt;</p></blockquote>
<h3>Custom Fields</h3>
<blockquote><p>call your custom field right before you need it<br />
$key=&#8221;yourcustomfield&#8221;;<br />
then simply call echo the key like so<br />
echo get_post_meta($post-&gt;ID, $key, true);</p></blockquote>
<p>a custom key can contain pictures, html, code.</p>
<p><strong>HTML in php code</strong></p>
<p>&lt;?php echo &#8216; &lt;div&gt;all this is html&lt;/div&gt; &#8216;; ?&gt;  make sure you end your echo quotes and use your semicolen to indicate the end of a statement. while everything else inside will be printed to the screen</p>
<p>Utilizing just these things can utterly unleash wordpress you will no longer be constrained to what you can put on your sidebar or you can hand craft your home page to pull posts from different sources. The possibilities are endless.</p>
<p>Some examples are as follow</p>
<ol>
<li>dynamically add or remove the sidebar from a page or post</li>
<li>create custom banner images for each unique page</li>
<li>call post titles in your sidebar that relate to the one the user is currently looking at</li>
</ol>
<p>All this and more while keeping your site still around 90% editable in the designers eye and easily manageable in the clients eye.</p>
<p>I would like to mention that since the best and easiest way for editing material in custom places is by calling the categories they are associated with. This in turn can leave you with many categories some of which the client should add and edit and others maybe not so much. But my point is that it&#8217;s important to document those things and provide them to the client at the completion of your contract. It&#8217;s a good practice and it covers your bases, and outlines what can and cannot be changed within their site if you &#8220;sold&#8221; them that ability in the first place.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.cssOrigins.com/2009/wordpress-unleashed/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
