<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Voosh Themes</title>
	
	<link>http://www.vooshthemes.com</link>
	<description>Wordpress Premium Themes and Templates</description>
	<lastBuildDate>Thu, 15 Jul 2010 14:56:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/VooshThemes" /><feedburner:info uri="vooshthemes" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>WordPress Quick Tip: Highlight Author Comments Using CSS3</title>
		<link>http://feedproxy.google.com/~r/VooshThemes/~3/q9gb1PB67BM/</link>
		<comments>http://www.vooshthemes.com/blog/wordpress-tip/wordpress-quick-tip-highlight-author-comments-using-css3/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 14:56:05 +0000</pubDate>
		<dc:creator>Chris Creed</dc:creator>
				<category><![CDATA[WordPress Tip]]></category>

		<guid isPermaLink="false">http://www.vooshthemes.com/?p=3150</guid>
		<description><![CDATA[Highlighting comments made by authors in the discussion section of blog posts and articles can be a good way of enhancing the readability of a comments section. 
This is very straightforward to do and in this quick tip we&#8217;ll be using a little bit of CSS3 to add some nice styling to all comments made [...]]]></description>
			<content:encoded><![CDATA[<p>Highlighting comments made by authors in the discussion section of blog posts and articles can be a good way of enhancing the readability of a comments section. <span id="more-3150"></span></p>
<p>This is very straightforward to do and in this quick tip we&#8217;ll be using a little bit of CSS3 to add some nice styling to all comments made by authors. </p>
<p>In this post I&#8217;m going to be using the comments section in the <a href="http://www.vooshthemes.com/wordpress-theme/zamka/">Zamka WordPress Theme</a>, but the same code should also work in whichever theme you have installed. </p>
<p>As you can see below, I&#8217;ve adapted the Zamka comments section so that all comments have a white background:</p>
<p><img src="http://www.vooshthemes.com/wp-content/uploads/2010/07/comments-unstyled.png" style="border:1px #eee solid" /></p>
<p>Based on the appearance of each individual comment it would be very difficult to locate which comments were made by the author &#8211; especially if all the comments had gravatars associated with them. </p>
<p>What we want to do is change the styling of the comment made by me (&#8220;Chris Creed&#8221; &#8211; i.e. the author of the sample blog post used in this example). </p>
<p>Since the release of WordPress 2.7 there has been a function called wp_list_comments which automatically generates a class that can be used style author comments. </p>
<p>This class is called &#8220;.bypostauthor&#8221; and by targeting this we can easily change the look and feel of author comments. You can test this by adding the following code to your stylesheet:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.commentlist</span> <span style="color: #6666ff;">.bypostauthor</span> <span style="color: #00AA00;">&#123;</span> 
&nbsp;
  <span style="color: #808080; font-style: italic;">/* -- Add a darker border - */</span>
  <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#bbb</span> <span style="color: #993333;">solid</span><span style="color: #00AA00;">;</span>
&nbsp;
  <span style="color: #808080; font-style: italic;">/* -- CSS3 Linear Gradient -- */</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> -webkit-gradient<span style="color: #00AA00;">&#40;</span>linear<span style="color: #00AA00;">,</span> <span style="color: #933;"><span style="color: #cc66cc;">0</span>%</span> <span style="color: #933;"><span style="color: #cc66cc;">0</span>%</span><span style="color: #00AA00;">,</span> <span style="color: #933;"><span style="color: #cc66cc;">0</span>%</span> <span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span><span style="color: #00AA00;">,</span> from<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#f5f5f5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span> to<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#ddd</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> 
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> -moz-linear-gradient<span style="color: #00AA00;">&#40;</span><span style="color: #933;"><span style="color: #cc66cc;">0</span>%</span> <span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span> 90deg<span style="color: #00AA00;">,</span><span style="color: #cc00cc;">#ddd</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#f5f5f5</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>  
&nbsp;
  <span style="color: #808080; font-style: italic;">/* -- CSS3 Shadow -- */</span>
  -webkit-box-shadow<span style="color: #00AA00;">:</span><span style="color: #933;">0px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">50px</span> <span style="color: #cc00cc;">#ddd</span><span style="color: #00AA00;">;</span>
  -moz-box-shadow<span style="color: #00AA00;">:</span><span style="color: #933;">0px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">50px</span> <span style="color: #cc00cc;">#ddd</span><span style="color: #00AA00;">;</span> 
  box-shadow<span style="color: #00AA00;">:</span><span style="color: #933;">0px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">50px</span> <span style="color: #cc00cc;">#ddd</span><span style="color: #00AA00;">;</span>
&nbsp;
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>In the above code we&#8217;re initially adding a darker border to help the author comments stand out a little more. We&#8217;re then adding a linear gradient and a shadow using some CSS3. After you&#8217;ve added the code your author comments should look something like the following screenshot:</p>
<p><img src="http://www.vooshthemes.com/wp-content/uploads/2010/07/comments-styled.png" style="border:1px #eee solid" /></p>
<p>All done! It&#8217;s a subtle effect, but it does help to make the author&#8217;s comments stand out much more and can enhance the readibility of a comments section &#8211; especially when there are lots of comments to read through. </p>
<p>I hope you found this useful &#8211; leave a comment below if you have any questions/feedback/suggestions. </p>
<img src="http://feeds.feedburner.com/~r/VooshThemes/~4/q9gb1PB67BM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.vooshthemes.com/blog/wordpress-tip/wordpress-quick-tip-highlight-author-comments-using-css3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.vooshthemes.com/blog/wordpress-tip/wordpress-quick-tip-highlight-author-comments-using-css3/</feedburner:origLink></item>
		<item>
		<title>Voosh Themes Club Update</title>
		<link>http://feedproxy.google.com/~r/VooshThemes/~3/6qeu77cQJV8/</link>
		<comments>http://www.vooshthemes.com/blog/announcement/voosh-themes-club-update/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 12:48:12 +0000</pubDate>
		<dc:creator>Chris Creed</dc:creator>
				<category><![CDATA[Announcement]]></category>

		<guid isPermaLink="false">http://www.vooshthemes.com/?p=3139</guid>
		<description><![CDATA[This is just a quick note to let you know that the structure of the &#8220;Voosh Themes Club&#8221; has changed. 
You can now get all premium themes on the site for $97 &#8211; in addition to this you&#8217;ll also get all future themes at no extra charge. 
You can get more details about the benefits [...]]]></description>
			<content:encoded><![CDATA[<p>This is just a quick note to let you know that the structure of the &#8220;Voosh Themes Club&#8221; has changed. <span id="more-3139"></span></p>
<p>You can now get all premium themes on the site for $97 &#8211; in addition to this you&#8217;ll also get all future themes at no extra charge. </p>
<p>You can get more details about the benefits of being a member on the <a href="http://www.vooshthemes.com/voosh-themes-club/">Voosh Themes Premium Membership</a> page &#8211; feel free to get in touch with at chris@vooshthemes.com if you have any questions about becoming a premium member. </p>
<img src="http://feeds.feedburner.com/~r/VooshThemes/~4/6qeu77cQJV8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.vooshthemes.com/blog/announcement/voosh-themes-club-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.vooshthemes.com/blog/announcement/voosh-themes-club-update/</feedburner:origLink></item>
		<item>
		<title>Create A Clean and Stylish CSS3 Contact Form</title>
		<link>http://feedproxy.google.com/~r/VooshThemes/~3/Jf4rEtDevMI/</link>
		<comments>http://www.vooshthemes.com/blog/design-tutorial/create-a-clean-and-stylish-css3-contact-form/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 12:20:55 +0000</pubDate>
		<dc:creator>Chris Creed</dc:creator>
				<category><![CDATA[Design Tutorial]]></category>

		<guid isPermaLink="false">http://www.vooshthemes.com/?p=3067</guid>
		<description><![CDATA[Building stylish contact forms typically requires the use of images (and maybe some JavaScript) to create something that looks professional. However, with CSS3 it&#8217;s now much easier to create some nice effects that don&#8217;t require the use of any images, yet can still look clean and stylish. 
In this tutorial we&#8217;re going to look at [...]]]></description>
			<content:encoded><![CDATA[<p>Building stylish contact forms typically requires the use of images (and maybe some JavaScript) to create something that looks professional. However, with CSS3 it&#8217;s now much easier to create some nice effects that don&#8217;t require the use of any images, yet can still look clean and stylish. <span id="more-3067"></span></p>
<p>In this tutorial we&#8217;re going to look at a range of different CSS3 effects &#8211; in particular, we&#8217;ll be creating background gradients, adding shadows to elements, applying some rounded corners, and adding a couple of simple animation effects. </p>
<p>Click the button below to view the live demo &#8211; it works in best in browsers powered by the WebKit rendering engine (i.e. Chrome and Safari), but also degrades well in Firefox, Opera, and IE.</p>
<div class="buttons"><a href="http://www.vooshthemes.com/demos/css3-contact-form/css3-contact-form.html" class="live-demo-button" /></a><a href="http://www.vooshthemes.com/demos/css3-contact-form/css3-contact-form.zip" class="download-button" /></a></div>
<p>Here&#8217;s a screenshot of what we&#8217;ll be creating:</p>
<p><img src="http://www.vooshthemes.com/wp-content/uploads/2010/06/screenshot.png" style="border: 1px solid #ddd;" /></p>
<h3>Create The HTML Structure</h3>
<p>To start with, create a new HTML document and add the following code inside the &lt;body>:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">form</span> <span style="color: #000066;">action</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span> 
&nbsp;
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">fieldset</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;user-details&quot;</span>&gt;</span>			
&nbsp;
            <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name&quot;</span>&gt;</span>Name:<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span>
	    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;name&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> 
&nbsp;
	    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;email&quot;</span>&gt;</span>Email:<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span> 
	    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;email&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;email&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>  <span style="color: #66cc66;">/</span>&gt;</span> 
&nbsp;
	    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;phone&quot;</span>&gt;</span>Phone:<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span> 
	    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;phone&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>  <span style="color: #66cc66;">/</span>&gt;</span> 
&nbsp;
	    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;website&quot;</span>&gt;</span>Website:<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span> 
	    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;url&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;website&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span>  <span style="color: #66cc66;">/</span>&gt;</span> 
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">fieldset</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--end user-details--&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">fieldset</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;user-message&quot;</span>&gt;</span>
&nbsp;
	    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">label</span> <span style="color: #000066;">for</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;message&quot;</span>&gt;</span>Your Message:<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">label</span>&gt;</span> 
	    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">textarea</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;message&quot;</span> <span style="color: #000066;">rows</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #000066;">cols</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;0&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">textarea</span>&gt;</span> 
&nbsp;
	    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Submit Message&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>		
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">fieldset</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!-- end user-message --&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">form</span>&gt;</span></pre></div></div>

<p>This is quite straightforward &#8211; we&#8217;re simply creating a form that has two containers &#8211; one that displays input fields for user details (#user-details) and another that displays a textarea for users to enter their message (#user-message). </p>
<p>Now add the following line in your &lt;head>:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">link</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz'</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'stylesheet'</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'text/css'</span> <span style="color: #66cc66;">/</span>&gt;</span></pre></div></div>

<p>This will make a nice font available from the <a href="http://code.google.com/webfonts">Google Fonts directory</a> &#8211; we then need to add some basic styling for the main document elements:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">&nbsp;
<span style="color: #00AA00;">*</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
body <span style="color: #00AA00;">&#123;</span> 
    <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span> 
    <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#f5f5f5</span><span style="color: #00AA00;">;</span> 	
    <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#555</span><span style="color: #00AA00;">;</span>	 
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">800px</span><span style="color: #00AA00;">;</span> 
&nbsp;
    <span style="color: #808080; font-style: italic;">/* make reference to the Yanone Kaffeesatz font */</span>
    <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'Yanone Kaffeesatz'</span><span style="color: #00AA00;">,</span> arial<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
h1 <span style="color: #00AA00;">&#123;</span> 
    <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#555</span><span style="color: #00AA00;">;</span> 
    <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">20px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> 
<span style="color: #00AA00;">&#125;</span>	
&nbsp;
label <span style="color: #00AA00;">&#123;</span>	
    <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#666</span><span style="color: #00AA00;">;</span> 
<span style="color: #00AA00;">&#125;</span>
&nbsp;
fieldset <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#user-details</span> <span style="color: #00AA00;">&#123;</span> 
    <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">230px</span><span style="color: #00AA00;">;</span> 
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#user-message</span> <span style="color: #00AA00;">&#123;</span> 
    <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">405px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
textarea <span style="color: #00AA00;">&#123;</span>		
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">390px</span><span style="color: #00AA00;">;</span> 
    <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">175px</span><span style="color: #00AA00;">;</span> 		 		
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<h3>Apply Some CSS3 Magic</h3>
<p>Now onto styling the form &#8211; in each part we&#8217;ll initially add the standard CSS code first and then move on to discuss the CSS3 code that helps to enhance everything. So, to start with, add the following CSS code to style the form:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">form <span style="color: #00AA00;">&#123;</span> 
    <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#ddd</span><span style="color: #00AA00;">;</span> 
    <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">30px</span> <span style="color: #933;">40px</span> <span style="color: #933;">20px</span> <span style="color: #933;">40px</span><span style="color: #00AA00;">;</span> 
    <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">75px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">715px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>If you check in the browser you should have something that looks like the following image:</p>
<p><img src="http://www.vooshthemes.com/wp-content/uploads/2010/06/form-unstyled1.png" style="border: 1px solid #ddd;" /></p>
<p>We now want to add some rounded corners, a linear gradient background, and a drop shadow to the form &#8211; to achieve this we&#8217;re going to make use of some CSS3 code. Add the following code at the bottom of your &#8220;form&#8221; element:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">form <span style="color: #00AA00;">&#123;</span>
&nbsp;
...
&nbsp;
<span style="color: #808080; font-style: italic;">/* -- CSS3 - define rounded corners -- */</span>	
-webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
-moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span> 
border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* -- CSS3 - create a background gradient -- */</span>
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> -webkit-gradient<span style="color: #00AA00;">&#40;</span>linear<span style="color: #00AA00;">,</span> <span style="color: #933;"><span style="color: #cc66cc;">0</span>%</span> <span style="color: #933;"><span style="color: #cc66cc;">0</span>%</span><span style="color: #00AA00;">,</span> <span style="color: #933;"><span style="color: #cc66cc;">0</span>%</span> <span style="color: #933;"><span style="color: #cc66cc;">40</span>%</span><span style="color: #00AA00;">,</span> from<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#EEE</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span> to<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#FFF</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> 
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> -moz-linear-gradient<span style="color: #00AA00;">&#40;</span><span style="color: #933;"><span style="color: #cc66cc;">0</span>%</span> <span style="color: #933;"><span style="color: #cc66cc;">40</span>%</span> 90deg<span style="color: #00AA00;">,</span><span style="color: #cc00cc;">#FFF</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#EEE</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> 
&nbsp;
<span style="color: #808080; font-style: italic;">/* -- CSS3 - add a drop shadow -- */</span>
-webkit-box-shadow<span style="color: #00AA00;">:</span><span style="color: #933;">0px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">50px</span> <span style="color: #cc00cc;">#ccc</span><span style="color: #00AA00;">;</span>
-moz-box-shadow<span style="color: #00AA00;">:</span><span style="color: #933;">0px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">50px</span> <span style="color: #cc00cc;">#ccc</span><span style="color: #00AA00;">;</span> 
box-shadow<span style="color: #00AA00;">:</span><span style="color: #933;">0px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">50px</span> <span style="color: #cc00cc;">#ccc</span><span style="color: #00AA00;">;</span>
&nbsp;
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>In the above code, the &#8220;-moz&#8221; prefix is used to target Gecko based browsers (e.g. Firefox and Flock) whilst the &#8220;-webkit&#8221; prefix is used for browsers powered by the WebKit rendering engine (e.g. Chrome and Safari). </p>
<p>Once you&#8217;ve added this code your form should look something like the following screenshot:</p>
<p><img src="http://www.vooshthemes.com/wp-content/uploads/2010/06/first-css3-styling.png" style="border: 1px solid #ddd;"  /></p>
<p>As you can see, with just a few simple lines of CSS3 we&#8217;ve already significantly enhanced the appearance of the form. Now let&#8217;s add the basic code for the &lt;input> and &lt;textarea> elements:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">input<span style="color: #00AA00;">,</span> textarea <span style="color: #00AA00;">&#123;</span> 		
    <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">8px</span><span style="color: #00AA00;">;</span> 
    <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">4px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">20px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> 
    <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span> 
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">220px</span><span style="color: #00AA00;">;</span> 
    <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">14px</span><span style="color: #00AA00;">;</span> 
    <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#555</span><span style="color: #00AA00;">;</span> 
    <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#ddd</span> <span style="color: #993333;">solid</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Following this, we want to add a drop shadow to each input element and a CSS3 transition effect (i.e. an animation), so that we can fade in a different background color whenever the user hovers over an input/textarea element. To do this, we initially need to add the following code:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">input<span style="color: #00AA00;">,</span> textarea <span style="color: #00AA00;">&#123;</span>
&nbsp;
...
&nbsp;
<span style="color: #808080; font-style: italic;">/* -- CSS3 Shadow - create a shadow around each input element -- */</span> 
-webkit-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span> <span style="color: #933;">4px</span> <span style="color: #cc00cc;">#aaa</span><span style="color: #00AA00;">;</span>
-moz-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span> <span style="color: #933;">4px</span> <span style="color: #cc00cc;">#aaa</span><span style="color: #00AA00;">;</span> 
box-shadow<span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span> <span style="color: #933;">4px</span> <span style="color: #cc00cc;">#aaa</span><span style="color: #00AA00;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* -- CSS3 Transition - define what the transition will be applied to (i.e. the background) -- */</span>		
-webkit-transition<span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">background</span> 0.3s linear<span style="color: #00AA00;">;</span>					
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>The transition effect will be triggered when the user hovers over the input and textarea elements &#8211; we therefore need to add the following code to define the action to be taken on this event:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">input<span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">,</span> textarea<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span> 
    <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#eee</span><span style="color: #00AA00;">;</span> 
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>If you now hover over an input field or the textarea you should see the background color change to grey over a short delay (0.3 seconds). Your form should now look almost complete:</p>
<p><img src="http://www.vooshthemes.com/wp-content/uploads/2010/06/hover-completed.png" style="border: 1px solid #ddd;" /></p>
<p>It&#8217;s now time to work on the submit button &#8211; again we&#8217;ll add our standard CSS code first:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">input<span style="color: #6666ff;">.submit</span> <span style="color: #00AA00;">&#123;</span> 	
    <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">150px</span><span style="color: #00AA00;">;</span> 
    <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#eee</span><span style="color: #00AA00;">;</span> 
    <span style="color: #000000; font-weight: bold;">text-transform</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">uppercase</span><span style="color: #00AA00;">;</span> 
    <span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#18a5cc</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Then add a CSS3 transition, gradient, and some rounded corners:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">input<span style="color: #6666ff;">.submit</span> <span style="color: #00AA00;">&#123;</span>
&nbsp;
... 
&nbsp;
<span style="color: #808080; font-style: italic;">/* -- CSS3 Transition - define which property to animate (i.e. the shadow)  -- */</span>
-webkit-transition<span style="color: #00AA00;">:</span> -webkit-box-shadow 0.3s linear<span style="color: #00AA00;">;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* -- CSS3 Shadow - create a shadow around each input element -- */</span> 
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> -webkit-gradient<span style="color: #00AA00;">&#40;</span>linear<span style="color: #00AA00;">,</span> <span style="color: #933;"><span style="color: #cc66cc;">0</span>%</span> <span style="color: #933;"><span style="color: #cc66cc;">0</span>%</span><span style="color: #00AA00;">,</span> <span style="color: #933;"><span style="color: #cc66cc;">0</span>%</span> <span style="color: #933;"><span style="color: #cc66cc;">100</span>%</span><span style="color: #00AA00;">,</span> from<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#18a5cc</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">,</span> to<span style="color: #00AA00;">&#40;</span><span style="color: #cc00cc;">#0a85a8</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> 
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span>  -moz-linear-gradient<span style="color: #00AA00;">&#40;</span><span style="color: #933;"><span style="color: #cc66cc;">25</span>%</span> <span style="color: #933;"><span style="color: #cc66cc;">75</span>%</span> 90deg<span style="color: #00AA00;">,</span><span style="color: #cc00cc;">#0a85a8</span><span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#18a5cc</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span> 
&nbsp;
<span style="color: #808080; font-style: italic;">/* -- CSS3 - Rounded Corners -- */</span>
-webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
-moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">4px</span><span style="color: #00AA00;">;</span> 
border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
&nbsp;
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>We then need to trigger the animation on the :hover event, so let&#8217;s add the code for that:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">input<span style="color: #6666ff;">.submit</span><span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span> 		
    -webkit-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span> <span style="color: #933;">20px</span> <span style="color: #cc00cc;">#555</span><span style="color: #00AA00;">;</span>
    -moz-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span> <span style="color: #933;">20px</span> <span style="color: #cc00cc;">#aaa</span><span style="color: #00AA00;">;</span> 
    box-shadow<span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span> <span style="color: #933;">0px</span> <span style="color: #933;">20px</span> <span style="color: #cc00cc;">#555</span><span style="color: #00AA00;">;</span>		
    <span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span>  <span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span> 
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>If you now test the code in your browser you&#8217;ll see a fairly large shadow around the button whenever you hover over it (note that this effect is only available for WebKit browsers, so you&#8217;ll need to test it in Chrome or Safari to see it working).</p>
<p>Your form should now be complete:</p>
<p><img src="http://www.vooshthemes.com/wp-content/uploads/2010/06/screenshot.png" style="border: 1px solid #ddd;" /></p>
<h3>All Done …</h3>
<p>That&#8217;s everything done &#8211; you now have a clean contact form made with nothing other than CSS. Of course, there are still some issues with implementing CSS3 in that it wont work in all browsers, but the form has been designed to degrade well in older browsers. </p>
<p>You can use the buttons below to take a closer look through the live demo &#8211; you can also download and have a play around with the source code.</p>
<p>I hope you found this useful &#8211; let me know in the comments below if you have any comments/suggestions/feedback.  </p>
<div class="buttons"><a href="http://www.vooshthemes.com/demos/css3-contact-form/css3-contact-form.html" class="live-demo-button" /></a><a href="http://www.vooshthemes.com/demos/css3-contact-form/css3-contact-form.zip" class="download-button" /></a></div>
<img src="http://feeds.feedburner.com/~r/VooshThemes/~4/Jf4rEtDevMI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.vooshthemes.com/blog/design-tutorial/create-a-clean-and-stylish-css3-contact-form/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		<feedburner:origLink>http://www.vooshthemes.com/blog/design-tutorial/create-a-clean-and-stylish-css3-contact-form/</feedburner:origLink></item>
		<item>
		<title>New Theme Release: Zamka</title>
		<link>http://feedproxy.google.com/~r/VooshThemes/~3/Iqh0vh8kg48/</link>
		<comments>http://www.vooshthemes.com/blog/announcement/new-theme-release-zamka/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 16:38:40 +0000</pubDate>
		<dc:creator>Chris Creed</dc:creator>
				<category><![CDATA[Announcement]]></category>

		<guid isPermaLink="false">http://www.vooshthemes.com/?p=3049</guid>
		<description><![CDATA[I&#8217;ve just released my latest theme &#8211; it&#8217;s called Zamka and is ideal for individuals and small businesses looking to promote their services online. 
It comes with a range of different page templates including a professional front page design, a clean portfolio template, and a minimalistic blog design. 
Other features include six different color schemes, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just released my latest theme &#8211; it&#8217;s called <a href="http://www.vooshthemes.com/wordpress-theme/zamka/">Zamka</a> and is ideal for individuals and small businesses looking to promote their services online. <span id="more-3049"></span></p>
<p>It comes with a range of different page templates including a professional front page design, a clean portfolio template, and a minimalistic blog design. </p>
<p>Other features include six different color schemes, Google Analytics integration, advertisement management, a fully functional contact form, and much more!</p>
<p>The download file contains all source files, the fully layered Photoshop file, and instructions about how to install and configure the theme. </p>
<p>You can get more details about the main features by visiting the <a href="http://www.vooshthemes.com/wordpress-theme/zamka/">Zamka features page</a> &#8211; there&#8217;s also a <a href="http://www.vooshthemes.com/gallery/zamka/">live demo</a> you can check out to get a closer look at the theme.</p>
<p><b>Note for Voosh Themes Club Members</b>: Zamka is now available for you to download in your account area. </p>
<p>Not a Voosh Themes Club Member? <a href="http://www.vooshthemes.com/voosh-themes-club/">Sign up today and get all themes for $97</a>.</p>
<img src="http://feeds.feedburner.com/~r/VooshThemes/~4/Iqh0vh8kg48" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.vooshthemes.com/blog/announcement/new-theme-release-zamka/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.vooshthemes.com/blog/announcement/new-theme-release-zamka/</feedburner:origLink></item>
		<item>
		<title>Zamka</title>
		<link>http://feedproxy.google.com/~r/VooshThemes/~3/APS4RReF4gY/</link>
		<comments>http://www.vooshthemes.com/wordpress-theme/zamka/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 16:10:09 +0000</pubDate>
		<dc:creator>Chris Creed</dc:creator>
				<category><![CDATA[WordPress Theme]]></category>

		<guid isPermaLink="false">http://www.vooshthemes.com/?p=3038</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><object><form method="post"  action=""  style="display:inline" onsubmit="return ReadForm1(this, true);"><input type="submit" class="addCartButton" value="" /><input type="hidden" name="product" value="Zamka WordPress Theme" /><input type="hidden" name="price" value="35.00" /><input type="hidden" name="product_name_tmp1" value="Zamka WordPress Theme" /><input type="hidden" name="price_tmp1" value="35.00" /><input type="hidden" name="item_number" value="34" /><input type="hidden" name="shipping" value="" /><input type="hidden" name="addcart_eStore" value="1" /><input type="hidden" name="cartLink" value="http://www.vooshthemes.com/feed/?cat=-3&-7&-10" /></form></object></p>
<img src="http://feeds.feedburner.com/~r/VooshThemes/~4/APS4RReF4gY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.vooshthemes.com/wordpress-theme/zamka/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.vooshthemes.com/wordpress-theme/zamka/</feedburner:origLink></item>
		<item>
		<title>Things To Consider When Using WordPress For Client Websites</title>
		<link>http://feedproxy.google.com/~r/VooshThemes/~3/OjdxnaRfCEM/</link>
		<comments>http://www.vooshthemes.com/blog/wordpress-tip/things-to-consider-when-using-wordpress-for-client-websites/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 13:20:21 +0000</pubDate>
		<dc:creator>Chris Creed</dc:creator>
				<category><![CDATA[WordPress Tip]]></category>

		<guid isPermaLink="false">http://www.vooshthemes.com/?p=3026</guid>
		<description><![CDATA[When using WordPress for client websites it&#8217;s important to give some additional consideration to how you intend to install and configure the site for them.
You need to think ahead of time to anticipate any issues as they are likely to have little experience with WordPress and may be unsure how to complete even the easiest [...]]]></description>
			<content:encoded><![CDATA[<p>When using WordPress for client websites it&#8217;s important to give some additional consideration to how you intend to install and configure the site for them.<span id="more-3026"></span></p>
<p>You need to think ahead of time to anticipate any issues as they are likely to have little experience with WordPress and may be unsure how to complete even the easiest of tasks. </p>
<p>In this article I want touch of some of the things that you might want to give some thought to if you&#8217;re using WordPress to power websites for your clients. </p>
<h3>Upgrades</h3>
<p>One thing that your clients will almost certainly need to do when using WordPress is upgrade to the latest version. Several new updates are typically released throughout the year (for both WordPress and individual plugins) that contain bug fixes, patches for security holes, and new functionality. </p>
<p>However, there are always risks associated with upgrading &#8211; the functionality of a site can be significantly affected and it&#8217;s not uncommon for there to be incompatibilities with installed plugins. This can potentially cause a range of issues with a website and as a result it&#8217;s usually best to test things locally before upgrading.</p>
<p>This could be an issue though as the vast majority of clients are unlikely to test anything before upgrading. To address this, you may want to consider altering their WordPress installation so that they can&#8217;t see update messages for both the WordPress core and individual plugins (check out this article to find out <a href="http://www.vooshthemes.com/blog/wordpress-tip/wordpress-quick-tip-remove-the-dashboard-update-message/">how to remove the WP dashboard message</a>).</p>
<p>By doing this you can ensure that your clients wont take it upon themselves to update without consulting you first. However, it&#8217;s probably best to discuss this with your clients first &#8211; it&#8217;s always worth informing them about the benefits of upgrades and also the associated risks.</p>
<h3>Offer Training / Video Tutorials</h3>
<p>If you&#8217;ve been using WordPress for a while you&#8217;ll no doubt find it really easy to use &#8211; however, lots of clients will have little technical experience and will find even some of the most basic tasks (e.g. publishing posts, adding categories, etc.) difficult without some basic training.</p>
<p>It&#8217;s therefore worth taking the time to tell your clients how to use WordPress &#8211; you can do this in a variety of ways &#8211; written documentation, in person, over the phone, or a good approach is to record some short videos that show how to do basic things such as adding posts/pages, editing content, adding categories, and deleting posts. </p>
<p>The good thing with this approach is that you can then reuse these videos for each new client that you build a WordPress site for. </p>
<h3>Custom Fields</h3>
<p>When building a theme for client websites I think it&#8217;s best to reduce the amount of custom fields that you use. Whilst they offer lots of potential to extend the core functionality of WordPress, they can also come across as being quite technical and intimidating to clients. </p>
<p>For example, when building a WordPress site that incorporates a portfolio, it&#8217;s not uncommon with many themes out there for you to have to create a new post (which actually is supposed to represet a portfolio item) and then associate custom fields with that post that provide details such as an overview of the portfolio item, a URL to an image screenshot, project dates, etc.</p>
<p>This is not intuitive to those who have little experience with WordPress &#8211; they just want to click buttons that say &#8220;Add New Portfolio&#8221; and &#8220;Add New Project&#8221; which then take them to pages where they can select things from drop-down boxes and enter text into input fields.</p>
<p>With the new <a href="http://www.vooshthemes.com/blog/wordpress-tip/create-a-professional-portfolio-using-wordpress-3-0-custom-post-types/">custom post type functionality</a> that will be included in the imminent release of WordPress 3.0, it will be much easier to create this type of functionality for users. </p>
<p>Making use of this feature will enable you to reduce your reliance on custom fields and therefore create a more intuitive interaction experience for your clients. </p>
<h3>Security</h3>
<p>If possible it&#8217;s worth taking the time to enable Akismet for your clients to stop them receiving lots of comment spam. It&#8217;s also worth taking steps to enhance the security of their site &#8211; so, for example, you might want to perform some of the standard security steps for them such as ensuring they use a secure password, deleting the admin user, restricting access to important areas via .htaccess, and hiding the WordPress configuration file (wp-config.php).</p>
<p>I&#8217;ve written about each of these before in a previous post (<a href="http://www.vooshthemes.com/blog/wordpress/make-your-wordpress-site-hack-proof/">Make Your WordPress Site Hack-Proof</a>) &#8211; check it out if you&#8217;d like some tips about making WordPress sites more secure. </p>
<p>It may also be worth installing some security plugins as well to enhance security &#8211; there are numerous ones out there including <a href="http://wordpress.org/extend/plugins/wp-security-scan/">WP Security Scan</a> and <a href="http://wordpress.org/extend/plugins/exploit-scanner/">WordPress Exploit Scanner</a> that help to check your site for any vulnerabilities. </p>
<p>Others aim to protect your site through the use of a firewall (e.g. <a href="http://www.seoegghead.com/software/wordpress-firewall.seo">WordPress Firewall</a>) or through Anti-Virus (e.g. <a href="http://wpantivirus.com/">WP AntiVirus</a>). </p>
<h3>Database Backups</h3>
<p>Another thing that your clients might not give consideration to is the fact that they&#8217;ll need to backup their WordPress database. </p>
<p><a href="http://wordpress.org/extend/plugins/wp-db-backup/">WordPress Database Backup</a> is a great plugin that will allow clients to easily update their sites and then send the backup to their email account. They can even set it to run daily, weekly, or as frequently as they choose &#8211; so they can essentially set and then forget about it.</p>
<p>This is also quick and easy for you to implement, so it doesn&#8217;t take up too much of your time &#8211; just be sure to run through with your clients how the plugin works and the different functions it provides.</p>
<h3>Analytics</h3>
<p>It&#8217;s likely that your clients will want to monitor traffic to their site, so you&#8217;ll want to make this easy for them to do.</p>
<p>There are several approaches you could use here &#8211; you could get clients to give you their analytics tracking code and then copy it into the site manually yourself. Or you could provide a theme option that allows them to complete this task themselves. </p>
<p>You could also use a plugin, but that may be overkill &#8211; the key thing is to ensure that this is configured for your clients so that they can then easily monitor visits to their site. </p>
<h3>Bookmark Important Pages</h3>
<p>It&#8217;s always worth telling clients to bookmark the WordPress Admin login screen &#8211; whilst it&#8217;s obvious to those of us who use WordPress on a regular basis where to access this page, those who are relatively new to WordPress wont be aware of the URL they&#8217;ll need to visit. </p>
<p>It&#8217;s therefore worth ensuring that they bookmark both the login page and the obviously the main URL of their site.</p>
<h3>Your Thoughts?</h3>
<p>These are just some suggestions about what you need to give consideration to when using WordPress on client websites &#8211; obviously this will depend on individual client needs and the nature of the project, but hopefully the areas I&#8217;ve discussed cover the main points.</p>
<p>Do you use WordPress for client websites? Leave a comment below if you have any advice or if you think I missed anything out…</p>
<img src="http://feeds.feedburner.com/~r/VooshThemes/~4/OjdxnaRfCEM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.vooshthemes.com/blog/wordpress-tip/things-to-consider-when-using-wordpress-for-client-websites/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.vooshthemes.com/blog/wordpress-tip/things-to-consider-when-using-wordpress-for-client-websites/</feedburner:origLink></item>
		<item>
		<title>Integrate Google Analytics With Your WordPress Blog</title>
		<link>http://feedproxy.google.com/~r/VooshThemes/~3/oP3SbDHUQQU/</link>
		<comments>http://www.vooshthemes.com/blog/wordpress-tip/integrate-google-analytics-into-your-wordpress-blog/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 16:51:04 +0000</pubDate>
		<dc:creator>Chris Creed</dc:creator>
				<category><![CDATA[WordPress Tip]]></category>

		<guid isPermaLink="false">http://www.vooshthemes.com/?p=3006</guid>
		<description><![CDATA[It&#8217;s important to keep track of how many people are visiting your website and to monitor some key statistics such as the number of unique visits, the pages most viewed, and the length of time visitors are staying on your site. 
Google Analytics is the main tool that is used for this task and does [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s important to keep track of how many people are visiting your website and to monitor some key statistics such as the number of unique visits, the pages most viewed, and the length of time visitors are staying on your site. <span id="more-3006"></span></p>
<p>Google Analytics is the main tool that is used for this task and does a very thorough job &#8211; you can get information on just about everything and really drill down and understand how people are interacting with your website.</p>
<p>In fact, the amount of data it provides can be a little overwhelming if you&#8217;re relatively new to statistical applications. However, it&#8217;s certainly a great tool and something that you&#8217;ll want to be using to track visitors to your WordPress blog. </p>
<p><b>Quick Tip For iPhone Users</b> &#8211; many people prefer using the <a href="http://analyticsapp.com/">Analytics App</a> for the iPhone to view Google Analytics data as it&#8217;s less overwhelming than the standard web-based version and does a good job of providing you with key data about your website&#8217;s traffic. </p>
<p>Once you have created your Google Analytics account there are three primary ways in which you can enable it on your WordPress powered site.</p>
<h3>1. Manually add it to your footer.php file</h3>
<p>This is relatively quick and easy &#8211; copy the code that Google Analytics provides you with and paste it the bottom of your footer.php file (just above the &lt;/body> tag).</p>
<p>Save your changes and Google Analytics will be enabled. The only downside to this approach is that the footer.php is a &#8220;theme&#8221; file which means that if you change your theme you&#8217;ll need to update the footer.php file on your new theme.</p>
<p>This can be something that&#8217;s very easy to forget to do when changing themes, so bear it in mind when using this approach.</p>
<h3>2. Edit the functions.php file</h3>
<p>Another separate approach is to edit your functions.php file &#8211; add the following code to this file:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_footer'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'enable_google_analytics'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">function</span> enable_google_analytics<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
// Edit Your Google Analytics Code Here
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Make sure that you add your Google Analytics code in the appropriate place and it will then be integrated with your site and ready to start monitoring traffic. </p>
<p>Again, the main issue with this approach is that the &#8220;functions.php&#8221; file is a theme specific file. So, as with the footer.php approach, if you decide to change your theme you&#8217;ll need to update the functions.php file in your new theme.</p>
<h3>3. Use a plugin</h3>
<p>One way to get round the issue of editing theme specific files is to use a plugin &#8211; there are some useful ones around that do the job such as <a href="http://wordpress.org/extend/plugins/google-analytics-for-wordpress/">Google Analytics For WordPress</a>.</p>
<p>The only slight downside to this approach is that you have to add another plugin to your website which adds an additional overhead when the same functionality can be achieved in a just few lines code. </p>
<p>However, if you change themes the plugin should continue to work, so you can set and forget it which is appealing to many people. </p>
<p>In summary, all of the above approaches will work just fine &#8211; the one you choose largely depends on your own personal taste. If you change your site&#8217;s theme on a regular basis you may want to opt for the plugin approach.</p>
<p>If, on the other hand, you&#8217;re unlikely to change your theme in the near future maybe option one or two might be suitable for you.</p>
<img src="http://feeds.feedburner.com/~r/VooshThemes/~4/oP3SbDHUQQU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.vooshthemes.com/blog/wordpress-tip/integrate-google-analytics-into-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.vooshthemes.com/blog/wordpress-tip/integrate-google-analytics-into-your-wordpress-blog/</feedburner:origLink></item>
		<item>
		<title>WordPress Quick Tip: How To Change The WordPress Admin Footer Text</title>
		<link>http://feedproxy.google.com/~r/VooshThemes/~3/mPejhDvih1Y/</link>
		<comments>http://www.vooshthemes.com/blog/wordpress-tip/wordpress-quick-tip-how-to-change-the-wordpress-admin-footer-text/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 15:14:52 +0000</pubDate>
		<dc:creator>Chris Creed</dc:creator>
				<category><![CDATA[WordPress Tip]]></category>

		<guid isPermaLink="false">http://www.vooshthemes.com/?p=2989</guid>
		<description><![CDATA[In a previous tip I showed you how to add your own logo to the WordPress Admin login screen. This can be useful if you need to customize WordPress installations for clients and it helps to keep the branding of the site consistent. 
Another place where you may like to add some custom branding is [...]]]></description>
			<content:encoded><![CDATA[<p>In a previous tip I showed you how to <a href="http://www.vooshthemes.com/blog/wordpress-tip/wordpress-hack-add-your-logo-to-the-wordpress-login-screen/">add your own logo to the WordPress Admin login screen</a>. This can be useful if you need to customize WordPress installations for clients and it helps to keep the branding of the site consistent. <span id="more-2989"></span></p>
<p>Another place where you may like to add some custom branding is the WordPress Admin footer &#8211; by default the content displayed here is a little generic, so you may want to adapt it to make it more relevant to your client&#8217;s business/organization.</p>
<p>Here&#8217;s what&#8217;s displayed by default in the WordPress Admin footer:</p>
<p><img src="http://www.vooshthemes.com/wp-content/uploads/2010/06/original-footer.jpg" style="border: 1px #ccc solid" /></p>
<p>To change this to something more suitable add the following code to your functions.php file:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000000; font-weight: bold;">function</span> change_footer_content <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Copyright &amp;copy; 2010 / My Company Name / All Rights Reserved&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> 
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin_footer_text'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'change_footer_content'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Save your changes and then view your WordPress Admin area &#8211; you should now see that the footer text has changed. </p>
<p><img src="http://www.vooshthemes.com/wp-content/uploads/2010/06/footer-changed.jpg" style="border: 1px #ccc solid" /></p>
<p>Nice and simple! I hope you find this tip useful &#8211; let me know if you have any questions/feedback. </p>
<img src="http://feeds.feedburner.com/~r/VooshThemes/~4/mPejhDvih1Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.vooshthemes.com/blog/wordpress-tip/wordpress-quick-tip-how-to-change-the-wordpress-admin-footer-text/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.vooshthemes.com/blog/wordpress-tip/wordpress-quick-tip-how-to-change-the-wordpress-admin-footer-text/</feedburner:origLink></item>
		<item>
		<title>Create A Professional Portfolio Using WordPress 3.0 Custom Post Types</title>
		<link>http://feedproxy.google.com/~r/VooshThemes/~3/MCMN9MTb0L4/</link>
		<comments>http://www.vooshthemes.com/blog/wordpress-tip/create-a-professional-portfolio-using-wordpress-3-0-custom-post-types/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 14:10:43 +0000</pubDate>
		<dc:creator>Chris Creed</dc:creator>
				<category><![CDATA[WordPress Tip]]></category>

		<guid isPermaLink="false">http://www.vooshthemes.com/?p=2902</guid>
		<description><![CDATA[WordPress 3.0 will be released in the near future and the first release candidate (RC1) is currently available to download and have a play around with. There are lots of great new features included in the latest update with one of the most interesting and useful being that of custom post types. 
In this tutorial [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress 3.0 will be released in the near future and the <a href="http://wordpress.org/development/2010/05/wordpress-3-0-release-candidate/">first release candidate (RC1)</a> is currently available to download and have a play around with. There are lots of great new features included in the latest update with one of the most interesting and useful being that of custom post types. <span id="more-2902"></span></p>
<p>In this tutorial I&#8217;ll show you how to make use of the new custom post functionality to create a portfolio for your WordPress site. </p>
<h3>What Are Custom Posts?</h3>
<p>Custom posts are similar to blog posts in that you can add and edit them in the same way, but they differ in that they can be used to represent any sort of concept. So, for example, you might use a custom post to add a new project to a portfolio, a book to an online library, or a new member to subscription site. </p>
<p>When you create a new custom post type it will appear in your WordPress Admin menu and will enable you to create new &#8220;things&#8221; in much the same way you currently create posts and pages. </p>
<p><img src="http://www.vooshthemes.com/wp-content/uploads/2010/06/portfolio-menu.jpg" style="border:1px #ddd solid"; /></p>
<p>There are several advantages to this &#8211; for instance, it will make things much tidier and easier to manage as we&#8217;ll no longer have to use numerous custom fields to create sites that have portfolios, galleries, products, and any other type of custom post. </p>
<p>It will also be much better for those who are not experienced WordPress users &#8211; it will make it far easier for them to configure and maintain sites themselves as the interface will be much more intuitive. </p>
<p>For example, when adding a new product to an ecommerce site, all they will need to do is select the &#8220;Add New Product&#8221; link, provide some details about that product (e.g. a name, image, price and description) in the fields provided, and then save their updates. </p>
<p>Nice and easy!</p>
<h3>Creating A Portfolio</h3>
<p>Now we know what custom posts are, it&#8217;s time to get our hands dirty. We&#8217;ll be adding a website portfolio that makes use of the new custom post functionality to the <a href="http://www.vooshthemes.com/wordpress-theme/kanzoo/">Kanzoo WordPress theme</a>. Whilst I&#8217;ll be using this theme to demonstrate what you need to do, you&#8217;ll be able to use the code provided in any of your own sites/themes. </p>
<p>We&#8217;re aiming for something simple that has just a few portfolio items &#8211; you can then use this as a template to create a bigger and better portfolio &#8211; this is what we&#8217;re looking to build:</p>
<p><img src="http://www.vooshthemes.com/wp-content/uploads/2010/06/final-portfolio.jpg" style="border:1px #ddd solid";  /></p>
<h3>Create The Custom Post Type</h3>
<p>The first step in creating the portfolio is to actually create the new custom post type &#8211; you can do this by adding the following code to your functions.php file:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
	add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'init'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'create_portfolio'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">function</span> create_portfolio<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    	<span style="color: #000088;">$portfolio_args</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
        	<span style="color: #0000ff;">'label'</span> <span style="color: #339933;">=&gt;</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Portfolio'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
        	<span style="color: #0000ff;">'singular_label'</span> <span style="color: #339933;">=&gt;</span> __<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Portfolio'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
        	<span style="color: #0000ff;">'public'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">,</span>
        	<span style="color: #0000ff;">'show_ui'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">,</span>
        	<span style="color: #0000ff;">'capability_type'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'post'</span><span style="color: #339933;">,</span>
        	<span style="color: #0000ff;">'hierarchical'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">,</span>
        	<span style="color: #0000ff;">'rewrite'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">,</span>
        	<span style="color: #0000ff;">'supports'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'title'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'editor'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'thumbnail'</span><span style="color: #009900;">&#41;</span>
        <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    	register_post_type<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'portfolio'</span><span style="color: #339933;">,</span><span style="color: #000088;">$portfolio_args</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>The first line of this code uses the &#8220;init&#8221; hook to ensure that the &#8220;create_portfolio&#8221; function is called when WordPress is initialized. This function is then defined on line 2 and essentially creates the new custom type via an array called $portfolio_args.</p>
<p>The &#8220;register_post_type&#8221; function is then passed the name of our custom post type (i.e. &#8220;portfolio&#8221;) and the &#8220;$portfolio_args&#8221; array that defines the custom type. </p>
<p>You can view the available arguments for &#8220;register_post_type&#8221; in the <a href="http://codex.wordpress.org/Function_Reference/register_post_type#Arguments">WordPress codex</a>.</p>
<h3>Input Fields For Our Portfolio</h3>
<p>The next step is to create an input field that allows the user to enter some related details about the portfolio items. We&#8217;re going to keep things simple and will add a textfield where users can enter a website URL that points to a live demo of a project &#8211; add the following code to your functions.php file:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
	add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;admin_init&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;add_portfolio&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'save_post'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'update_website_url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">function</span> add_portfolio<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		add_meta_box<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;portfolio_details&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Portfolio Options&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;portfolio_options&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;portfolio&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;normal&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;low&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #000000; font-weight: bold;">function</span> portfolio_options<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$custom</span> <span style="color: #339933;">=</span> get_post_custom<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$website_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$custom</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;website_url&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;div id=&quot;portfolio-options&quot;&gt;
		&lt;label&gt;Website URL:&lt;/label&gt;&lt;input name=&quot;website_url&quot; value=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$website_url</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; /&gt;		
	&lt;/div&gt;&lt;!--end portfolio-options--&gt;   
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #000000; font-weight: bold;">function</span> update_website_url<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$post</span><span style="color: #339933;">;</span>
		update_post_meta<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;website_url&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;website_url&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>The first line of code here simply states that when the WordPress admin panel is initializing, call the &#8220;add_portfolio&#8221; function. This is defined on line 3 and basically adds a new section to the custom post called &#8220;Portfolio Options&#8221; and tells WordPress to use the &#8220;portfolio_options&#8221; function (line6) to display the appropriate elements in the new section.</p>
<p>The second line of code above is for recording user input whenever a custom post is updated &#8211; this is implemented by calling the &#8220;update_website_url&#8221; function which then ensures that any input is stored. </p>
<p>Your portfolio page should look something like the following (you can access this page by selecting the new &#8220;Portfolio&#8221; link in your WP Admin):</p>
<p><img src="http://www.vooshthemes.com/wp-content/uploads/2010/06/new-input-field.jpg" style="border:1px #ddd solid"; /></p>
<p>We now need to add some more appropriate columns to the the &#8220;Portfolio Overview&#8221; page &#8211; add the following code to the functions.php file:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> 
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;manage_edit-portfolio_columns&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;portfolio_edit_columns&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
add_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;manage_posts_custom_column&quot;</span><span style="color: #339933;">,</span>  <span style="color: #0000ff;">&quot;portfolio_columns_display&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> portfolio_edit_columns<span style="color: #009900;">&#40;</span><span style="color: #000088;">$portfolio_columns</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$portfolio_columns</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
		<span style="color: #0000ff;">&quot;cb&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;&lt;input type=<span style="color: #000099; font-weight: bold;">\&quot;</span>checkbox<span style="color: #000099; font-weight: bold;">\&quot;</span> /&gt;&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #0000ff;">&quot;title&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;Project Title&quot;</span><span style="color: #339933;">,</span>
		<span style="color: #0000ff;">&quot;description&quot;</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">&quot;Description&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #000088;">$portfolio_columns</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> portfolio_columns_display<span style="color: #009900;">&#40;</span><span style="color: #000088;">$portfolio_columns</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">switch</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$portfolio_columns</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">case</span> <span style="color: #0000ff;">&quot;description&quot;</span><span style="color: #339933;">:</span>
			the_excerpt<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #b1b100;">break</span><span style="color: #339933;">;</span>				
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>This will enable users to easily see details of the projects that they have added to their portfolio:</p>
<p><img src="http://www.vooshthemes.com/wp-content/uploads/2010/06/portfolio-overview.jpg" style="border:1px #ddd solid"; /></p>
<h3>Displaying The Portfolio</h3>
<p>OK, so now that we have the backend sorted and the custom &#8220;portfolio&#8221; post type created, we want to display the portfolio items on the screen. Let&#8217;s create a new page template called &#8220;portfolio.php&#8221; &#8211; here&#8217;s the code for that file:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">/*
Template Name: Portfolio
*/</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> get_header<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;div id=&quot;content&quot;&gt;
	<span style="color: #000000; font-weight: bold;">&lt;?php</span> 
		<span style="color: #000088;">$loop</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> WP_Query<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'post_type'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'portfolio'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'posts_per_page'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">10</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
	<span style="color: #000000; font-weight: bold;">?&gt;</span>
	<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span> <span style="color: #000088;">$loop</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">have_posts</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$loop</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">the_post</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	<span style="color: #000000; font-weight: bold;">&lt;?php</span>	
		<span style="color: #000088;">$custom</span> <span style="color: #339933;">=</span> get_post_custom<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$screenshot_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$custom</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;screenshot_url&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$website_url</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$custom</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;website_url&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">?&gt;</span>
        &lt;div id=&quot;portfolio-item&quot;&gt;
		&lt;h1&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/h1&gt;
		&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?=</span><span style="color: #000088;">$website_url</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_post_thumbnail<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span> &lt;/a&gt;
		<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_content<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	&lt;/div&gt;
        <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>  
        &lt;/div&gt;&lt;!-- #content --&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> get_footer<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Let&#8217;s break that down a bit  &#8211; lines 1-3 tell WordPress that this is a page template called &#8220;Portfolio&#8221;:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">/*
Template Name: Portfolio
*/</span></pre></div></div>

<p>The important bit of code is the following:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$loop</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> WP_Query<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'post_type'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'portfolio'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'posts_per_page'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">10</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>This tells WordPress to loop through the portfolio post type and display the individual portfolio items. The rest of the code is essentially defining what should be displayed on the screen for each individual portfolio item. </p>
<p>Now create a new page in your WordPress admin panel and assign the &#8220;Portfolio&#8221; template that we just created to it. </p>
<p><img src="http://www.vooshthemes.com/wp-content/uploads/2010/06/portfolio-template.jpg" style="border:1px #ddd solid"; /></p>
<p>Now create some new portfolio items and add a thumbnail to each one:</p>
<p><img src="http://www.vooshthemes.com/wp-content/uploads/2010/06/single-project.jpg" style="border:1px #ddd solid"; /></p>
<p>If you now view your page in the browser, you should see the thumbnails being displayed for each individual project, along with the project title and description. However, it may look a little messy and require some styling &#8211; here&#8217;s the CSS code that I used for the Kanzoo theme &#8211; you many need to adapt this for your site to make the look and feel consistent:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">&lt;style<span style="color: #00AA00;">&gt;</span>
	<span style="color: #cc00cc;">#content</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1200px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">-60px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
	<span style="color: #cc00cc;">#portfolio-item</span> <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">60px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">280px</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
	<span style="color: #cc00cc;">#portfolio-item</span> h1 <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">16px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">20px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
	<span style="color: #cc00cc;">#portfolio-item</span> img <span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #cc00cc;">#ccc</span> <span style="color: #993333;">solid</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> <span style="color: #00AA00;">&#125;</span>
&lt;/style<span style="color: #00AA00;">&gt;</span></pre></div></div>

<p>This results in the Portfolio looking a little tidier:</p>
<p><img src="http://www.vooshthemes.com/wp-content/uploads/2010/06/final-portfolio.jpg" style="border:1px #ddd solid";  /></p>
<h3>All Done!</h3>
<p>So, that&#8217;s it &#8211; the example provided in this tutorial can be adapted for all sorts of custom posts (books, people, products, films, phones, cars, etc.), so have a play around and see how it easy it is to enhance your themes. </p>
<p>I hope you found the tutorial useful &#8211; leave comment below if you have any questions/feedback.</p>
<img src="http://feeds.feedburner.com/~r/VooshThemes/~4/MCMN9MTb0L4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.vooshthemes.com/blog/wordpress-tip/create-a-professional-portfolio-using-wordpress-3-0-custom-post-types/feed/</wfw:commentRss>
		<slash:comments>49</slash:comments>
		<feedburner:origLink>http://www.vooshthemes.com/blog/wordpress-tip/create-a-professional-portfolio-using-wordpress-3-0-custom-post-types/</feedburner:origLink></item>
		<item>
		<title>WordPress Quick Tip: Remove The Dashboard Update Message</title>
		<link>http://feedproxy.google.com/~r/VooshThemes/~3/Etvj9UQRpOU/</link>
		<comments>http://www.vooshthemes.com/blog/wordpress-tip/wordpress-quick-tip-remove-the-dashboard-update-message/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 15:01:45 +0000</pubDate>
		<dc:creator>Chris Creed</dc:creator>
				<category><![CDATA[WordPress Tip]]></category>

		<guid isPermaLink="false">http://www.vooshthemes.com/?p=2930</guid>
		<description><![CDATA[A particularly useful function of WordPress is that it informs you when a new update is available to download. This is displayed at the top of your WordPress admin panel and provides a link to the update page where you can automatically install the new available version. 
Updating your WordPress installation is important because the [...]]]></description>
			<content:encoded><![CDATA[<p>A particularly useful function of WordPress is that it informs you when a new update is available to download. This is displayed at the top of your WordPress admin panel and provides a link to the update page where you can automatically install the new available version. <span id="more-2930"></span></p>
<p>Updating your WordPress installation is important because the latest version will likely contain security updates and will give you access to any new functionality that has been developed. </p>
<p>However, there are occasions where you might not want this message to displayed &#8211; for example, if you&#8217;re building a WordPress site for a client, you might want to remove the message to stop them from updating the site themselves. </p>
<p><img src="http://www.vooshthemes.com/wp-content/uploads/2010/06/update.jpg" style="border: 1px #ccc solid" alt="WordPress update message in the dashboard" /></p>
<p>This is because sometimes it&#8217;s best to initially test the effects of a new WordPress update locally to ensure that it doesn&#8217;t cause the site any problems &#8211; it&#8217;s not unusual to have configuration issues with plugins that cause the website not to display or work properly. </p>
<p>Removing the update message is very straightforward to do &#8211; simply add the following lines of code to your functions.php file:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">remove_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_version_check'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wp_version_check'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
remove_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin_init'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'_maybe_update_core'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'pre_transient_update_core'</span><span style="color: #339933;">,</span> <span style="color: #990000;">create_function</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'$a'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;return null;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Then check your WordPress admin panel and you should see that the message has disappeared. </p>
<p>Whilst this removes the update message, please make sure that you still update to the latest version when it becomes available. Not doing so can leave you vulnerable to security risks, so make sure you&#8217;re aware of when new versions are released and ensure that you apply the update. </p>
<p>I hope you found this tip helpful &#8211; let me know if you have any questions or comments. </p>
<img src="http://feeds.feedburner.com/~r/VooshThemes/~4/Etvj9UQRpOU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.vooshthemes.com/blog/wordpress-tip/wordpress-quick-tip-remove-the-dashboard-update-message/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.vooshthemes.com/blog/wordpress-tip/wordpress-quick-tip-remove-the-dashboard-update-message/</feedburner:origLink></item>
	</channel>
</rss>
