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

<channel>
	<title>Mike Van WinkleWordPress Caching: Clear An Individual WordPress Post Cache | Mike Van Winkle</title>
	<atom:link href="http://www.mikevanwinkle.com/category/design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikevanwinkle.com</link>
	<description>Wordpress/PHP Developer</description>
	<lastBuildDate>Tue, 31 Jan 2012 00:02:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress Caching: Clear An Individual WordPress Post Cache</title>
		<link>http://www.mikevanwinkle.com/wordpress/wordpress-caching-clear-an-individual-wordpress-post-cache/</link>
		<comments>http://www.mikevanwinkle.com/wordpress/wordpress-caching-clear-an-individual-wordpress-post-cache/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 23:08:50 +0000</pubDate>
		<dc:creator>Mike Van Winkle</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Caching]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.mikevanwinkle.com/?p=1202</guid>
		<description><![CDATA[I&#8217;ve become a bit obsessed with caching lately. Speed is an addiction I suppose. So I found another new trick today. If your writing a plugin or theme and have some front in functionality adding and updating posts, sometimes you want to make sure a cached object is cleared before the page is refreshed. But [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve become a bit obsessed with caching lately. Speed is an addiction I suppose. So I found another new trick today. If your writing a plugin or theme and have some front in functionality adding and updating posts, sometimes you want to make sure a cached object is cleared before the page is refreshed. But you don&#8217;t want to dump the whole object cache, especially if there are thousands of posts. So to just dump one post you can simply do this:</p>
<pre class="brush:php">
wp_cache_delete($post_id,'posts');
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.mikevanwinkle.com/wordpress/wordpress-caching-clear-an-individual-wordpress-post-cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 rocks, now I just have to start using it</title>
		<link>http://www.mikevanwinkle.com/design/html5-rocks-now-i-just-have-to-start-using-it/</link>
		<comments>http://www.mikevanwinkle.com/design/html5-rocks-now-i-just-have-to-start-using-it/#comments</comments>
		<pubDate>Sat, 07 May 2011 14:17:06 +0000</pubDate>
		<dc:creator>Mike Van Winkle</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.mikevanwinkle.com/?p=1024</guid>
		<description><![CDATA[I had no idea HTML5 could do stuff like this. I guess I need to get on the ball man. &#160;]]></description>
			<content:encoded><![CDATA[<p>I had no idea<a title="Gotta Love HTML5" href="http://dl.dropbox.com/u/3182943/Gotta%27%20love%20HTML5_CSS3/index.html#gal1"> HTML5 could do stuff like this</a>. I guess I need to get on the ball man.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikevanwinkle.com/design/html5-rocks-now-i-just-have-to-start-using-it/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Flash Fail</title>
		<link>http://www.mikevanwinkle.com/design/flash-fail/</link>
		<comments>http://www.mikevanwinkle.com/design/flash-fail/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 14:59:49 +0000</pubDate>
		<dc:creator>Mike Van Winkle</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.mikevanwinkle.com/?p=671</guid>
		<description><![CDATA[Google just add one more reason for most web developers to avoid using Flash. Instant preview.]]></description>
			<content:encoded><![CDATA[<p>Google just add one more reason for most web developers to avoid using Flash. Instant preview.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikevanwinkle.com/design/flash-fail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vector Graphics for Free!</title>
		<link>http://www.mikevanwinkle.com/design/vector-graphics-for-free/</link>
		<comments>http://www.mikevanwinkle.com/design/vector-graphics-for-free/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 13:10:07 +0000</pubDate>
		<dc:creator>Mike Van Winkle</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Graphics]]></category>

		<guid isPermaLink="false">http://www.mikevanwinkle.com/?p=587</guid>
		<description><![CDATA[Seriously, this maybe my new favorite website &#8230; at least until they stop giving away free vector graphics.]]></description>
			<content:encoded><![CDATA[<p>Seriously, this maybe my new favorite website &#8230; at least until they stop giving away <a title="Vecteezy" href="http://www.vecteezy.com/">free vector graphics</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikevanwinkle.com/design/vector-graphics-for-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Theme Frameworks: Who needs &#8216;em!</title>
		<link>http://www.mikevanwinkle.com/geek-think/wordpress-theme-frameworks-who-need-em/</link>
		<comments>http://www.mikevanwinkle.com/geek-think/wordpress-theme-frameworks-who-need-em/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 20:04:43 +0000</pubDate>
		<dc:creator>Mike Van Winkle</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Geek Think]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.mikevanwinkle.com/?p=431</guid>
		<description><![CDATA[The buzz word in WordPress circles these days is &#8220;framework&#8221;. What the hell does that mean? Isn&#8217;t WordPress a framework? The official definition offered in the WordPress Codex is &#8220;a theme that is designed to be a flexible foundation that can serve as a parent theme for building child themes.&#8221; But this doesn&#8217;t quite give [...]]]></description>
			<content:encoded><![CDATA[<p>The buzz word in WordPress circles these days is &#8220;framework&#8221;. What the hell does that mean? Isn&#8217;t WordPress a framework? The official definition offered in the <a title="Wordpress Theme Frameworks" href="http://codex.wordpress.org/Theme_Frameworks">WordPress Codex</a> is &#8220;a theme that is designed to be a flexible foundation that can serve as a parent theme for building child themes.&#8221; But this doesn&#8217;t quite give us enough information.</p>
<p>Taking only the simple definition under consideration, WordPress users are likely to get the impression that, all things being equal, you should use a framework. After all, who wouldn&#8217;t want the added benefit and &#8220;flexibility&#8221; of being able to have &#8220;child&#8221; themes. Sounds cool.</p>
<p>But once you unpack a framework theme and start futzing with it, you quickly realize all is not perfect in the land of &#8220;frameworks&#8221;. So here&#8217;s my stab at a more useful definition. A <a title="Wordpress Theme Frameworks" href="http://codex.wordpress.org/Theme_Frameworks">WordPress Theme Framework</a> is a theme that has additional code built into it making selected tasks easier for theme <em>developers</em> to manage. The emphasis on developers is mine and is very important.</p>
<p>Over the last several months I&#8217;ve built sites using several different frameworks and found that there is little advantage consistent across all frameworks, though each framework has specific advantages. The only consistency is that to really benefit from frameworks you need to have a deeper understanding of WordPress, its syntax, functions, plugins, etc.</p>
<p>If all you want to do is customize a theme, frameworks are likely to drive you crazy.</p>
<h2>In Theory</h2>
<p>In theory, frameworks are a very powerful thing. The idea is that you can take certain standard needs of theme developers and abstract them into new functions that allow the theme developer to execute customizations without messing with the theme core. With many theme frameworks, if you know what you&#8217;re doing, you can perform most theme modifications by editing only the style.css and the function.php files.</p>
<p>By way of an example, the <a title="Thematic Theme Framework" href="http://wordpress.org/extend/themes/thematic">Thematic Theme Framework</a> has a hook called <em>thematic_above_indexloop();. </em>If I wanted to add a feature ad banner above the index loop of a regular theme, I would have to go into the the <em>index.php, </em>find the loop, and ad the code<em>. </em>But in the framework I simply have to go to the function.php file and add the following:</p>
<pre>function feature_ad_banner() {
echo 'my feature ad banner';
}
add_action('thematic_above_indexloop','feature_ad_banner');</pre>
<p>This code just tells the theme to pull in my custom function when it triggers this action. This gives me a ton of power as a developer because I can easily build an awesome site without worrying about building the &#8220;guts&#8221; of the theme. Or, to put it simply, I can focus on the cool stuff while ignoring the mundane details.</p>
<h2>It&#8217;s all about the HOOKS</h2>
<p>The drawback is that each theme framework has its own peculiarities and learning the appropriate hooks and filters can take time. If you&#8217;re a developer, this time is justified because it saves time on future projects. But if you just understand the basics of  WordPress themes and are simply trying to customize one for your own use &#8230;especially if you aren&#8217;t all that comfortable with PHP &#8230; this extra level of abstraction can be a royal pain in your ass. If you&#8217;ve modified a loop before, you&#8217;ll find modifying a loop in a framework isn&#8217;t nearly as simple as you remembered. You have to create your own function and then track down the right hook to apply it to. A mod that used to take you 15 minutes, now takes you an hour.</p>
<p>Again, there are rewards to learning a framework, but make sure you understand the time investment required and how that squares with the benefits you expect to receive in return.</p>
<p>In short, WordPress Theme Frameworks are great for those serious about development. But hobbyist might want stick with an old fashioned WordPress Themes. In future articles I will look a few different frameworks and when you mind be inclined to use them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikevanwinkle.com/geek-think/wordpress-theme-frameworks-who-need-em/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Site Plug: ReadyMadeWeb.com</title>
		<link>http://www.mikevanwinkle.com/geek-think/site-plug-readymadeweb-com/</link>
		<comments>http://www.mikevanwinkle.com/geek-think/site-plug-readymadeweb-com/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 14:53:28 +0000</pubDate>
		<dc:creator>Mike Van Winkle</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Geek Think]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[recommendations]]></category>
		<category><![CDATA[reviews]]></category>
		<category><![CDATA[websites]]></category>

		<guid isPermaLink="false">http://www.mikevanwinkle.com/?p=379</guid>
		<description><![CDATA[For those of you on a budget (me me me me), www.readymadeweb.com is a great resource for web tips about easy-to-use, out-of-the-box, ready-made web-ware. Is there a record for the number of hyphens used in a single clause? For instance, here&#8217;s a great post explaining why you might want to use a mass follow program [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you on a budget (me me me me), <a title="ReadyMadeWeb.com" href="http://readymadeweb.com/">www.readymadeweb.com</a> is a <a title="Great Resource for Web Tips" href="http://readymadeweb.com/">great resource for web tips</a> about easy-to-use, out-of-the-box, ready-made web-ware. Is there a record for the number of hyphens used in a single clause? For instance, here&#8217;s a great post explaining why you might want to use a <a title="Mass Follow Progams" href="http://readymadeweb.com/2010/02/04/using-mass-follow-tools-to-increase-your-twitter-followers/">mass follow program</a> to grow your twitter audience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikevanwinkle.com/geek-think/site-plug-readymadeweb-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Usability Tips</title>
		<link>http://www.mikevanwinkle.com/design/best-practices/usability-tips/</link>
		<comments>http://www.mikevanwinkle.com/design/best-practices/usability-tips/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 16:00:41 +0000</pubDate>
		<dc:creator>Mike Van Winkle</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[Usability]]></category>
		<category><![CDATA[Users]]></category>

		<guid isPermaLink="false">http://www.mikevanwinkle.com/?p=357</guid>
		<description><![CDATA[Smashing Magazine has a great list of usability tips for web designers. Usability is one of those things that is often overlooked by small business and non-profits because they don&#8217;t have the resources they perceive necessary to engage in usability testing. But really, there is loads of information out there about usability that small organizations [...]]]></description>
			<content:encoded><![CDATA[<p>Smashing Magazine has a great list of <a title="Usability Tips" href="http://www.smashingmagazine.com/2009/09/24/10-useful-usability-findings-and-guidelines/">usability tips</a> for web designers. Usability is one of those things that is often overlooked by small business and non-profits because they don&#8217;t have the resources they perceive necessary to engage in usability testing. But really, there is loads of information out there about usability that small organizations can use to make their sites as competitive as possible.</p>
<h2>The highlights:</h2>
<p><strong>Tip #2: Users focus on faces</strong></p>
<p>This doesn&#8217;t mean you should redesign your website into a big face, but when you are using pictures that include faces think about things like where their eyes are focused.</p>
<p><strong>Tip #4: Most users don&#8217;t scroll</strong></p>
<p>Which begs the question, is it better to more pages that are shorter and require less scrolling? Probably.</p>
<p><strong>Tip #5: Blue is still the bet color for links.</strong></p>
<p>I&#8217;m a habitual transgressor of this rule.</p>
<p><strong>Tip #7: White space improves comprehension</strong></p>
<p>If you were tempted after reading tip #4 to cram everything in your site into the top third of the page, well think again. Crowding a page can crowd out the user.</p>
<p><a title="Usability Tips" href="http://www.smashingmagazine.com/2009/09/24/10-useful-usability-findings-and-guidelines/">Read the full article.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikevanwinkle.com/design/best-practices/usability-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safari 4. Me likey</title>
		<link>http://www.mikevanwinkle.com/geek-think/safari-4-me-likey/</link>
		<comments>http://www.mikevanwinkle.com/geek-think/safari-4-me-likey/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 15:27:32 +0000</pubDate>
		<dc:creator>Mike Van Winkle</dc:creator>
				<category><![CDATA[Geek Think]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.mikevanwinkle.com/?p=269</guid>
		<description><![CDATA[I&#8217;m using Safari 4 for the first time today &#8230; and I love it. I had grown tired of firefox, but still relied heavily on their FireBug web developer tool. Safari now has a similar tool built into the browser. Sweet. They have also taken the quick start page from Opera and added some style [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using <a title="Safari 4" href="http://www.apple.com/safari/download/">Safari </a>4 for the first time today &#8230; and I love it. I had grown tired of firefox, but still relied heavily on their <a title="FireBug" href="http://getfirebug.com/">FireBug</a> web developer tool. Safari now has a similar tool built into the browser. Sweet. They have also taken the quick start page from Opera and added some style to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikevanwinkle.com/geek-think/safari-4-me-likey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPod Touch Blogging</title>
		<link>http://www.mikevanwinkle.com/wordpress/ipod-touch-blogging/</link>
		<comments>http://www.mikevanwinkle.com/wordpress/ipod-touch-blogging/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 02:21:50 +0000</pubDate>
		<dc:creator>Mike Van Winkle</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.mikevanwinkle.com/wordpress/ipod-touch-blogging/</guid>
		<description><![CDATA[This is my fort post from my ipod touch! It&#8217;s not a hard as I thought it would be &#8230; except that I have big thumbs.]]></description>
			<content:encoded><![CDATA[<p>This is my fort post from my ipod touch!  It&#8217;s not a hard as I thought it would be &#8230; except that I have big thumbs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikevanwinkle.com/wordpress/ipod-touch-blogging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New sites going live</title>
		<link>http://www.mikevanwinkle.com/news/new-sites-going-live/</link>
		<comments>http://www.mikevanwinkle.com/news/new-sites-going-live/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 23:10:49 +0000</pubDate>
		<dc:creator>Mike Van Winkle</dc:creator>
				<category><![CDATA[Featured Client]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Justin Tadlock]]></category>
		<category><![CDATA[Porfolio]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.mikevanwinkle.com/?p=234</guid>
		<description><![CDATA[I&#8217;m very happy to report two new projects going online. One is www.eightin08.com, another adaptation of Justin Tadlock&#8217;s Options theme. The other is www.friendsoffairness.com, which is, come to think of it, another adaptation of Justin Tadlock&#8217;s theme. Jeez, I wonder if there&#8217;s a message here!]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m very happy to report two new projects going online. One is <a href="http://www.eightin08.com" target="_blank">www.eightin08.com</a>, another adaptation of<a href="http://justintadlock.com/"> Justin Tadlock&#8217;s Options</a> theme. The other is <a href="http://www.friendsoffairness.com">www.friendsoffairness.com</a>, which is, come to think of it, another adaptation of Justin Tadlock&#8217;s theme. Jeez, I wonder if there&#8217;s a message here!</p>
<p><a class="thickbox" href="http://www.eightin08.com"><img class="ngg-singlepic ngg-none" style="margin: 5px;" src="http://www.mikevanwinkle.com/wp-content/gallery/portfolio/picture-13.png" alt="picture-13.png" width="252" height="137" /></a><a class="thickbox" href="http://www.friendsoffairness.com"><img class="ngg-singlepic ngg-none" style="margin: 5px;" title="Friends of Fairness" src="http://www.mikevanwinkle.com/wp-content/gallery/portfolio/picture-15.png" alt="picture-15.png" width="267" height="138" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikevanwinkle.com/news/new-sites-going-live/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Object Caching 682/733 objects using apc

Served from: www.mikevanwinkle.com @ 2012-02-04 19:50:33 -->
