<?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>Build ☆ Brand &#9734; Believe</title>
	<atom:link href="http://www.buildbrandbelieve.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.buildbrandbelieve.com</link>
	<description>Build · Brand · Believe</description>
	<lastBuildDate>Sat, 19 May 2012 15:36:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How to Build a WordPress Shortcode for Google AdSense</title>
		<link>http://www.buildbrandbelieve.com/wordpress-shortcode-google-adsense</link>
		<comments>http://www.buildbrandbelieve.com/wordpress-shortcode-google-adsense#comments</comments>
		<pubDate>Sat, 19 May 2012 13:01:42 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Genesis]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.buildbrandbelieve.com/?p=1214</guid>
		<description><![CDATA[This week a client asked if I could make her something that would allow her to selectively place Google AdSense into her pages and posts on her WordPress website. She didn&#8217;t want a cookie-cutter implementation (same location for every page) but instead she wanted full control in the placement of her AdSense code as well [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/05/programming.jpg" alt="" title="programming" width="590" height="200" class="alignnone size-full wp-image-1224" /><br />
This week a client asked if I could make her something that would allow her to selectively place Google AdSense into her pages and posts on her WordPress website. </p>
<p>She didn&#8217;t want a cookie-cutter implementation (same location for every page) but instead she wanted full control in the placement of her AdSense code as well as whether or not it would even be used on every page/post.</p>
<p>For this request I decided to create a WordPress Shortcode with a custom styling attribute in order to control where the ads would be displayed within her content.</p>
<p>Before we get into the tutorial, I want to answer two questions in case everyone isn&#8217;t yet familiar with Google AdSense or WordPress Shortcodes.</p>
<h3>What is Google AdSense?</h3>
<p>Google AdSense is a free, simple way for website publishers of all sizes to earn money by displaying targeted Google ads on their websites. AdSense also lets you provide Google search to your site users, while earning money by displaying Google ads on the search results pages.</p>
<p>Learn more <a href="http://support.google.com/adsense/bin/answer.py?hl=en-GB&amp;answer=9712" target="_blank">here</a>.</p>
<h3>What are WordPress Shortcodes?</h3>
<p>A Shortcode is a piece of code that turns a lot of complicated code into small snippets. With Shortcodes you can write your code/functions once and then use a Shortcode to interact with that piece of code over and over again. Think of a Shortcode being a shortcut.</p>
<p>Learn more <a href="http://codex.wordpress.org/Shortcode_API" target="_blank">here</a>.</p>
<p>On to the tutorial&#8230; Easy stuff first!</p>
<h3>Show Me the Shortcode</h3>
<p>The Shortcode is listed below. Take note of the attribute named float. The two values supported are left or right. If you need the Google AdSense Ad to float left, simply add float=&#8221;left&#8221; for the float attribute. If it needs to float right, then switch it to right.</p>
<pre class="brush: plain; title: ; notranslate">[show_AdSense float=&quot;left|right&quot;]</pre>
<h3>Show Me the CSS</h3>
<p>You will need to write two style definitions. One to float the AdSense code left and the other to float it right. I also had the adjust the margin in order for her AdSense code to display properly on her website. Fine tune it for your implementation.</p>
<pre class="brush: css; title: ; notranslate">
.adsense-left {
    float: left;
    margin: 0 20px 20px 0;
}

.adsense-right {
    float: right;
    margin: 0 0 20px 20px;
}
</pre>
<h3>Shortcode Php Code</h3>
<pre class="brush: php; title: ; notranslate">
/**
 * Shortcode for including AdSense into page/post content
 *
 * How to Use: [show_AdSense float=&quot;left|right&quot;]
 *
 * @author Rick R. Duncan
 * https://twitter.com/#!/RickRDuncan
 * http://www.buildbrandbelieve.com
 */
function get_AdSense($float) {
	require(ABSPATH.'/custom/php/adsense.php');
	extract(shortcode_atts(array(&quot;float&quot; =&gt; '0'), $float));
	return getAdSense($float);
}
add_shortcode('show_AdSense', 'get_AdSense');
</pre>
<p>In the Php code above you&#8217;ll see a few things happening:</p>
<ul>
<li>I&#8217;m passing the float value into the function named get_AdSense(). The value of $float will either be left or right.</li>
<li>I&#8217;m including the file adsense.php which contains the client&#8217;s Google AdSense code.</li>
<li>I&#8217;m extracting the float attribute variable from the Shortcode.</li>
<li>I&#8217;m calling the getAdSense() function and passing the float value which will be left or right into the function. This will then return the AdSense code.</li>
</ul>
<h3>The AdSense Code</h3>
<p>The AdSense code below simply returns the AdSense code with the proper CSS style attached. Look for the HTML of &#8220;class=adsense-&#8221; and you can see where I&#8217;m placing the float position entered into the Shortcode. When this code gets returned to the calling function it will have a class name of either &#8220;adsense-left&#8221; or &#8220;adsense-right&#8221; in order for it to be placed on the page where the user needs it.</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
function getAdSense($position){
	$strHTML = '&lt;div class=&quot;adsense-'. $position . '&quot;&gt;
		&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
    		google_ad_client = &quot;pub-XXXXXXXXXXX&quot;;
    		google_ad_slot = &quot;XXXXXXXXXX&quot;;
    		google_ad_width = 250;
    		google_ad_height = 250;
    		//--&gt;
    		&lt;/script&gt;
    		&lt;script type=&quot;text/javascript&quot; src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;&lt;/script&gt;
		&lt;/div&gt;';
	return $strHTML;
}
?&gt;
</pre>
<h3>Closing Remarks</h3>
<p>All of this code can be added into your themes folder. You can edit Style.css to include the custom styles mentioned above. All of the Php code (Shortcode &#038; getAdSense() function) can be added into your Functions.php file. I don&#8217;t do that&#8230;</p>
<p>For my implementation, all of this code lives outside of WordPress and within a custom functions file, custom.css and custom folders. You can read the article titled <a href="http://www.buildbrandbelieve.com/genesis-custom-functions-file" title="genesis custom functions file">How to Create a Custom Functions File for Genesis</a> to see how easy it is to separate code functionality like this from your WordPress theme. Once you switch to this method you&#8217;ll wonder why you hadn&#8217;t done it sooner! </p>
<p>Happy Coding.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buildbrandbelieve.com/wordpress-shortcode-google-adsense/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Create a Custom Functions File for Genesis</title>
		<link>http://www.buildbrandbelieve.com/genesis-custom-functions-file</link>
		<comments>http://www.buildbrandbelieve.com/genesis-custom-functions-file#comments</comments>
		<pubDate>Tue, 15 May 2012 12:50:46 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Genesis]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.buildbrandbelieve.com/?p=827</guid>
		<description><![CDATA[If you&#8217;re anything like me or worse yet, Brian Gardner, you&#8217;ll find yourself changing themes more than you change your socks. Just kidding Brian. You do change your theme frequently. Maybe saying that you do it more often than changing your socks is a slight exaggeration. Why Custom Functions Files Make Sense In most cases, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-1186" title="crumb-code" src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/05/crumb-code.png" alt="" width="590" height="200" /></p>
<p>If you&#8217;re anything like me or worse yet, <a href="http://www.briangardner.com" target="_blank">Brian Gardner</a>, you&#8217;ll find yourself changing themes more than you change your socks. Just kidding Brian. You do change your theme frequently. Maybe saying that you do it more often than changing your socks is a slight exaggeration.</p>
<h3>Why Custom Functions Files Make Sense</h3>
<p>In most cases, whenever you decide to use a new theme chances are you&#8217;ll have to do a fair amount of customization to get things just right. By the time you do this three or four times you start second-guessing your decision to use a new theme.</p>
<p>Lucky for you, I&#8217;ve suffered through this problem enough times and have created a user-defined functions file that will work with any WordPress theme, including the Genesis Framework. The idea behind creating a user-defined function file for WordPress is that you can place all of your common, custom designed elements— JavaScript, CSS, Affiliate API code, for instance—within functions that reside outside of your theme files and file structure.</p>
<p><strong>Creating a user-defined functions file is a great idea for a couple of reasons:</strong></p>
<ol>
<li>Your common design tweaks are isolated in a non-theme file so you won’t risk overwriting them whenever you change or upgrade your theme. An example is my alert message after the second paragraph in my article titled &#8220;<a title="how to rename a genesis child theme" href="http://www.buildbrandbelieve.com/how-to-rename-genesis-child-theme">How to rename a Genesis Child Theme</a>.&#8221; If the image and styles used on that page were contained within the existing theme and not in my user-defined file, everything would be lost when I switch to a new StudioPress theme.</li>
<li>Creating user-defined function file and custom directories outside of your theme creates a more organized and less intimidating work environment for customizing your current theme. You can easily add and subtract HTML, Php, CSS, etc. from your user-defined functions file without fear of “breaking” your theme, simply because you aren’t trying to edit the theme files directly.</li>
</ol>
<h3>Old School Method of Coding</h3>
<p>Before I created my user-defined functions file I would make all of my functional and design tweaks directly in the themes folder. No more. Well, OK, you do need one line of code to begin using a user-defined functions file.</p>
<h3>New Method of Coding</h3>
<p>Going forward I&#8217;m only writing one line of code inside of functions.php and then my custom user-defined functions file will contain all of my WordPress customizations which lives off the root of my site in a folder named <em>custom</em>.</p>
<p><strong>Folder structure off the root of my website:</strong></p>
<p><img class="alignnone size-full wp-image-1198" title="dir-1" src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/05/dir-1.png" alt="" width="209" height="121" /></p>
<p><strong>A peek inside of the custom folder:</strong></p>
<p><img class="alignnone size-full wp-image-850" title="dir-2" src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/04/dir-2.png" alt="" width="209" height="144" /></p>
<h3>A Working Example</h3>
<p>Lets use an example in which I <a title="how to customize the genesis breadcrumb" href="http://www.buildbrandbelieve.com/how-to-customize-genesis-breadcrumbs">customize the Genesis breadcrumb</a>.</p>
<h4>Step 1</h4>
<p>Create a folder named <em>custom</em> in the root of your website. Refer to the image above for the exact location if you&#8217;re not clear where it goes.</p>
<h4>Step 2</h4>
<p>Inside the folder named <em>custom</em>, create four directories named <em>css</em>, <em>js</em>, <em>img</em> and <em>php</em>. These are just folder name suggestions should you begin using this method for your future projects.</p>
<h4>Step 3</h4>
<p>Create your custom_functions.php file and place it into your folder named <em>custom</em>.</p>
<p>Add the custom breadcrumb code to custom_functions.php that you will use for your website. Follow <a href="http://www.buildbrandbelieve.com/how-to-customize-genesis-breadcrumbs">this tutorial</a> if you need assistance.</p>
<p>The code below is what your file named custom_functions.php should contain at this point.</p>
<pre class="brush: php; title: ; notranslate">&lt;?php 

/**
 * Customize breadcrumb display
 *
 * @author Rick R. Duncan
 * @link http://www.buildbrandbelieve.com
 * @param array $args Default breadcrumb arguments
 * @return array Amended breadcrumb arguments
 *
 */
add_filter('genesis_breadcrumb_args', 'custom_breadcrumb_args');
function custom_breadcrumb_args( $args ) {
    $args['home'] 				= 'home';
    $args['sep'] 				= ' &amp;raquo; ';
    $args['labels']['prefix'] 	= '';
    $args['prefix'] 			= '&lt;div id=&quot;crumbs-wrapper&quot;&gt;&lt;div id=&quot;crumbs&quot;&gt;';
    $args['suffix'] 			= '&lt;/div&gt;&lt;/div&gt;';
    $args['labels']['category'] = '';
    $args['labels']['tag'] 		= '';
    return $args;
}

?&gt;</pre>
<h4>Step 4</h4>
<p>Add one line of code into your existing functions.php file. This is the code:</p>
<pre class="brush: php; title: ; notranslate">if (is_file(ABSPATH. '/custom/custom_functions.php')) { include(ABSPATH. '/custom/custom_functions.php'); } // Include Custom Functions</pre>
<p>That&#8217;s all. You&#8217;re done. See how easy that was? This example should help you see just how powerful this technique really is.</p>
<h3>Bonus Lesson</h3>
<p>Up above I mentioned how you can use this technique for CSS. You won&#8217;t need the user-defined functions file for this example, but you will use the directory structure I recommended above to make this happen.</p>
<p>From your admin page in WordPress, look for Genesis -&gt; Theme Settings. Once you&#8217;re on the theme settings page, look for section labeled Header &amp; Footer Scripts and in the first box (the top one) you will past the following line of code into it.</p>
<pre class="brush: plain; title: ; notranslate">&lt;link rel=&quot;stylesheet&quot; href=&quot;http://www.buildbrandbelieve.com/custom/css/custom.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;</pre>
<p>Change the domain name &#8220;<em>buildbrandbelieve</em>&#8221; to your domain. Now create a .css file named custom.css, toss it into the folder named &#8220;<em>css</em>&#8221; and add your custom styles to this file instead of Style.css that&#8217;s included in your child theme. Again, the goal is to not have your customizations (the ones that remain no matter what theme you&#8217;re using) added to your existing child theme. Keep them separated so you can easily change themes whenever you want with little fuss.</p>
<p>Let me know if you use something similar to what I&#8217;ve outlined above or have suggestions on making this code more robust. I&#8217;m always looking for better ways to code and save time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buildbrandbelieve.com/genesis-custom-functions-file/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How To Exclude A Category from the Genesis Grid Loop</title>
		<link>http://www.buildbrandbelieve.com/exclude-category-genesis-grid-loop</link>
		<comments>http://www.buildbrandbelieve.com/exclude-category-genesis-grid-loop#comments</comments>
		<pubDate>Mon, 14 May 2012 10:00:00 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Genesis]]></category>

		<guid isPermaLink="false">http://www.buildbrandbelieve.com/?p=1002</guid>
		<description><![CDATA[I had difficulty trying to figure out how to exclude a category from the Genesis grid loop function but finally found a solution. Since it was so difficult to find, I wanted to share my solution with everyone that&#8217;s searching for the same thing. One Line of Code No, it&#8217;s not a typo in that [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-1160" title="grid-loop" src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/05/grid-loop.jpg" alt="" width="590" height="200" /></p>
<p>I had difficulty trying to figure out <strong>how to exclude a category from the Genesis grid loop</strong> function but finally found a solution. Since it was so difficult to find, I wanted to share my solution with everyone that&#8217;s searching for the same thing.</p>
<h3>One Line of Code</h3>
<p>No, it&#8217;s not a typo in that you are seeing a double underscore in between the word category and not.</p>
<pre><code>'category__not_in' =&gt; '72'</code></pre>
<p>In my example above the category I want to exclude is 72. You will need to change that value to suit your implementation.</p>
<h3>The Entire Function</h3>
<pre><code>genesis_grid_loop( array( 'features' =&gt; 2, 'feature_image_size' =&gt; 'full', 'feature_image_class' =&gt; 'alignleft post-image', 'feature_content_limit' =&gt; 220, 'grid_image_size' =&gt; 0, 'grid_image_class' =&gt; 'alignnone', 'grid_content_limit' =&gt; 200, 'more' =&gt; __( '[Continue reading...]', 'genesis' ), 'posts_per_page' =&gt; 6, 'category__not_in' =&gt; '72' ) );</code></pre>
<p>As of this writing, it&#8217;s currently what&#8217;s being used on my <a title="authentic internet marketing strategies" href="http://www.buildbrandbelieve.com/">homepage</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buildbrandbelieve.com/exclude-category-genesis-grid-loop/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a Blog Page with a Single Tag</title>
		<link>http://www.buildbrandbelieve.com/custom-tag-page-genesis</link>
		<comments>http://www.buildbrandbelieve.com/custom-tag-page-genesis#comments</comments>
		<pubDate>Sat, 12 May 2012 13:39:42 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Genesis]]></category>

		<guid isPermaLink="false">http://www.buildbrandbelieve.com/?p=1062</guid>
		<description><![CDATA[I recently read an excellent tutorial published by Brian Gardner that details the steps involved in creating a blog page with a single category. It got me to thinking&#8230; what if I wanted to create a blog page for a single tag? Well, that&#8217;s possible too! I assumed I could just switch out &#8216;cat&#8217; for [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-1113" title="little-nerds" src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/05/little-nerds.jpg" alt="" width="590" height="200" /></p>
<p>I recently read an excellent tutorial published by Brian Gardner that details the steps involved in <a href="http://www.briangardner.com/blog-page-single-category/" target="_blank">creating a blog page with a single category</a>. It got me to thinking&#8230; what if I wanted to create a blog page for a single tag? Well, that&#8217;s possible too!</p>
<p>I assumed I could just switch out &#8216;cat&#8217; for &#8216;tag&#8217; and use the ID of the tag I needed. Wrong!</p>
<p>I spent a few minutes searching for <em><strong>WordPress query_args tags</strong></em> trying to determine how to use a tag instead of a category. I finally stumbled upon someone claiming it to be a bug in the system that makes the ID not work with tags. It was stated that you must reference the tag by name when using query_args.</p>
<h3>The Code</h3>
<p>Look at the image below. Where the value of &#8216;query_args&#8217; was &#8216;cat=X&#8217; in <a href="http://www.briangardner.com/blog-page-single-category/" target="_blank">Brian&#8217;s tutorial</a>, simply replace &#8216;cat&#8217; with &#8216;tag&#8217; but instead of using the ID of the tag you have to use the tag name for the value.</p>
<p><img class="alignnone size-full wp-image-1112" title="query-args" src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/05/query-args.jpg" alt="" width="421" height="115" /></p>
<p>Like they say at Staples; That was Easy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buildbrandbelieve.com/custom-tag-page-genesis/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Create a Custom 404 Page for Genesis</title>
		<link>http://www.buildbrandbelieve.com/custom-404-genesis</link>
		<comments>http://www.buildbrandbelieve.com/custom-404-genesis#comments</comments>
		<pubDate>Thu, 10 May 2012 13:01:32 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Genesis]]></category>

		<guid isPermaLink="false">http://www.buildbrandbelieve.com/?p=892</guid>
		<description><![CDATA[By default, when your WordPress website encounters a 404 error it displays a page filled with a ton content. That content includes pages, categories, authors, content grouped by month and up to 100 of your most recent posts. Not the most friendly page a user can stumble upon in my opinion. The tutorial below will [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-928 alignnone" title="custom-404" src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/05/custom-404.png" alt="" width="590" height="200" /><br />
By default, when your WordPress website encounters a 404 error it displays a page filled with a ton content. That content includes pages, categories, authors, content grouped by month and up to 100 of your most recent posts. Not the most friendly page a user can stumble upon in my opinion.<br />
The tutorial below will demonstrate how easy and fast it is to create a custom error 404 page for your WordPress website running the Genesis Framework. If you aren&#8217;t using the <a href="http://www.buildbrandbelieve.com/go/genesis-framework" target="_blank">Genesis Framework</a> for all of your WordPress installs, you my friend are missing out!<span id="more-892"></span></p>
<p>Before we get started on the tutorial, click this URL <a href="http://www.buildbrandbelieve.com/fred.php" rel="nofollow">http://www.buildbrandbelieve.com/fred.php</a> and you can see what I&#8217;ve created for this website.</p>
<h3>Grab a Copy of 404.php</h3>
<p>The first thing you need to do is grab a copy of 404.php which is located in the root of the <strong>Genesis</strong> folder.</p>
<h3>Edit 404.php</h3>
<p>Now open 404.php in your favorite text editor (I use <a href="http://panic.com/coda/" target="_blank">Coda</a>) and make whatever customizations you need for your custom 404 page. For my site you can see that my changes include:</p>
<ul>
<li>Custom H1 page title</li>
<li>Custom messaging at top of page</li>
<li>Added imagery to the page</li>
<li>Listed the 8 most recent posts published on my website</li>
</ul>
<p>Save your changes and upload your file into your active theme folder and your custom 404 error page will now be used when a user encounters an error 404 on your website.</p>
<p>Keep reading to see how easy it was to list my most recent 8 posts at the bottom of my error page.</p>
<h3>How to List Recent Posts</h3>
<p>The code I used to display the recent posts is as follow.</p>
<pre><code>wp_get_archives( 'type=postbypost&amp;limit=8' );</code></pre>
<p>That&#8217;s it! You&#8217;re done. See how easy it is to make WordPress customizations when using the Genesis Framework?</p>
<h3>Wait There&#8217;s More?</h3>
<p>If you want a custom 404 error page without having to do any coding at all, check out <a href="http://wordpress.org/extend/plugins/genesis-widgetized-notfound/" target="_blank">this plugin</a> from <a href="https://twitter.com/#!/deckerweb" target="_blank">David Decker</a>. I have not tried this plugin but in taking a quick glance at the source code it looks pretty solid and gives you some nice flexible options.</p>
<h3>Show Us Your 404 Error Page</h3>
<p>If you have a custom error 404 page on your site or a site you created for a client, drop a link below. I&#8217;m especially interested in the error pages that add a light touch of humor to the messaging.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buildbrandbelieve.com/custom-404-genesis/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Pharma Hack</title>
		<link>http://www.buildbrandbelieve.com/wordpress-pharma-hack</link>
		<comments>http://www.buildbrandbelieve.com/wordpress-pharma-hack#comments</comments>
		<pubDate>Fri, 09 Mar 2012 14:45:06 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.buildbrandbelieve.com/?p=738</guid>
		<description><![CDATA[Recently I wrote an article titled Has Your htaccess File Been Hacked in which I described how a client&#8217;s site was hacked through the .htaccess file. This week I&#8217;ve encountered another small business owner&#8217;s website running WordPress that has been hacked. This time it was totally preventable. Read on to see how this could have [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-914" title="hackers" src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/03/hackers.jpg" alt="" width="590" height="200" /></p>
<p>Recently I wrote an article titled <a href="http://www.buildbrandbelieve.com/hacked-htaccess">Has Your htaccess File Been Hacked</a> in which I described how a client&#8217;s site was hacked through the .htaccess file. This week I&#8217;ve encountered another small business owner&#8217;s website running WordPress that has been hacked. This time it was totally preventable. Read on to see how this could have been prevented.</p>
<h3>Google Analytics</h3>
<p>As an Internet Marketing Consultant with <a title="rva media" href="http://www.rvamedia.com">RVA Media</a>, the first thing we look for on a client&#8217;s website is analytics software. If the site doesn&#8217;t have analytics software installed, we recommend installing <a href="http://www.google.com/analytics/">Google Analytics</a> immediately. Without knowing how a website is performing through the use of analytics software, it would be reckless of us to make recommendations when it comes to a cohesive internet marketing strategy.</p>
<p>On this particular site, there was no analytics software installed. It was my job to get it installed as soon as possible in order to create a baseline. As soon as I received the credentials to log into the WordPress admin panel I knew I would find trouble. Why you ask? The credentials I received to administer the site was admin/admin. Yep, the username was admin and the password was also admin.</p>
<h3>WordPress Updates</h3>
<p>After logging into the site, the first thing I noticed was that the site was running WordPress 3.0. The current version is 3.3.1. Also, the version of Php is 4.4.9 which is not compatible with the latest version of WordPress. In order to upgrade WordPress to 3.3.1 I would need to upgrade Php to 5.2.4 or higher. Even the plugins and the theme itself was outdated and had newer version available.This is the time in which I would like to remind everyone that it&#8217;s important to keep WordPress and all plugins updated to the latest version as most hacking is done through older versions of both WordPress and plugins. For this particular case it wasn&#8217;t the older versions guilty of allowing a hacker in, it was the extremely weak password/username combination. Even so, please follow best practices and keep everything up to date.</p>
<h3>WordPress Pharma Hack?</h3>
<p>At first glance I thought the site was hit by the infamous WordPress pharma hack. I found links pointing to http://atlantic-drugs.net, http://cvsmailorderpharmacy.org/ and http://cvsonlinepharmacystore.com/, using terms like viagra, rhinocort and others. These link-hackers were trying to get as many back-links to their sites as possible in the hopes of increasing their Google rankings and manipulating their link profile in a positive manner.</p>
<p>Lucky for me and the client this wasn&#8217;t the infamous WordPress pharma hack. Instead, it was a beginner hackers delight. The .htaccess file was fine, nothing uploaded into the &#8220;uploads&#8221; folder, nothing in the plugins folder or database indicated anything was hacked. This was a case of someone gaining admin access into the WordPress site and manually adding hyperlinks to some pharmacy sites. This is why I said earlier it all could have been prevented.</p>
<p>Their are numerous articles posted online that guide you on how to secure WordPress. Recently, the crew at StudioPress wrote an article titled <a href="http://www.studiopress.com/tips/wordpress-site-security.htm">4 Simple Ways to Secure (and Maintain) Your WordPress Website</a> that I recommend you read. You should also read <a href="http://codex.wordpress.org/Hardening_WordPress">Hardening WordPress</a> which was written by WordPress themselves to learn about the different methods in which to reduce the likelihood of having your site compromised by hackers.</p>
<h3>How Much Damage?</h3>
<p>According to Google the word rhinocort appears over 20 times on the client&#8217;s website. You can find out this information from an advanced search query in Google. Simply type the following query into Google. <strong>site:www.DOMAIN.com &#8220;rhinocort&#8221;</strong>. Substitute the word &#8220;domain&#8221; with your actual domain and the word &#8220;rhinocort&#8221; with the term you&#8217;re looking for. If you&#8217;re checking your site try switching out the term rhinocort with viagra, cialis, nexium, etc. to see if Google spots any of those terms on your site. Hopefully not!</p>
<p>Everything with this hack involved manual work. The hackers edited footer.php in order to add a rhinocort link onto every page of the site. Then they manually went into every post of the site (there were only 7 posts) to replace words with viagra, cialis and others making them a link to their pharmacy sites. Once I realized how they did it, I was able to fix everything in less than 30 minutes.</p>
<h3>Lesson Learned?</h3>
<ol>
<li><strong>Never set your username and password to admin/admin</strong></li>
<li><strong>Never set and forget your website</strong> &#8211; If you&#8217;re a small business and you feel it&#8217;s necessary to have an online presence with your own domain and website, please pay attention to your website by receiving daily, weekly and monthly reports. You wouldn&#8217;t run a television commercial or a radio spot and not want to identify the ROI. Same holds true for your website. Your website should be working for you, not against you.</li>
</ol>
<p>In only a few minutes a day you can keep an eye on the health of your website. Please, don&#8217;t have prospective clients visit your site only to find that you&#8217;ve been hacked and your content has been compromised.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buildbrandbelieve.com/wordpress-pharma-hack/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Organic Search Referrals Report</title>
		<link>http://www.buildbrandbelieve.com/how-to-create-organic-search-referrals-report</link>
		<comments>http://www.buildbrandbelieve.com/how-to-create-organic-search-referrals-report#comments</comments>
		<pubDate>Tue, 28 Feb 2012 15:14:37 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Analytics]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://www.buildbrandbelieve.com/?p=709</guid>
		<description><![CDATA[I recently wrote an article titled Has Your .HTACCESS File Been Hacked. In that article I mentioned a daily report that details the number of visits (organic search referrals) your site receives from search engines. In today&#8217;s article I&#8217;m going to show you how to create this report in Google Analytics in order to have [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/02/google-analytics.png" alt="" title="google-analytics" width="590" height="200" class="alignnone size-full wp-image-918" /></p>
<p>I recently wrote an article titled <a title="hacked htaccess" href="http://www.buildbrandbelieve.com/hacked-htaccess">Has Your .HTACCESS File Been Hacked</a>. In that article I mentioned a daily report that details the number of visits (organic search referrals) your site receives from search engines. In today&#8217;s article I&#8217;m going to show you how to create this report in Google Analytics in order to have it sent to you on a daily basis.</p>
<p><strong>Before we begin</strong>. As many of you know, there are two versions of Google Analytics to choose from. The old version and the new version. As of this writing it&#8217;s not possible to have reports emailed to you from the new version. I&#8217;m going to first show you how to get at the report in the new version, then I&#8217;ll show you how to do the same thing in the old version in order to have it emailed to you on a daily basis. Here we go&#8230;</p>
<h3>Google Analytics: New Version</h3>
<p>1. Open <a href="http://www.google.com/analytics/">Google Analytics</a></p>
<p>2. Click on your website and look in the left navigation bar for Traffic Sources &gt; Sources &gt; Search &gt; Organic.<br />
(<em>view image below</em>)</p>
<p><img class="alignnone  wp-image-710" title="traffic-sources" src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/02/traffic-sources.png" alt="" width="227" height="371" /></p>
<p>Now look in the center screen for the setting labeled <strong>Viewing</strong> and click on <strong>Source</strong>.<br />
(<em>view image below</em>)</p>
<p><img class="alignnone size-full wp-image-718" title="viewing" src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/02/viewing.png" alt="" width="355" height="319" /></p>
<p>You can now see how many organic visits over the last 30 days you have received from the search engines. Look towards the top right of your screen and change the date to yesterday&#8217;s date. Now you&#8217;ll see what you got yesterday from the search engines. This is free, organic traffic numbers.</p>
<p>As I said above. At the time of this writing you&#8217;re not able to have the report emailed to you. The Google Analytics team is working on it, so please be patient. In the meantime, add it to your dashboard so you have it saved once the email functionality has been added.</p>
<p>If you don&#8217;t want to log in to view this on a daily basis, it&#8217;s time to switch to the old version and create the same report. Once you&#8217;re done, you can have it emailed to you. Here we go&#8230;</p>
<h3>Google Analytics: Old Version</h3>
<p>From within Google Analytics, scroll to the top of the page and look towards the top right for a link labeled <strong>Old Version</strong> and give it a click.</p>
<p>Click on your website and look in the left navigation bar for Traffic Sources &gt; Search Engines.<br />
(<em>view image below</em>)</p>
<p><img class="alignnone size-full wp-image-722" title="traffic-sources-2" src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/02/traffic-sources-2.png" alt="" width="293" height="382" /></p>
<p>Now look in the center screen for the setting labeled <strong>Show</strong> and click on <strong>non-paid</strong>.<br />
(<em>view image below</em>)</p>
<p><img class="alignnone size-full wp-image-723" title="viewing-2" src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/02/viewing-2.png" alt="" width="345" height="317" /></p>
<p>You are now viewing the amount of free/organic traffic sent to you from the search engines. Now let&#8217;s get this report sent to us in an email on a daily basis.</p>
<p>Scroll to the top of the page and look for the icons labeled Export, Email, Add to Dashboard and Visualize.<br />
(<em>see image below</em>)</p>
<p><img class="alignnone size-full wp-image-726" title="email-report" src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/02/email-report.png" alt="" width="343" height="44" /></p>
<p>Click on Email to have the email form pop-up for you to fill out. Click the tab labeled <strong>Schedule</strong>. I kept the check mark <strong>Send to me</strong> checked, filled in the subject line with the value of <em>Organic Search Referrals</em> and selected to have a .PDF file sent to me. Then for <strong>Date Range/Schedule:</strong> I selected <em>Daily (sent each morning)</em>. Click Schedule and you&#8217;re done.</p>
<p>By having this report, you&#8217;ll know if all of a sudden you have lost all your organic traffic from the Google Gods and/or other search engines.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buildbrandbelieve.com/how-to-create-organic-search-referrals-report/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Has Your htaccess File Been Hacked?</title>
		<link>http://www.buildbrandbelieve.com/hacked-htaccess</link>
		<comments>http://www.buildbrandbelieve.com/hacked-htaccess#comments</comments>
		<pubDate>Fri, 24 Feb 2012 19:42:36 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.buildbrandbelieve.com/?p=645</guid>
		<description><![CDATA[Would you know if your .htaccess file was hacked? The other day I was asked to look at an .htaccess file from a WordPress site belonging to a small business owner. His fear was that the .htaccess file had been hacked. He mentioned that his site was up and running and he couldn&#8217;t see anything [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/02/hacked.jpg" alt="" title="hacked" width="590" height="200" class="alignnone size-full wp-image-916" /></p>
<p><strong>Would you know if your .htaccess file was hacked?</strong></p>
<p>The other day I was asked to look at an .htaccess file from a WordPress site belonging to a small business owner. His fear was that the .htaccess file had been hacked. He mentioned that his site was up and running and he couldn&#8217;t see anything wrong, but thought it best to get a second opinion.</p>
<p>I opened the .htaccess file with a text editor and was amazed at the code that had been placed within the file.</p>
<h3>.htaccess 301 redirect</h3>
<p>The image below is a snippet of the code placed into the .htaccess file.</p>
<p><img class="alignnone size-full wp-image-647" title="code-hacked" src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/02/code-hacked.png" alt="" width="581" height="123" /></p>
<p>As you can see, the code is basically saying that if you come from a search engine (i.e. Google, Ask, Yahoo, etc.) then send the user to http://bannortim-emisac.ru/upday/index.php using a 301 redirect.</p>
<h3>Analytics to the Rescue</h3>
<p>So, how long would it take you or one of your clients to know if the .htaccess file was hacked in the manner described above? If you&#8217;re getting daily analytic reports that included organic search referral traffic, you would have known within 24 hours.</p>
<p><strong>How would you know?</strong> You would have seen a drop to zero referrals from Google and thought the world ended. After you pick yourself up off the floor you probably would have performed a search for your domain in Google, seen the result then clicked on the link to visit your site. At that time you would have been redirected to a different site thereby alarming you that something was wrong on your site and not with Google.</p>
<p>It&#8217;s beyond the scope of this article to detail the ways in which you should harden your WordPress install. A few pointers on how I like to do it include:</p>
<ul>
<li>Changing file permissions on key files</li>
<li>Keeping WordPress up-to-date</li>
<li>Only installing plugins that are required to run your site. Also knowing who created the plugin by reading the reviews</li>
<li>Using strong passwords</li>
<li>Move the wp-config.php file to the directory above your WordPress install</li>
<li>Change WordPress table prefix</li>
<li><a href="http://codex.wordpress.org/Hardening_WordPress">and more</a></li>
</ul>
<h3>How Did This Happen?</h3>
<p>You might be wondering how this hack occurred. We cannot prove it, but we think it was caused by a WordPress plugin named <strong>Easy Comment Uploads</strong>. Again, we&#8217;re not 100% certain, but a Google search for <a href="https://www.google.com/search?q=wordpress+plugin+file+upload+hacked">Plugin: Easy Comment Uploads hacked</a> turns up a ton of hits about how to use this plugin against site owners.</p>
<p>Information on WordPress.org also indicates <a href="http://wordpress.org/support/topic/plugin-easy-comment-uploads-got-hacked-because-of-this-plugin">sever vulnerabilities with this plugin</a>. Luckily Easy Comment Uploads is no longer available on WordPress.org. Problem is; other sites could be hosting this plugin enabling users to still use it.</p>
<p>My advice&#8230; stay away from it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buildbrandbelieve.com/hacked-htaccess/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Flawed Behavioral Retargeting</title>
		<link>http://www.buildbrandbelieve.com/flaw-behavioral-retargeting</link>
		<comments>http://www.buildbrandbelieve.com/flaw-behavioral-retargeting#comments</comments>
		<pubDate>Fri, 10 Feb 2012 17:58:20 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Advertising]]></category>

		<guid isPermaLink="false">http://www.buildbrandbelieve.com/?p=602</guid>
		<description><![CDATA[For those unaware of the term &#8220;behavioral retargeting&#8221; it&#8217;s defined by Wikipedia as a form of online targeted advertising by which online advertising is targeted to consumers based on their previous Internet actions, in situations where these actions did not result in a sale or conversion. In theory it&#8217;s a giant leap forward in trying [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/02/target.jpg" alt="" title="target" width="590" height="200" class="alignnone size-full wp-image-1088" /></p>
<p>For those unaware of the term &#8220;behavioral retargeting&#8221; it&#8217;s defined by <a href="http://en.wikipedia.org/wiki/Behavioral_retargeting">Wikipedia</a> as <em>a form of online targeted advertising by which online advertising is targeted to consumers based on their previous Internet actions, in situations where these actions did not result in a sale or conversion</em>.</p>
<p>In theory it&#8217;s a giant leap forward in trying to get consumers back into the sales funnel. Some people in the industry have reported that a company needs to have seven different &#8216;touch-points&#8217; with a customer (on average) before they make a purchase. So in theory this sounds like it&#8217;s right on target, right?</p>
<h3>The Flaw</h3>
<p>Before I go into the details I want to admit that I&#8217;m a happy subscriber of <a href="http://www.dpbolvw.net/click-5637024-10479643" target="_top">DIRECTV</a><img src="http://www.ftjcfx.com/image-5637024-10479643" alt="" width="1" height="1" border="0" /> and have been since 2006.</p>
<p>Here is an example in which I will be driven into DIRECTV Banner Ad Hell due to the current implementation of behavioral retargeting. Last night I saw a television commercial informing me that <a href="http://www.pandora.com/">Pandora</a> has been added to the list of features for DIRECTV subscribers. I grabbed my iPad, opened my browser and typed DIRECTV into Google. I clicked the first link on the Search Engine Results Page (SERP) and was taken to a PPC landing page since that link was a paid-link. I searched the DIRECTV site for information on the new Pandora feature in order to figure out how to use the service. I couldn&#8217;t find anything so I logged-in with the hopes of finding the information in my dashboard of new features. Ah, there it is. I accomplish my goal and head on over to a few of my favorite websites.</p>
<p>Wait, what is this? DIRECTV ads on every single site I&#8217;m now visiting. Why are you retargeting me? I logged into DIRECTV.com which means you clearly know I&#8217;m a happy paying customer. Maybe not the happy part, but being a paying customer is now a certainty. Why isn&#8217;t the technology available to disable the retargeting ads? As a current paying customer I&#8217;m not going to convert so please stop showing me the ads.</p>
<p>The same holds true for after making a purchase. I recently purchased <a href="http://www.rackspacecloud.com/2945-0-1-11.html">Rackspace web hosting</a> which I highly recommend. After signing up and paying for the service I had to endure Rackspace Banner Ad Hell for about two weeks. Again, I&#8217;m a paying customer, stop bugging me.</p>
<h3>Show Me Relevant Ads</h3>
<p>Remember that I said it takes an estimated seven touch-points before a consumer makes a purchase? With the wasted page views on me there is another advertiser out there losing out on a possible sale. I&#8217;m no longer seeing relevant ads and other advertisers who should be in front of me are not.</p>
<p>How much longer must we wait and how much money will be wasted until Behavioral Retargeting is taken to the next step and becomes smart enough to know that a conversion has taken place? Soon I hope.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buildbrandbelieve.com/flaw-behavioral-retargeting/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Marketing CAPTCHA</title>
		<link>http://www.buildbrandbelieve.com/marketing-through-captcha</link>
		<comments>http://www.buildbrandbelieve.com/marketing-through-captcha#comments</comments>
		<pubDate>Fri, 03 Feb 2012 16:00:01 +0000</pubDate>
		<dc:creator>Rick</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Advertising]]></category>

		<guid isPermaLink="false">http://www.buildbrandbelieve.com/?p=516</guid>
		<description><![CDATA[As a marketer, I never stop thinking of how and where a business can further their reach to promote their brand or products. By pure chance, or at least I&#8217;m assuming it was by chance I think I found a place no one thought of. Introducing marketing by CAPTCHA! CAPTCHA for Advertisers For those that [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/02/idea.jpg" alt="" title="idea" width="590" height="200" class="alignnone size-full wp-image-1090" /></p>
<p>As a marketer, I never stop thinking of how and where a business can further their reach to promote their brand or products.</p>
<p>By pure chance, or at least I&#8217;m assuming it was by chance I think I found a place no one thought of.</p>
<p>Introducing marketing by CAPTCHA!</p>
<h3>CAPTCHA for Advertisers</h3>
<p>For those that don&#8217;t recognize the name <a href="http://www.captcha.net/" target="_blank">CAPTCHA</a>, I&#8217;ll define it for you. A CAPTCHA is a program that protects websites against bots by generating and grading tests that humans can pass but current computer programs cannot.</p>
<p>The other day I was conducting keyword research for an SEO project and had to enter a seemingly random string of characters before I could enter into the Google AdWords website. Usually the text is so random you never think twice about what you have to enter in the text-box. This time it was different.</p>
<p>Check out the image below for a real live CAPTCHA that I had to enter.</p>
<p><img class="alignnone size-full wp-image-519" title="etrade-captcha" src="http://www.buildbrandbelieve.com/wp-content/uploads/2012/02/etrade-captcha.png" alt="" width="590" height="420" /></p>
<p>Now, I&#8217;m no math genius but what are the odds of having the string of characters ETrade showing up? Now, dig deeper and tell me the odds of getting it to ask for E*Trade. Notice the asterisk in between the E and the letter T? I would love to know the odds. Anyone care to guess?</p>
<p>I think it&#8217;s only a matter of time before we see marketing through CAPTCHA on public websites.</p>
<p>So there you go. If you&#8217;re a developer reading this, go build it and get to market first. You just might have a golden egg in your hands. Or, it&#8217;s a fluke that I saw it (maybe 1 in a trillion) and it&#8217;s a silly idea to think that companies will start promoting their brand using CAPTCHA.</p>
<h3></h3>
]]></content:encoded>
			<wfw:commentRss>http://www.buildbrandbelieve.com/marketing-through-captcha/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  www.buildbrandbelieve.com/feed ) in 1.67818 seconds, on May 20th, 2012 at 4:37 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on May 20th, 2012 at 8:37 pm UTC -->
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<!-- Quick Cache Is Fully Functional :-) ... A Quick Cache file was just served for (  www.buildbrandbelieve.com/feed ) in 0.02484 seconds, on May 20th, 2012 at 6:12 pm UTC. -->
