<?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>Matt Danner &#124; Night Photography, WordPress, Community &#187; WordPress</title>
	<atom:link href="http://mattdanner.net/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattdanner.net</link>
	<description></description>
	<lastBuildDate>Tue, 17 Apr 2012 17:29:10 +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>Why You Need a WordPress Backup</title>
		<link>http://mattdanner.net/why-you-need-a-wordpress-backup/</link>
		<comments>http://mattdanner.net/why-you-need-a-wordpress-backup/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 16:04:03 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mattdanner.net/?p=1407</guid>
		<description><![CDATA[Some of you already know the story. Others may not. Here is the real story of how BackupBuddy came to be. Via WordCamp Seattle Lightning Talk. -matt]]></description>
			<content:encoded><![CDATA[<p>Some of you already know the story. Others may not. Here is the real story of how BackupBuddy came to be.</p>
<p><embed type="application/x-shockwave-flash" src="http://s0.videopress.com/player.swf?v=1.02" width="580" height="320" wmode="transparent" seamlesstabbing="true" allowfullscreen="true" allowscriptaccess="always" overstretch="true" flashvars="guid=IY66vGlw"></embed></p>
<p>Via WordCamp Seattle Lightning Talk.</p>
<p>-matt</p>
]]></content:encoded>
			<wfw:commentRss>http://mattdanner.net/why-you-need-a-wordpress-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Alternate Module Styles in iThemes Builder</title>
		<link>http://mattdanner.net/creating-alternate-module-styles-in-ithemes-builder/</link>
		<comments>http://mattdanner.net/creating-alternate-module-styles-in-ithemes-builder/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 03:45:11 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mattdanner.net/?p=1375</guid>
		<description><![CDATA[Recently, iThemes Builder received an update that included support for alternate module styles. Basically, this means that any of Builder&#8217;s modules can be styled multiple ways, and you can choose which style you want on a module-to-module basis. If you want to see this in action, check out our latest child theme, Americana. It features [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, iThemes Builder received an update that included support for alternate module styles. Basically, this means that any of Builder&#8217;s modules can be styled multiple ways, and you can choose which style you want on a module-to-module basis. If you want to see this in action, check out our latest child theme, <a href="http://ithemes.com/americana-new-builder-child-theme-released/">Americana</a>. It features four alternate module styles.</p>
<p>Here are the basics to adding alternate module styles to your own Builder child theme. The following code block would go in your child theme&#8217;s <code>functions.php</code> file.<br />
<span id="more-1375"></span></p>
<p><code><br />
if ( ! function_exists( 'it_builder_loaded' ) ) {<br />
&nbsp;&nbsp;function it_builder_loaded() {<br />
&nbsp;&nbsp;&nbsp;&nbsp;builder_register_module_style( $module, $alternate_name, $css_class );<br />
&nbsp;&nbsp;}<br />
}<br />
add_action( 'it_libraries_loaded', 'it_builder_loaded' );<br />
</code></p>
<p><code>$module</code> &#8211; This is the slug of the module you want to change. It is the default module name, all lowercase with spaces replaced by dashes. ex: A Widget Bar module would be represented as widget-bar. A Footer module would be represented as footer. Rinse and repeat.</p>
<p><code>$alternate_name</code> &#8211; Here, you set the name that you want for your alternate module style. This is what will appear in the dropdown when choosing an alternate module style.</p>
<p><code>$css_class</code> &#8211; Here you can assign a new CSS class to your alternate module style. Any style applied to this class in your stylesheet will be applied to the alternate module style.</p>
<p>It&#8217;s just that simple. Here is an example of a working alternate style:<br />
<code><br />
if ( ! function_exists( 'it_builder_loaded' ) ) {<br />
&nbsp;&nbsp;function it_builder_loaded() {<br />
&nbsp;&nbsp;&nbsp;&nbsp;builder_register_module_style( 'html', 'Green HTML', 'builder-green-html' );<br />
&nbsp;&nbsp;}<br />
}<br />
add_action( 'it_libraries_loaded', 'it_builder_loaded' );<br />
</code></p>
<p>-matt</p>
]]></content:encoded>
			<wfw:commentRss>http://mattdanner.net/creating-alternate-module-styles-in-ithemes-builder/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Free WordPress Theme Available &#8211; Quick-Vid</title>
		<link>http://mattdanner.net/free-wordpress-theme-available-quick-vid/</link>
		<comments>http://mattdanner.net/free-wordpress-theme-available-quick-vid/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 16:42:37 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mattdanner.net/?p=1364</guid>
		<description><![CDATA[I&#8217;ve been working with Brad to get a free WordPress theme our for a while. We thought this would be a good way for iThemes to give something back to the WordPress community (along with our free plugins, core contributions, and codex additions). I must say, the process of adding a theme to WordPress Extend [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working with <a href="http://adbrad.com" target="_blank">Brad</a> to get a free WordPress theme our for a while. We thought this would be a good way for iThemes to give something back to the WordPress community (along with our free plugins, core contributions, and codex additions). I must say, the process of adding a theme to <a href="http://wordpress.org/extend/themes/quick-vid" target="_blank">WordPress Extend</a> isn&#8217;t the most friendly one, but it is there none-the-less. The new theme is called Quick-Vid. It is a Tumblr inspired theme intended for quick blogging.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1365" title="Quick-Vid Theme Screenshot" src="http://mattdanner.net/wp-content/uploads/2010/09/Screen-shot-2010-09-02-at-8.55.48-AM.png" alt="" width="568" height="509" /></p>
<p style="text-align: center;"><a href="http://ithemes.com/quick-vid" target="_blank"><strong>Demo Site</strong></a> | <a href="http://wordpress.org/extend/themes/download/quick-vid.1.0.2.zip"><strong>Download</strong></a></p>
<p style="text-align: left;"><span id="more-1364"></span>To be honest, I built most of this theme in one night. Brad put together a set of color schemes in about an hour. So why did it take so long to get this released? The WordPress theme review process has undergone some changes recently that make it mighty difficult to get a theme on the repo. While I agree, quality control is important, I did find the process somewhat nit-picky.</p>
<p style="text-align: left;">One thing I will give the reviewers credit for is their helpfulness. They were more than willing to spend some time with me in the IRC chat room (#wp-themes) and get some of (what they saw as) the kinks out of the theme. Another thing that has improved dramatically since the start of the process is the time it takes to get a theme reviewed. The first and second submission of Quick-Vid sat untouched in the review process for a month EACH. Now, they have the process down to a few days at most.</p>
<p style="text-align: left;">As far as improvements to the process, the main one I would like to see would be SVN access for the theme author. I think this is especially critical after it has been approved. Theme authors need to be able to push an update with fixes to bugs quickly to their users. Having to re-upload the theme and start the process all over again for a bug fix is a bit ridiculous.</p>
<p style="text-align: left;">Anyway, hope you enjoy the theme.</p>
<p style="text-align: left;">-matt</p>
]]></content:encoded>
			<wfw:commentRss>http://mattdanner.net/free-wordpress-theme-available-quick-vid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Latest Tweet Plugin Now on WP Extend</title>
		<link>http://mattdanner.net/latest-tweet-plugin-now-on-wp-extend/</link>
		<comments>http://mattdanner.net/latest-tweet-plugin-now-on-wp-extend/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 19:54:12 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mattdanner.net/?p=1358</guid>
		<description><![CDATA[In an earlier post I showed how to get your latest tweet on your site without a plugin. It has been an extremely popular post, but for some folks. it was just over their head. I have had quite a few people email me asking to make a simple plugin to accomplish the same task, [...]]]></description>
			<content:encoded><![CDATA[<p>In an <a href="http://mattdanner.net/latest-tweet-without-a-plugin-using-php/">earlier post</a> I showed how to get your latest tweet on your site without a plugin. It has been an extremely popular post, but for some folks. it was just over their head. I have had quite a few people email me asking to make a simple plugin to accomplish the same task, so that is what I did. I pretty much had all the code already, I just needed to wrap it nicely in to a plugin.<span id="more-1358"></span></p>
<p>It is called <a href="http://wordpress.org/extend/plugins/pb-tweet/" target="_blank">PB-Tweet</a>, and you can download it now on <a href="http://wordpress.org/extend" target="_blank">Extend</a>. PB is for <a title="Premium WordPress Plugins" href="http://pluginbuddy.com" target="_blank">PluginBuddy</a> in case you live under a rock.</p>
<p>So <a href="http://wordpress.org/extend/plugins/pb-tweet/" target="_blank">download it</a>, test it out, and please let me know what you think. If you like it, please post a link to your site that is using it in the comments of this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://mattdanner.net/latest-tweet-plugin-now-on-wp-extend/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Upgrading to WordPress 3.0</title>
		<link>http://mattdanner.net/upgrading-to-wordpress-3-0/</link>
		<comments>http://mattdanner.net/upgrading-to-wordpress-3-0/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 15:07:11 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mattdanner.net/?p=1344</guid>
		<description><![CDATA[Yesterday&#8217;s release of WordPress version 3.0 came with a ton of great new features. As a developer, I am really excited about some of the new capabilities. There is no doubt that a lot is changing. In fact, one of the first things you will notice after you update is that even the dashboard is [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday&#8217;s release of <a href="http://wordpress.org/download/">WordPress version 3.0</a> came with a ton of great new features. As a developer, I am really excited about some of the new capabilities.</p>
<p>There is no doubt that a lot is changing. In fact, one of the first things you will notice after you update is that even the dashboard is a different color. With all of these changes, I just wanted to mention a few things you should consider before you update your site to the latest version.<span id="more-1344"></span></p>
<p><img class="size-full wp-image-1345  alignleft" title="HD-thumb1" src="http://mattdanner.net/wp-content/uploads/2010/06/HD-thumb1.png" alt="BackupBuddy Logo" width="111" height="120" />First and foremost, MAKE A BACKUP. Hopefully you make regular backups of your site already. But if you don&#8217;t, now is definitely the time to start. If you don&#8217;t have a backup of your entire site (database and all), you risk losing everything if there is an incompatibility somewhere during the update. There are several backup solutions available. Some are free, some are paid. As with most things, I believe you get what you pay for. Since your website and content are extremely vital, shoot for the stars and get a good backup solution. Personally, I use <a title="BackupBuddy WordPress Backup" href="http://pluginbuddy.com/purchase/backupbuddy/" target="_blank">BackupBuddy</a>. I highly recommend you skip McDonalds for a few days and pony up the measly $45 to ensure you have a great backup.</p>
<p>Ok, you have a backup. That is crucial. The next thing I would look at is plugin compatibility. In 3.0, there was a major change in the way plugins use the automatic update system in WordPress. Because of this, you will want to make sure that all of your plugin authors went in and updated their code to work in the new system. First, check to make sure you are at the latest version of the plugin. Next, find the changelog or history file that tells you what that latest update did. If you plugin author is smart, he informed you there that his code now works with the new updater.</p>
<p>The last thing I recommend you double-check is theme compatibility. I put this after plugins because a lot more changed for plugin authors than for theme authors. Although tons of new features were added that themes could take advantage of, almost all of them are &#8216;opt-in&#8217; features. For example, the new 3.0 menu system does not appear in your theme automatically. Your theme author would have to write in the code to make the 3.0 menus work. This is a good thing. That means that if your theme author didn&#8217;t update for the new menu code, you old menu will still work just fine. The same applies to custom-post-types and the MU merge.</p>
<p>Hopefully, you won&#8217;t have any trouble updating your WordPress install to the latest and greatest. I have been using WordPress since version 2.7, and I have to say that 3.0 is by far the greatest version yet. Enjoy.</p>
<p>-matt</p>
]]></content:encoded>
			<wfw:commentRss>http://mattdanner.net/upgrading-to-wordpress-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Latest Tweet without a Plugin</title>
		<link>http://mattdanner.net/latest-tweet-without-a-plugin-using-php/</link>
		<comments>http://mattdanner.net/latest-tweet-without-a-plugin-using-php/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 15:45:21 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[matt danner]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wordpress development]]></category>

		<guid isPermaLink="false">http://mattdanner.net/?p=1218</guid>
		<description><![CDATA[I earlier this week, one of our clients wanted a better solution to getting his latest tweet from Twitter than simply using an RSS widget it WordPress to grab the feed. We could have simply used a plugin, but this site is HUGE, and we didn&#8217;t want to depend on Joe Pluginmaker to keep his [...]]]></description>
			<content:encoded><![CDATA[<p>I earlier this week, one of our clients wanted a better solution to getting his latest tweet from <a href="http://twitter.com">Twitter</a> than simply using an RSS widget it WordPress to grab the feed.  We could have simply used a plugin, but this site is HUGE, and we didn&#8217;t want to depend on Joe Pluginmaker to keep his code clean and up to date, so we went about doing it the old fashioned way: PHP.  <span id="more-1218"></span>After doing a bit of research, we found <a href="http://www.smashingmagazine.com/2009/03/04/15-useful-twitter-plugins-and-hacks-for-wordpress/">THIS</a> article from <a href="http://www.smashingmagazine.com/">Smashing Mag</a>, and I found some code in there that was lean and clean, so I decided to use it.  Below is basically what the code looks like out of the box:</p>
<blockquote><p><code>&lt;?php<br />
// Your twitter username.<br />
$username = "TwitterUsername";<br />
// Prefix - some text you want displayed before your latest tweet.<br />
// (HTML is OK, but be sure to escape quotes with backslashes: for example href=\"link.html\")<br />
$prefix = "&lt;h2&gt;My last Tweet&lt;/h2&gt;";<br />
// Suffix - some text you want display after your latest tweet. (Same rules as the prefix.)<br />
$suffix = "";<br />
$feed = "http://search.twitter.com/search.atom?q=from:" . $username . "&amp;rpp=1";<br />
function parse_feed($feed) {<br />
$stepOne = explode("&lt;content type=\"html\"&gt;", $feed);<br />
$stepTwo = explode("&lt;/content&gt;", $stepOne[1]);<br />
$tweet = $stepTwo[0];<br />
$tweet = str_replace("&amp;lt;", "&lt;", $tweet);<br />
$tweet = str_replace("&amp;gt;", "&gt;", $tweet);<br />
return $tweet;<br />
}<br />
$twitterFeed = file_get_contents($feed);<br />
echo stripslashes($prefix) . parse_feed($twitterFeed) . stripslashes($suffix);<br />
?&gt;</code></p></blockquote>
<p>Basically all you have to do is put your twitter id in the top part, and you are pretty well set to go.  The only problem we ran into with this code injected into a sidebar is that the links in a tweet were html coded.  To decode it, we simple added the following line of code:</p>
<p><code>$tweet = html_entity_decode($tweet);</code></p>
<p>Add this line in right before the <code>return $tweet</code> and it will filter out the unwanted code.  The end product should look like this:</p>
<blockquote><p><code>&lt;?php<br />
// Your twitter username.<br />
$username = "TwitterUsername";<br />
// Prefix - some text you want displayed before your latest tweet.<br />
// (HTML is OK, but be sure to escape quotes with backslashes: for example href=\"link.html\")<br />
$prefix = "&lt;h2&gt;My last Tweet&lt;/h2&gt;";<br />
// Suffix - some text you want display after your latest tweet. (Same rules as the prefix.)<br />
$suffix = "";<br />
$feed = "http://search.twitter.com/search.atom?q=from:" . $username . "&amp;rpp=1";<br />
function parse_feed($feed) {<br />
$stepOne = explode("&lt;content type=\"html\"&gt;", $feed);<br />
$stepTwo = explode("&lt;/content&gt;", $stepOne[1]);<br />
$tweet = $stepTwo[0];<br />
$tweet = str_replace("&amp;lt;", "&lt;", $tweet);<br />
$tweet = str_replace("&amp;gt;", "&gt;", $tweet);<br />
$tweet = html_entity_decode($tweet);<br />
return $tweet;<br />
}<br />
$twitterFeed = file_get_contents($feed);<br />
echo stripslashes($prefix) . parse_feed($twitterFeed) . stripslashes($suffix);<br />
?&gt;</code></p></blockquote>
<p>-matt</p>
<p>***** UPDATE: This code has been updated a few times since this post. I know it kind of goes against the title of the post, but if you would like to use this exact code in a plugin that already has style and everything applied, <a href="http://mattdanner.net/latest-tweet-plugin-now-on-wp-extend/">see this post</a>.*****</p>
]]></content:encoded>
			<wfw:commentRss>http://mattdanner.net/latest-tweet-without-a-plugin-using-php/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: mattdanner.net @ 2012-05-18 09:34:21 -->
