<?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>Petersen Media Group</title>
	<atom:link href="http://www.petersenmediagroup.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.petersenmediagroup.com</link>
	<description>WordPress and Business Services - for the things premium support doesn&#039;t cover</description>
	<lastBuildDate>Tue, 01 May 2012 21:34:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Loading Social Share Buttons After Pageload in Thesis Theme</title>
		<link>http://www.petersenmediagroup.com/loading-social-share-buttons-after-pageload-in-thesis-theme/</link>
		<comments>http://www.petersenmediagroup.com/loading-social-share-buttons-after-pageload-in-thesis-theme/#comments</comments>
		<pubDate>Thu, 14 Jul 2011 13:52:38 +0000</pubDate>
		<dc:creator>Jesse Petersen</dc:creator>
				<category><![CDATA[WordPress Tutorial]]></category>
		<category><![CDATA[social buttons]]></category>
		<category><![CDATA[Thesis theme]]></category>

		<guid isPermaLink="false">http://www.petersenmediagroup.com/?p=340</guid>
		<description><![CDATA[It happens all of the time: the client wants the social networking share buttons not only on the individual posts but the sidebar and/or the blog index page, also. When that happens, the loop forces the social icons to load individually for each post, all the way down the page and the sidebar and anything [...]]]></description>
			<content:encoded><![CDATA[<p>It happens all of the time: the client wants the social networking share buttons not only on the individual posts but the sidebar and/or the blog index page, also. When that happens, the loop forces the social icons to load individually for each post, all the way down the page and the sidebar and anything after the content is forced to wait.</p>
<p>The site I was working on today had just such a case. Facebook and Twitter sharing buttons were causing the home page to take approximately 28 seconds to load until the sidebar could appear. It was agonizing!</p>
<p>With a little brainstorming, I came up with a solution by investigating the code for each button. In most cases the code was a pairing of visual text/CSS elements followed by a script. Here is an example using the &#8220;official&#8221; Twitter button:</p>
<pre class="brush:php">&lt;a href="http://twitter.com/jpetersen" data-button="blue" data-text-color="#222" data-link-color="#D27A26"&gt;Follow @jpetersen&lt;/a&gt;
&lt;script src="http://platform.twitter.com/widgets.js" type="text/javascript"&gt;&lt;/script&gt;</pre>
<p>The page doesn&#8217;t require that the script be buddies with the other part in order to render, so I posited that I could put the script at the end, just before the closing tag, which is &#8216;thesis_hook_after_html&#8217; for those not familiar with Thesis&#8217; hooks. I separated the scripts from the other code next, and discovered that, by doing so, I eliminated several requests to that script on the individual posts that requested the same scripts at the top and the bottom of the post as a nice side benefit.</p>
<pre class="brush:php">add_action('thesis_hook_after_html' , 'add_scripts');

function add_scripts() {
	global $post; ?&gt;
&lt;script type="text/javascript" src="http://platform.twitter.com/widgets.js"&gt;&lt;/script&gt;
&lt;script src="http://connect.facebook.net/en_US/all.js#appId=131237106886864&amp;xfbml=1"&gt;&lt;/script&gt;
&lt;?php }</pre>
<p>This made the content in the post more efficient, especially on the sites where the client wants to list all of their Twitter IDs in the sidebar: you need only paste the display portions in the sidebar and call out the scripts once at the end of the pageload. Here is what the code that gets paired with both the Twitter and Facebook display codes:</p>
<pre class="brush:php">function add_tweet_top() {
	global $post; ?&gt;
&lt;div id="social-top"&gt;&lt;div id="twitter-top"&gt;&lt;a href="http://twitter.com/share" class="twitter-share-button" data-url="&lt;?php the_permalink() ?&gt;"data-count="horizontal" data-via="jpetersen"&gt;Tweet&lt;/a&gt;&lt;/div&gt;&lt;div id="facebook-top"&gt;&lt;div id="fb-root"&gt;&lt;/div&gt;&lt;fb:like href="&lt;?php the_permalink() ?&gt;" send="false" layout="button_count" width="100" show_faces="false" font=""&gt;&lt;/fb:like&gt;&lt;/div&gt;&lt;/div&gt;
&lt;?php }</pre>
<p>Note that I wrap my buttons in DIVs and the entire area in a div so I can move it around any way I want. This technique also works with the Twitter follow button because it uses the same .js file from Twitter. I was disappointed that this doesn&#8217;t work with StumbleUpon because that entire display is created with the script, however, that script loads so fast I don&#8217;t care. It&#8217;s instantaneously there while the Twitter and Facebook buttons take an order of magnitude or more longer to display.</p>
<p>I&#8217;m sure this isn&#8217;t the only way and I&#8217;ve got a feeling that it may not be the best way to speed up the display of these social share buttons, but it&#8217;s what I&#8217;ve come up with and it&#8217;s getting the job done very nicely. I hope you enjoy the process of implementing it into your next (or old) Thesis install.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petersenmediagroup.com/loading-social-share-buttons-after-pageload-in-thesis-theme/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Five Must-Have Plugins</title>
		<link>http://www.petersenmediagroup.com/five-must-have-plugins/</link>
		<comments>http://www.petersenmediagroup.com/five-must-have-plugins/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 12:06:30 +0000</pubDate>
		<dc:creator>Jesse Petersen</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.petersenmediagroup.com/?p=327</guid>
		<description><![CDATA[Plugins are to WordPress as spices are to Italian food. They&#8217;re not necessary to get the whole thing working, but they sure do make the final product a whole lot better. The WordPress community has a problem, though: too many plugins and certainly too many that are now out-dated or poorly written in the first [...]]]></description>
			<content:encoded><![CDATA[<p>Plugins are to WordPress as spices are to Italian food. They&#8217;re not necessary to get the whole thing working, but they sure do make the final product a whole lot better. The WordPress community has a problem, though: too many plugins and certainly too many that are now out-dated or poorly written in the first place. What&#8217;s a user to do other than try them all? I&#8217;d suggest leaning on the experience of those who&#8217;ve tried hundreds of them and know what makes for a good plugin. Here is my recommended Top 5 list:</p>
<ol>
<li><strong>Google Sitemap Generator</strong> &#8211; <a title="Google Sitemap Generator" href="http://wordpress.org/extend/plugins/google-sitemap-generator/" target="_blank">plugin link</a> &#8211; Cost: FREE! &#8211; You want to be found, right? This plugin creates a list of all of your pages, posts, tags, and categories (based on your theme and the plugin&#8217;s settings) and notifies Google of your content and places that list on your site for the search engine bots to discover.</li>
<li><strong>DB-Manager</strong> &#8211; <a title="DB-Manager" href="http://wordpress.org/extend/plugins/wp-dbmanager/" target="_blank">plugin link</a> &#8211; Cost: FREE! &#8211; WordPress content is stored in a database &#8211; the posts, pages, comments, and all of the settings in place to make it work with your plugins. If something happens to the database, you have nothing! It&#8217;s better to lose your files than your database, hands down. This plugin can automatically backup (and optimize) the database and both (or either) store it on the host or e-mail it to an address. This plugin is so vital, I think it should be a built-in feature. <strong>Note:</strong> this one can be hard to find when searching within the dashboard&#8217;s plugin search, so be sure to pick the one by GamerZ.</li>
<li><strong>WordPress Backup</strong> &#8211; <a title="WordPress Backup" href="http://wordpress.org/extend/plugins/wordpress-backup/" target="_blank">plugin link</a> &#8211; Cost: FREE! &#8211; Why lose your files when you can prevent that, too? This baby backs up the three folders vital to the preservation of the look, the <em>visual</em> content, of your site. That includes your themes folder (or just the active one if you prefer), the uploads folder for images and music, and the plugins folder. Like DB-Manager, these can be stored on the host or e-mailed so long as the zipped files are smaller than your single message limit for e-mail. For Gmail, it&#8217;s 20MB per message with 7GB of storage&#8230; that&#8217;s a LOT of backups if you want to create a Gmail account just for backups.</li>
<li><strong>Scribe SEO</strong> &#8211; <a title="Scribe SEO" href="http://bit.ly/giKeKI" target="_blank">plugin link</a> &#8211; Cost: subscriptions starting at $17/mo. for 15 content evaluations per month &#8211; If you don&#8217;t have a lot of organic traffic (traffic coming in via the search engines), then you may be doing something wrong each and every time you publish a post or when you created your static pages. This plugin reads your content on the page or post you&#8217;re working on and ensures that it adheres to the best practices of SEO and even makes suggestions about how to fix the shortcomings. One thing that I noticed was that I became a better writer for traffic as a result of using it. I own the 300 evaluations/mo plan and it&#8217;s become a required expense for us because I&#8217;d cut several other things before I cut this tool out.</li>
<li><strong>Gravity Forms</strong> &#8211; <a title="Gravity Forms" href="http://bit.ly/eKpvFG" target="_blank">plugin link</a> &#8211; Cost: $39 for one site, $99 for multiple sites &#8211; This is form management dream material. One of the most-requested features for sites is a contact form, but so many of them are clunky, don&#8217;t allow for decent customization, or they let spam through. With point and click form creation, easy entry notifications, and even the ability to have someone post guest content to your blog or guest page, this plugin can pretty much do it all. It&#8217;s an excellent way to gather a guestbook/fan list and export those people into a database or a mailing list, too.</li>
</ol>
<p>My next article about plugins will strictly be about must-have premium/paid plugins. You won&#8217;t want to miss that one, either.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petersenmediagroup.com/five-must-have-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3 Easy Steps to Setting up WordPress</title>
		<link>http://www.petersenmediagroup.com/3-easy-steps-to-setting-up-wordpress/</link>
		<comments>http://www.petersenmediagroup.com/3-easy-steps-to-setting-up-wordpress/#comments</comments>
		<pubDate>Thu, 27 Jan 2011 01:38:36 +0000</pubDate>
		<dc:creator>Jesse Petersen</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.petersenmediagroup.com/site/?p=271</guid>
		<description><![CDATA[“Easy” is a relative term, but with these instructions, you will be fully-equipped to set off on your own to get your self-hosted WordPress site up and running in no time. Step One: Domain Name I only use GoDaddy for domain name registration. People say what they may about their TV ads, but they do [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-277" title="DIYWP-logo-2" src="http://www.petersenmediagroup.com/site/wp-content/uploads/2011/01/DIYWP-logo-2.jpg" alt="" width="150" height="150" />“Easy” is a relative term, but with these instructions, you will be fully-equipped to set off on your own to get your self-hosted WordPress site up and running in no time.</p>
<h3>Step One: Domain Name</h3>
<p>I only use <a href="http://bit.ly/fZALj6">GoDaddy</a> for domain name registration. People say what they may about their TV ads, but they do one thing superbly: register domain names. Whatever you do, don’t sign up for any of their add-ons at first. 95% of what they offer is available elsewhere and executed far better. Let them stick to the domain name registration only. If your checkout page has anything other than the domain name for a specified number of years, remove those extras and save yourself financial face-palming later.</p>
<h3>Step Two: Hosting</h3>
<p>The biggest decision you’ll make in the entire process is who to choose to host your site. I’ll make that decision easy for you, since I’ve had several hosts and dealt with several dozen hosts over the last decade. Dollar for dollar, <a href="http://is.gd/102z">HostGator</a> is the best deal going with superb performance and customer/technical support. I’ve been using them for over two years and host over a dozen sites on my account and have migrated several dozen people to their services from other hosts, each one responding with positive things to say about their site performance. Here are the steps to get started:</p>
<p>Select Web Hosting at the top. The plan to choose is &#8220;Baby Plan&#8221; with the second option on the next page: &#8220;I will use My Existing Domain and update My Nameservers only&#8221; and enter the domain you have registered with <a href="http://bit.ly/fZALj6">GoDaddy</a> already without the www or http:// in the field (I&#8217;ve had clients try for hours to get hosting because they were putting the www in there).</p>
<p>If you go that route, that hosting will be able to handle your blog you have now, as well as an unlimited # of domains and blogs. It will be a Linux box running cPanel (for those of you who knows what that means) and can host unlimited domains, databases, and a ridiculous number of e-mail addresses that can be accessed via an e-mail client or forwarded to a web-based service like Gmail.</p>
<p>Please ensure you&#8217;re around the phone number you register with to verify the account or they will lock it down until it&#8217;s verified and I won&#8217;t be able to work on it while it&#8217;s locked.</p>
<p>That’s it! You now have hosting, so congratulations. After you receive a welcome e-mail from them, take note of the section called “Your Nameservers:” and head back to <a href="http://bit.ly/fZALj6">GoDaddy</a>. There is a button/section under Domain Management for changing your nameservers (also referred to as DNS, depending on the view your <a href="http://bit.ly/fZALj6">GoDaddy</a> account is using) where you enter those two nameserver numbers to tell <a href="http://bit.ly/fZALj6">GoDaddy</a> where your site will be located.</p>
<h3>Step Three: Fantastico</h3>
<p>The only thing left to do to get off the ground with a WordPress-based online presence is to scroll all the way down in your cPanel area (see the “Your Control Panel:” item in the welcome e-mail or navigate to http://www.yourdomain.com/cpanel) to “Software/Services” and click the smiley-faced Fantasico De Luxe icon. This is your ticket home and takes what used to take a geek to get WordPress installed and put it in the hands of anyone.</p>
<p>Click “WordPress” in the sidebar to bring up the installer. I’ll take a moment to warn you now and forever to never, EVER upgrade any WordPress installation from this screen. You’ll be contacting me to try to get your site restored if it’s not damaged beyond repair. Click “New Installation” and be sure to enter an administrator username other than “admin” (unless getting hacked is your idea of a fun day) and a very secure password. Use an online password generator if you want to be safe. The rest is fine auto-filled as-is, but you may change any of it if you want. The next screen confirms the settings and you’ll see the site URL and the login URL on the screen after that, along with an option to have the login sent to an e-mail address of your liking.</p>
<p>All of this can be done for around $150 with roughly $100 in annual upkeep with the hosting and domain prices, however if you find yourself stuck or desiring some more &#8220;umph&#8221; to your design and presentation, please don&#8217;t hesitate to contact me for a quote for my services.</p>
<p>Congratulations! You’ve got a working WordPress site, now go and conquer your market.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.petersenmediagroup.com/3-easy-steps-to-setting-up-wordpress/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

