<?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>RLM &#187; WordPress</title>
	<atom:link href="http://www.rlmseo.com/blog/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rlmseo.com</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2012 03:37:47 +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>Nofollow WordPress Tag Cloud</title>
		<link>http://www.rlmseo.com/blog/nofollow-wordpress-tag-cloud/</link>
		<comments>http://www.rlmseo.com/blog/nofollow-wordpress-tag-cloud/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 01:03:54 +0000</pubDate>
		<dc:creator>jcrens8392</dc:creator>
				<category><![CDATA[On-Site SEO]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[nofollow]]></category>
		<category><![CDATA[tag cloud]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.rlmseo.com/blog/?p=1108</guid>
		<description><![CDATA[Have you added the rel=&#8221;nofollow&#8221; attribute to your WordPress tag cloud? Here&#8217;s a YouTube video from Matt Cutts talking about the need to add the attribute to tag clouds, where he explains that passing PageRank through the tag cloud links is probably not the most efficient way [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.rlmseo.com/blog/wp-content/uploads/2010/08/tag-cloud.png" rel="wp-prettyPhoto[1108]"><img class="size-full wp-image-1109  alignnone" title="Tag Cloud" src="http://www.rlmseo.com/blog/wp-content/uploads/2010/08/tag-cloud.png" alt="Tag Cloud" width="590" height="250" /></a></p>
<p>Have you added the rel=&#8221;nofollow&#8221; attribute to your WordPress tag cloud? Here&#8217;s a <a title="Check out the video" href="http://www.youtube.com/watch?v=bYPX_ZmhLqg&amp;feature=youtube_gdata">YouTube video from Matt Cutts</a> talking about the need to add the attribute to tag clouds, where he explains that passing PageRank through the tag cloud links is probably not the most efficient way to do things.</p>
<p>Unfortunately, the WordPress tag cloud is generated via a function call to <a title="Function reference for wp_tag_cloud" href="http://codex.wordpress.org/Function_Reference/wp_tag_cloud">wp_tag_cloud</a> and, as a result, you cannot simply add the rel=&#8221;nofollow&#8221; attribute like you would a traditional link.</p>
<p>So, I did a bit of searching and stumbled across a <a title="Visit the plugin page" href="http://smartblogtips.com/how-to-add-nofollow-attribute-to-tag-cloud-in-wordpress/">nofollow tag plugin</a> at SmartBlogTips.com that will take care of this for you.</p>
<p>That said, I&#8217;m not big on adding plugins if it&#8217;s just a few lines of code. So, for those of you interested in doing this without the plugin, you can add the following lines of code to your functions.php file:</p>
<pre>function add_nofollow_tag($sLink) {
    return str_replace('&lt;a href=', '&lt;a rel=&quot;nofollow&quot; href=', $sLink);
}
add_filter('wp_tag_cloud', 'add_nofollow_tag');</pre>
<p>That&#8217;s it. Your WordPress tag cloud should now use the rel=&#8221;nofollow&#8221; attribute.</p>
<p>Thanks SmartBlogTips.com for the <a href="http://smartblogtips.com/how-to-add-nofollow-attribute-to-tag-cloud-in-wordpress/">simple plugin</a>!</p>
[Image Source: <a title="Create a tag cloud" href="http://www.wordle.net/show/wrdl/2343151/RLMSEO.com">Wordle.com</a>] </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rlmseo.com/blog/nofollow-wordpress-tag-cloud/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cutom Navigation Menus in WordPress 3.0</title>
		<link>http://www.rlmseo.com/blog/cutom-navigation-menus-in-wordpress-3-0/</link>
		<comments>http://www.rlmseo.com/blog/cutom-navigation-menus-in-wordpress-3-0/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 03:37:02 +0000</pubDate>
		<dc:creator>jcrens8392</dc:creator>
				<category><![CDATA[Navigation]]></category>
		<category><![CDATA[3.0]]></category>
		<category><![CDATA[navigation menu]]></category>

		<guid isPermaLink="false">http://www.rlmseo.com/blog/?p=1026</guid>
		<description><![CDATA[Well, WordPress 3.0 is out and I&#8217;ve got to say, I&#8217;m pretty impressed with it so far. One of the most immediately useful new features is the custom navigation menu tool. What may not be obvious, however, is exactly how to add support for this killer new [...]]]></description>
			<content:encoded><![CDATA[<p>Well, WordPress 3.0 is out and I&#8217;ve got to say, I&#8217;m pretty impressed with it so far. One of the most immediately useful new features is the custom navigation menu tool. What may not be obvious, however, is exactly how to add support for this killer new feature to your theme. So, now that I&#8217;ve finally had time to play with it on a recent project, integrating WordPress into the existing design for the blog section of <a title="The Big Property List blog" href="http://blog.thebigpropertylist.co.uk/">The Big Property List</a>, here&#8217;s a quick little <strong>WordPress 3.0 nav menu tutorial</strong> for you.</p>
<h2>Required Steps</h2>
<p>I&#8217;ll cover these steps in more detail below, but this is a basic outline of what&#8217;s required to take advantage of the custom navigation menus in WordPress 3.0:</p>
<ol>
<li>Define your custom nav menu in functions.php</li>
<li>Define a function that WordPress will call in the event a particular navigation menu does not exist</li>
<li>Create the navigation menus in the WordPress admin</li>
<li>Assign the newly-created navigation menus to their appropriate locations in the WordPress admin</li>
<li>Add function calls to display the navigation menus to your theme</li>
</ol>
<h2>Define Your Custom Navigation Menus</h2>
<p>The first thing to do is let WordPress know about your new navigation menus and what you&#8217;d like to call them. So, open up functions.php and add something like the following:</p>
<pre>add_action('after_setup_theme', 'my_after_setup_function');
function my_after_setup_function() {
/**
* The register_nav_menu function takes two parameters
* @param string $location This is the location you'll reference when you call this nav menu in your theme code
* @param string $description This is the description that will appear in the WordPress admin to help you assign a nav menu to the proper location
*/
register_nav_menu('Main Menu', 'The main site navigation menu');
register_nav_menu('Footer Nav', 'Footer navigation menu');
}</pre>
<p>Pretty simple. In case you didn&#8217;t get it, the first parameter of register_nav_menu() is what you&#8217;ll specify in the function call to tell WordPress which nav menu to display. The second parameter is what WordPress will show you in the navigation menu admin panel that helps you assign newly-created nav menus to their proper locations.</p>
<h2>Define an empty navigation menu function</h2>
<p>My testing shows WordPress does some weird stuff if you register a navigation menu (as we did above), add the function call to display that navigation menu (as we&#8217;ll do below), but you don&#8217;t actually create the navigation menu in the WordPress admin. A perfect example of this might be if a client tells you he wants to add footer navigation at some point, but isn&#8217;t quite sure what he wants there just yet.</p>
<p>By defining a function to be run in the event a navigation menu is not created or assigned in the WordPress admin, you can future-proof things a bit.</p>
<p>Again, you&#8217;ll add this to your functions.php file. In this case, I&#8217;ll be returning an empty string, which is exactly what will be printed, but if you get creative, you might find a number of uses for this.</p>
<pre>function default_nav_menu() {
return '';
}</pre>
<h2>Create the navigation menus in the WordPress admin</h2>
<p>If you&#8217;ve read this far and you can&#8217;t figure this out you need a swift kick in the teeth, but here are a few things to remember:</p>
<ul>
<li>It doesn&#8217;t matter what you call your nav menu. Name it whatever you want.</li>
<li>Can&#8217;t find a &#8220;home&#8221; link in the pages list? Try creating a custom item pointing to your site&#8217;s homepage</li>
<li>I thought this list would be longer when I started it so here&#8217;s another bullet for you to chew on.</li>
</ul>
<h2>Assign the newly-created navigation menus to their proper locations</h2>
<p>Remember the description parameter in the <span class="code">register_nav_menu</span> functions we created earlier? Take a look at the panel that says &#8220;Theme locations&#8221; and you&#8217;ll see those descriptions above select boxes. Select the nav menu you want for each location and save it all.</p>
<h2>Add function calls to display the navigation menus in your theme</h2>
<p>Here&#8217;s the code to display the navigation menus. You&#8217;ll need to add this&#8230;you guessed it&#8230;where you want the navigation menu to appear:</p>
<pre>&lt;?php
wp_nav_menu( array( 'theme_location' =&gt; 'Main Menu', 'sort_column' =&gt; 'menu_order', 'container_class' =&gt; 'main_nav', 'menu_class' =&gt; 'main_nav_menu', 'fallback_cb' =&gt; 'default_nav_menu' ) );
?&gt;
</pre>
<p>A few quick notes on this function:</p>
<ul>
<li>There are a lot of parameters you can use for this function. Check out the <a href="http://codex.wordpress.org/Function_Reference/wp_nav_menu">function reference here</a></li>
<li>Notice that &#8216;theme_location&#8217; is the same value we specified for the <span class="code">$location</span> parameter in our <span class="code">register_nav_menu</span> functions in functions.php</li>
<li>Also notice that &#8216;fallback_cb&#8217;, or fallback callback, is the empty navigation menu function (<span class="code">default_nav_menu</span>) we defined in functions.php</li>
</ul>
<h2>What about formatting?</h2>
<p>Unfortunately, WordPress only gives you the option to output the navigation menu as an unordered list. For most cases that should be fine, but in my recent experience, I had to add those little vertical lines (you know, <a href="http://en.wikipedia.org/wiki/Vertical_bar">the pipe character</a>) between each menu item to match an existing site design. So I used the <span class="code">str_replace</span> function to address the issue:</p>
<pre>$sNav = wp_nav_menu( array( 'theme_location' =&gt; 'Main Menu', 'sort_column' =&gt; 'menu_order', 'container_class' =&gt; 'main_nav', 'menu_class' =&gt; 'main_nav_menu', 'echo' =&gt; false, 'fallback_cb' =&gt; 'default_menu' ) );
$sNav = str_replace("&lt;/a&gt;&lt;/li&gt;n&lt;li ", "&lt;/a&gt; |&lt;/li&gt;n&lt;li ", $sNav);
echo $sNav;</pre>
<p>There might be a better way to do this but I prefer not to make things too complicated.</p>
<p>That&#8217;s it.</p>
<p>&nbsp;</p>
<div id="attachment_1224" class="wp-caption aligncenter" style="width: 555px"><a href="http://www.rlmseo.com/wp-content/uploads/2010/07/wordpress-nav-menu-screenshot.jpg" rel="wp-prettyPhoto[1026]"><img class="size-full wp-image-1224" title="Wordpress 3.0 Navigation Menu" src="http://www.rlmseo.com/wp-content/uploads/2010/07/wordpress-nav-menu-screenshot.jpg" alt="Wordpress 3.0 Navigation Menu" width="545" height="151" /></a><p class="wp-caption-text">Wordpress 3.0 Navigation Menu</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.rlmseo.com/blog/cutom-navigation-menus-in-wordpress-3-0/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Updated: WordPress $post Object Quick Reference</title>
		<link>http://www.rlmseo.com/blog/updated-wordpress-post-object-quick-reference/</link>
		<comments>http://www.rlmseo.com/blog/updated-wordpress-post-object-quick-reference/#comments</comments>
		<pubDate>Fri, 28 May 2010 00:17:45 +0000</pubDate>
		<dc:creator>jcrens8392</dc:creator>
				<category><![CDATA[Advanced WordPress]]></category>
		<category><![CDATA[$post]]></category>
		<category><![CDATA[cheatsheets]]></category>
		<category><![CDATA[post object]]></category>

		<guid isPermaLink="false">http://www.rlmseo.com/blog/?p=1014</guid>
		<description><![CDATA[Looking for a cheatsheet for the contents of WordPress&#8217; $post object? I just updated a reference I posted a while back. Get it here: WordPress $post Object Cheatsheet]]></description>
			<content:encoded><![CDATA[<p>Looking for a cheatsheet for the contents of WordPress&#8217; $post object? I just updated a reference I posted a while back.</p>
<p>Get it here: <a title="WordPress post object reference" href="http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/">WordPress $post Object Cheatsheet</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rlmseo.com/blog/updated-wordpress-post-object-quick-reference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Passing Query String Parameters in WordPress URL</title>
		<link>http://www.rlmseo.com/blog/passing-get-query-string-parameters-in-wordpress-url/</link>
		<comments>http://www.rlmseo.com/blog/passing-get-query-string-parameters-in-wordpress-url/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 17:23:03 +0000</pubDate>
		<dc:creator>jcrens8392</dc:creator>
				<category><![CDATA[Advanced WordPress]]></category>
		<category><![CDATA[query string]]></category>
		<category><![CDATA[rewrite rules]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.rlmseo.com/blog/?p=845</guid>
		<description><![CDATA[Whenever possible, I prefer to use pretty URLs in WordPress, and the ability to adjust permalink settings in the WordPress admin makes that simple to do. However, what if you want to pass a query string to a page without muddying up the URL with that query string? In this tutorial I'll show you how to add custom rewrite rules to WordPress to do just that.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.rlmseo.com/wp-content/uploads/2010/02/wordpress-custom-query-string.jpg" rel="wp-prettyPhoto[845]"><img class="aligncenter size-full wp-image-1240" title="WordPress Custom Query String" src="http://www.rlmseo.com/wp-content/uploads/2010/02/wordpress-custom-query-string.jpg" alt="WordPress Custom Query String" width="500" height="174" /></a></p>
<div class="custom" style="background:-moz-linear-gradient(center top , #FFFFFF, #EEEEEE) repeat scroll 0 0 transparent;
					       background: -webkit-gradient(linear, center top, center bottom, from(#FFFFFF), to(#EEEEEE));
					       margin-left:0 !important;
					       margin-right:0 !important;
					       border:1px solid #BBBBBB;
					       background-color: #EEEEEE;
					       width:100%;
					       color:#333333;"><div class="inner-padding">Update 02/03/2011:<br />
Got a helpful message from JR about custom taxonomies:<br />
I was searching for a solution for a couple days and finally <a href="http://wordpress.stackexchange.com/questions/7827/how-can-i-rewrite-urls-to-pass-taxonomy-and-post-type-values-to-the-query/7873#7873">found a way to go to a custom taxonomy page and further refine the results by post_type</a>. This is critical when you have a situation with one taxonomy servicing multiple post-types. I am hoping to save others the aggravation and apparently the comments are closed on this post.</p>
<p>Thanks for the update JR!</div></div>
<p>It may not be immediately clear to some where a technique like this might come in handy. So I&#8217;m using a recent project as an example. This particular project was for a subsidiary of Milacron, one of Cincinnati&#8217;s most well-known manufacturing companies. Cimcool develops industrial fluids: <a title="View Cimcool's line of additives" href="http://www.cimcool.com/msds-pif/metalworking-additives/" target="_blank">additives</a>, <a title="View Cimcool's line of rust inhibitors" href="http://www.cimcool.com/msds-pif/rust-preventives/" target="_blank">rust inhibitors</a> and <a href="http://www.cimcool.com/" target="_blank">metalworking fluids</a> are some of their major product lines and those product pages are what we&#8217;ll use for this tutorial.</p>
<h2>Requirements</h2>
<p>They already had a website but hired us to handle the SEO. Part of that process involved cleaning up the URL structure of the site by removing query strings from the URLs on product pages. The particular page I&#8217;m going to cover in this tutorial is <a href="http://www.cimcool.com/msds-pif/" target="_blank">this one</a>. If you visit that link and click any of the categories listed on the left-hand side of the page you&#8217;ll see that you&#8217;re sent to a page that looks identical but has the category name in the URL. In fact, all of those pages are the same &#8220;MSDS-PIF&#8221; page served by WordPress, while the content shown on each of those pages is determined by a query string that is parsed from the last portion of the URL. This allows us to have keyword-rich URLs for the products categories without having to create separate WordPress pages for each category.</p>
<h2>Problem</h2>
<p>The biggest problem with getting this done in WordPress, as I alluded to in the last paragraph, is that even with pretty permalinks enabled, we would have had to create a new WordPress page with a unique template for each of those product categories. There were only 15 product categories at the time, so that wouldn&#8217;t be such a tedious task, until you consider the fact that it makes adding categories a bit of a hassle, in that we&#8217;d have to create a new WordPress page and page template anytime the company would need to add categories. While that would mean more billable hours for us, it wouldn&#8217;t be in the client&#8217;s best interest if it could be avoided.</p>
<h2>The Solution</h2>
<p>Thankfully, it could be avoided. Instead of creating a bunch of pages and their respective page templates every time new categories are added, we can use WordPress&#8217; ability to specify custom rewrite rules to pass the query string as part of the URL and use a single page and page template to display all product categories.</p>
<h2>The Process</h2>
<p>The first step was to create a function to add variables to WordPress&#8217; query string and then hook that function into the <span class="code">query_vars</span> hook.</p>
<p>Next, we created a function to add rules to WordPress&#8217; existing array of rewrite rules and hook that function into the <span class="code">rewrite_rules_array</span> hook.</p>
<p>Finally, in the MSDS-PIF page template, we used the <span class="code">$wp_query</span> object&#8217;s <span class="code">query_vars</span> property to get the query string from the URL.</p>
<h2>The Code</h2>
<p>So let&#8217;s get down to the code. First we need to create a function to tell WordPress to keep track of our new query variables. This function goes in your theme&#8217;s functions.php file.</p>
<pre>function add_query_vars($aVars) {
$aVars[] = "msds_pif_cat"; // represents the name of the product category as shown in the URL
return $aVars;
}

// hook add_query_vars function into query_vars
add_filter('query_vars', 'add_query_vars');</pre>
<p>The above process is fairly simple. When the function is hooked into <span class="code">query_vars</span>, WordPress passes the existing array of query variables to the function. We simply add &#8220;msds_pif_cat&#8221; as another query variable and send the array back to WordPress.</p>
<p>Now WordPress knows, in addition to it&#8217;s existing query variables, it should add one called &#8220;msds_pif_cat,&#8221; which we&#8217;ll use to store the product category name as specified in the URL.</p>
<p>However, this alone won&#8217;t do the trick. We also need to tell WordPress how to populate that query variable. In Cimcool&#8217;s case, we want the product category pages&#8217; URLs to look like this: <span class="code">http://www.cimcool.com/msds-pif/<em>category-name</em>/</span>. So, we need to tell WordPress that anytime it finds a URL matching that structure, to use the last portion, the <em>category-name</em>, to populate our new &#8220;msds_pif_cat&#8221; query variable. To do that we need to add a custom rewrite rule.</p>
<p>We accomplish this with another function in our theme&#8217;s functions.php file:</p>
<pre>function add_rewrite_rules($aRules) {
$aNewRules = array('msds-pif/([^/]+)/?$' =&gt; 'index.php?pagename=msds-pif&amp;msds_pif_cat=$matches[1]');
$aRules = $aNewRules + $aRules;
return $aRules;
}

// hook add_rewrite_rules function into rewrite_rules_array
add_filter('rewrite_rules_array', 'add_rewrite_rules');</pre>
<p>The function is hooked into <span class="code">rewrite_rules_array</span>, so WordPress passes the existing rewrite rules as an array to the function, which we then retrieve as <span class="code">$aRules</span>.</p>
<p>We then add a new rule in the form of an array: <span class="code">array(&#8216;msds-pif/([^/]+)/?$&#8217; =&gt; &#8216;index.php?pagename=msds-pif&amp;msds_pif_cat=$matches[1]&#8216;)</span></p>
<p>This rule tells WordPress that anytime it finds a URL that includes &#8220;msds-pif/&#8221;, followed by anything other than a forward slash, followed by another (optional) forward slash, to capture the last portion of that URL (the part within the parenthesis), and serve the page found at &#8220;index.php?pagename=msds-pif&amp;msds_pif_cat=$matches[1]&#8220;.</p>
<p>By default, WordPress will store the captured portion of the URL in an array called <span class="code">$matches</span>. And so if we have a URL request like &#8220;http://www.cimcool.com/msds-pif/industrial-cleaners/&#8221;, WordPress will serve the page at &#8220;index.php?pagename=msds-pif&amp;msds_pif_cat=industrial-cleaners&#8221;.</p>
<p>This allows us to capture that <span class="code">msds_pif_cat</span> variable on the MSDS-PIF page template and vary the content depending upon the contents of that variable.</p>
<h2>Getting the Query Variable</h2>
<p>We can&#8217;t just use the <span class="code">$_GET</span> superglobal to grab our <span class="code">msds_pif_cat</span> query variable. Instead, we have to access the <span class="code">query_vars</span> property of the <span class="code">$wp_query</span> object.</p>
<p>So, on our MSDS-PIF page template, we&#8217;ll access that variable using the following code:</p>
<pre>if(isset($wp_query-&gt;query_vars['msds_pif_cat'])) {
$sMsdsCat = urldecode($wp_query-&gt;query_vars['msds_pif_cat']);
}</pre>
<h2>Next steps</h2>
<p>In our case, we then pull all products matching the category name as stored in the <span class="code">$sMsdsCat</span> variable from the database and display them on the page. Obviously what you do with that variable is up to you and, from this point on, is no different than if you had used PHP&#8217;s <span class="code">$_GET</span> superglobal to get a query variable on a non-WordPress page.</p>
<p>One thing I should mention here is that the <span class="code">rewrite_rules_array</span> hook is called when you update or save your permalink structure, so after you make these changes, <strong>you&#8217;ll have to re-save permalinks to see the changes take effect</strong>.</p>
<h2>More examples</h2>
<p>Take a look at the Cimcool link above to see all this in action. For an example of using multiple custom query variables, have a look at <a href="http://www.screeninnovations.com/dealers/" target="_blank">Screen Innovations&#8217; dealer locator</a>, where we used a similar process to display dealers on the page for a given country, state and city using SEO-friendly URLs and without the need to create a hundred or so page templates.</p>
<p>Finally, check out the following resources for more information on URL rewriting in WordPress:<br />
<a href="http://codex.wordpress.org/Function_Reference/WP_Query" target="_blank">http://codex.wordpress.org/Function_Reference/WP_Query</a><br />
<a href="http://www.prodeveloper.org/create-your-own-rewrite-rules-in-wordpress.html" target="_blank">http://www.prodeveloper.org/create-your-own-rewrite-rules-in-wordpress.html</a><br />
<a href="http://www.seodenver.com/custom-rss-feed-in-wordpress/" target="_blank">http://www.seodenver.com/custom-rss-feed-in-wordpress/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rlmseo.com/blog/passing-get-query-string-parameters-in-wordpress-url/feed/</wfw:commentRss>
		<slash:comments>60</slash:comments>
		</item>
		<item>
		<title>Using WordPress Custom Fields</title>
		<link>http://www.rlmseo.com/blog/wordpress-custom-fields/</link>
		<comments>http://www.rlmseo.com/blog/wordpress-custom-fields/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 13:43:52 +0000</pubDate>
		<dc:creator>jcrens8392</dc:creator>
				<category><![CDATA[Custom Fields]]></category>

		<guid isPermaLink="false">http://www.rlmseo.com/?p=581</guid>
		<description><![CDATA[Using WordPress as a CMS often for client sites I use custom fields perhaps quite a bit more than the regular WordPress user. Still, I've received quite a few requests to write about the use of custom fields in WordPress, so in this post I'll cover the ins and outs of WordPress custom fields.]]></description>
			<content:encoded><![CDATA[<p>Using <a title="Posts related to WordPress as a CMS" href="http://www.rlmseo.com/blog/category/wordpress-as-cms/">WordPress as a CMS</a> often for client sites I use custom fields perhaps quite a bit more than the regular WordPress user. Still, I&#8217;ve received quite a few requests to write about the use of custom fields in WordPress, so in this post I&#8217;ll cover the ins and outs of WordPress custom fields.</p>
<h2>What Are Custom Fields?</h2>
<p>I realize some WordPress users may not even know what custom fields are so let me clarify. The custom field panel can be found on the New/Edit post screen under the conspicuous title, &#8220;Custom Fields.&#8221; That panel is rather cryptic if you&#8217;ve never used it before, but custom fields are really simple to use and incredibly useful. A perfect example of how they can be used is the header image for each post on this site.</p>
<h2>The Custom Field Panel</h2>
<p>As shown in this post&#8217;s header image, the custom fields panel has two form fields, one called &#8220;Name,&#8221; and the other &#8220;Value.&#8221; Name is how you&#8217;ll reference this custom field when accessing it in the code and the value is, well, whatever you want it to be. As an example, the post header images on this site use a name of &#8220;image&#8221; and a value of &#8220;post-image-name.jpg&#8221; (this image file name).</p>
<p>Depending on whether or not you&#8217;ve ever used custom fields before, your custom field panel may not look exactly like the one above. Instead you may see something more like this:</p>
<div id="attachment_1246" class="wp-caption aligncenter" style="width: 563px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/12/wordpress-custom-fields-screenshot.jpg" rel="wp-prettyPhoto[581]"><img class="size-full wp-image-1246" title="Enter a new custom field in WordPress" src="http://www.rlmseo.com/wp-content/uploads/2009/12/wordpress-custom-fields-screenshot.jpg" alt="Enter a new custom field in WordPress" width="553" height="174" /></a><p class="wp-caption-text">Enter a new custom field in WordPress</p></div>
<p>This allows you to enter a new custom field if you haven&#8217;t entered any before or if you already have existing custom fields and click the &#8220;Enter New&#8221; button as seen in this post&#8217;s header image.</p>
<h2>Adding a New Custom Field</h2>
<p>So now that we&#8217;re familiar with the custom field panel, let&#8217;s use it.</p>
<p>Since I&#8217;m currently working on a WordPress Real Estate blog, we&#8217;ll create a custom field to display the property address at the bottom of the page, but you can use this technique to add just about anything to a post.</p>
<h2>Creating a Property Address Custom Field</h2>
<p>So the first thing we want to do is type the name by which we want to refer to this custom field in the &#8220;name&#8221; field of the custom fields panel. In this case I&#8217;ll use &#8220;property_address&#8221;. You can actually use anything you want and it can even have spaces in it, although I prefer to avoid spaces, replacing them with underscores, just in case that changes in future WordPress releases.</p>
<p>Next we want to add the property address to the &#8220;value&#8221; field. Keep in mind that if you want to add any formatting inside the custom field (like line breaks for instance), you&#8217;ll have to add the HTML code directly to the field itself here because we&#8217;ll be pulling the data out of the field directly and WordPress won&#8217;t automatically add formatting like it will when writing the actual content for a post. An example of that can be seen toward the end of this post.</p>
<p>Here&#8217;s what it looks like before we save it:</p>
<div id="attachment_1247" class="wp-caption aligncenter" style="width: 563px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/12/adding-a-new-custom-field-value-in-wordpress.jpg" rel="wp-prettyPhoto[581]"><img class="size-full wp-image-1247" title="Adding a Custom Field Value in WordPress" src="http://www.rlmseo.com/wp-content/uploads/2009/12/adding-a-new-custom-field-value-in-wordpress.jpg" alt="Adding a Custom Field Value in WordPress" width="553" height="174" /></a><p class="wp-caption-text">Our new Custom Property Address Field</p></div>
<p>Now that we&#8217;ve entered the name and value, click the &#8220;Add Custom Field&#8221; button to apply our changes.</p>
<p>Now save/publish the post.</p>
<h2>Editing Our Post Template to show the Property Address</h2>
<p>Now that we&#8217;ve created our new property address custom field, we have to tell WordPress where we want that information displayed.</p>
<p>For this example, I&#8217;m going to add code to the <span class="code">single.php</span> theme template to first check if that property address was entered for the post being shown, and then to display that address if it exists.</p>
<p>So, open up single.php and look for the code that displays the post content, which is something like this:</p>
<pre>&lt;?php the_content(); ?&gt;</pre>
<p>Your <span class="code">the_content()</span> function may contain something inside the parentheses and that&#8217;s fine&#8230;we&#8217;re just looking for that line.</p>
<p>Now immediately after that line we want to add the following code:</p>
<pre>&lt;?php
$property_address = get_post_meta($post-&gt;ID, 'property_address', true);
if($property_address != '') echo "&lt;strong&gt;Property Address: &lt;/strong&gt;" . $property_address;
?&gt;</pre>
<h2>get_post_meta()</h2>
<p>The first line of that code pulls the custom field with the name &#8220;property_address&#8221; and assigns it to the <span class="code">$propert_address</span> variable using WordPress&#8217; built-in <span class="code">get_post_meta()</span> function.</p>
<p>That function takes up to three parameters: The first is the post ID number. Since we&#8217;re adding this code inside the loop, we can use <span class="code">$post-&gt;ID</span> to get the post ID number. If you&#8217;re using this code outside of the loop, the <span class="code">$post</span> object won&#8217;t be set so you&#8217;ll have to enter the ID number of the post you want to use here. The second parameter is the name of the custom field we want, in this case, &#8220;property_address&#8221;. And the third parameter tells WordPress to return the value of that custom field as a string, rather than inside an array.</p>
<p>The second line uses an if-statement to check if the <span class="code">$property_address</span> variable contains anything besides an empty string. If there&#8217;s something there, we then echo &#8220;Property Address:&#8221; in bold, followed by the contents of the <span class="code">$property_address</span> variable containing our property address.</p>
<h2>The Final Result</h2>
<p>The final result, using my free WordPress theme, This Just In!, looks like this:</p>
<div id="attachment_1248" class="wp-caption aligncenter" style="width: 563px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/12/wordpress-custom-field-output.jpg" rel="wp-prettyPhoto[581]"><img class="size-full wp-image-1248" title="WordPress Custom Field Output" src="http://www.rlmseo.com/wp-content/uploads/2009/12/wordpress-custom-field-output.jpg" alt="WordPress Custom Field Output" width="553" height="174" /></a><p class="wp-caption-text">Our custom field output beneath a post</p></div>
<p>That&#8217;s all there is to it.</p>
<h2>Some things to remember about custom fields</h2>
<p>You can use custom fields in this way for just about anything. You should remember that the custom field is pulled as plain text exactly as you entered it, so if we wanted to display the address on two lines, like it would be shown on a letter for example, we&#8217;d have to add <span class="code">&lt;br /&gt;</span> tags into the custom field when creating it. You&#8217;ll probably want to output the custom field inside of a table in this case so that the second line of the address wraps below the first line properly. The code to display that would look something like this:</p>
<pre>&lt;?php
$property_address = get_post_meta($post-&gt;ID, 'property_address', true);
if($property_address != '') {
echo "&lt;table&gt;";
echo "&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Property Address: &lt;/strong&gt;&lt;/td&gt;&lt;td&gt;" . $property_address . "&lt;/td&gt;&lt;/tr&gt;";
echo "&lt;/table&gt;";
}
?&gt;</pre>
<p>In this case, our custom field panel would look something like this:</p>
<div id="attachment_587" class="wp-caption aligncenter" style="width: 563px"><img class="size-full wp-image-587" title="WordPress Custom Field with HTML Formatting" src="http://www.rlmseo.com/blog/wp-content/uploads/2009/12/wordpress-custom-field-html-formatting.png" alt="HTML formatting in our custom field" width="553" height="174" /><p class="wp-caption-text">HTML formatting in our custom field</p></div>
<p>And the final result would be something like this:</p>
<div id="attachment_588" class="wp-caption aligncenter" style="width: 563px"><img class="size-full wp-image-588" title="WordPress Custom Field with HTML Formatting Result" src="http://www.rlmseo.com/blog/wp-content/uploads/2009/12/wordpress-custom-field-html-formatting-result.png" alt="The final result with HTML formatting" width="553" height="225" /><p class="wp-caption-text">The final result with HTML formatting</p></div>
<h2>More about custom fields</h2>
<p>Smashing Magazine has a <a title="Custom fields at Smashing Magazine" href="http://www.smashingmagazine.com/2009/05/13/10-custom-fields-hacks-for-wordpress/" target="_blank">great post</a> about other uses for custom fields if you&#8217;re interested in learning more.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rlmseo.com/blog/wordpress-custom-fields/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>WordPress Pagination in Custom Loop</title>
		<link>http://www.rlmseo.com/blog/wordpress-pagination-in-custom-loop/</link>
		<comments>http://www.rlmseo.com/blog/wordpress-pagination-in-custom-loop/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 10:31:08 +0000</pubDate>
		<dc:creator>jcrens8392</dc:creator>
				<category><![CDATA[Loop Hacks]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[custom loop]]></category>
		<category><![CDATA[get_query_var]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[pagination]]></category>
		<category><![CDATA[query vars]]></category>
		<category><![CDATA[query_posts]]></category>

		<guid isPermaLink="false">http://www.rlmseo.com/?p=571</guid>
		<description><![CDATA[If you use custom loops in WordPress you may run into pagination issues. Specifically, no matter what page you're on, only the first page's worth of posts are displayed. Here's a really quick solution to that problem using the query_posts() function.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.rlmseo.com/wp-content/uploads/2009/12/wordpress-pagination.jpg" rel="wp-prettyPhoto[571]"><img class="aligncenter size-full wp-image-1251" title="WordPress Pagination" src="http://www.rlmseo.com/wp-content/uploads/2009/12/wordpress-pagination.jpg" alt="WordPress Pagination" width="553" height="174" /></a></p>
<p>I wrote an article a while back about using a <a title="WordPress static homepage" href="http://www.rlmseo.com/blog/wordpress-static-homepage/">static homepage for your WordPress blog</a>. In that article I mentioned using a custom loop on this blog in the blog and tutorials sections. One problem you may run into when using a custom loop is that pagination doesn&#8217;t work like you&#8217;d expect it to.</p>
<p>In particular, you may notice that only the first page of posts are displayed no matter what page of posts you&#8217;re trying to view. I often use WordPress as a general purpose CMS in client projects and so I use a lot of custom loops and run into this issue a lot. Here&#8217;s the solution:</p>
<h2>Update query_posts with the proper query vars</h2>
<p>The solution to this problem is pretty simple. You need to tell WordPress to use the &#8220;paged&#8221; query variable in your custom loop, otherwise it&#8217;s ignored. If you&#8217;re using the <span class="code">query_posts</span> function for your custom loop, the easiest way to do this is like so:</p>
<pre>
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts('paged=' . $paged . '&#038;cat=76'); // show posts in category 76 with pagination enabled
</pre>
<p>In this example, we first test to see if the &#8220;paged&#8221; query variable is set using the <span class="code">get_query_var</span> function, which will return false if it&#8217;s not set. If it is set, we&#8217;ll set <span class="code">$paged</span> equal to the value of that query variable and if not, we&#8217;ll set it equal to 1.</p>
<p>Then we initialize our custom loop using the <span class="code">query_posts</span> function by setting &#8220;paged&#8221; equal to our <span class="code">$paged</span> variable so that WordPress grabs the current page from the URL and displays the appropriate list of posts for that page.</p>
<p>I&#8217;m also looping through the posts in category #76 in this example, which is only there for illustrative purposes. That&#8217;s all there is to enabling pagination in custom WordPress loops.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rlmseo.com/blog/wordpress-pagination-in-custom-loop/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Multiple WordPress Sidebars with get_sidebar()</title>
		<link>http://www.rlmseo.com/blog/multiple-wordpress-sidebars-with-get_sidebar/</link>
		<comments>http://www.rlmseo.com/blog/multiple-wordpress-sidebars-with-get_sidebar/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 18:42:09 +0000</pubDate>
		<dc:creator>jcrens8392</dc:creator>
				<category><![CDATA[Sidebar Stuff]]></category>
		<category><![CDATA[get_sidebar]]></category>
		<category><![CDATA[multiple sidebars]]></category>
		<category><![CDATA[sidebar]]></category>

		<guid isPermaLink="false">http://www.rlmseo.com/?p=299</guid>
		<description><![CDATA[In this article I show you how to use the get_sidebar() function to call multiple sidebars (as many as you want) in your WordPress theme.]]></description>
			<content:encoded><![CDATA[<div id="attachment_1258" class="wp-caption aligncenter" style="width: 563px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/10/wordpress-multiple-sidebars.jpg" rel="wp-prettyPhoto[299]"><img class="size-full wp-image-1258" title="WordPress Multiple Sidebars" src="http://www.rlmseo.com/wp-content/uploads/2009/10/wordpress-multiple-sidebars.jpg" alt="WordPress Multiple Sidebars" width="553" height="174" /></a><p class="wp-caption-text">Example of using multiple sidebars in WordPress</p></div>
<p>If you&#8217;ve been theming WordPress for a bit you may have come across the need for multiple sidebars, but you may have also realized that the default method of including a sidebar, using the <span class="code">get_sidebar()</span> function, only allows you to include a single sidebar named <span class="code">sidebar.php</span> (without using parameters). There&#8217;s one obvious way to include a sidebar and that&#8217;s by using a standard php include like so:</p>
<p><span id="more-299"></span></p>
<pre>include('TEMPLATEPATH . '/right-sidebar.php';</pre>
<p>This method works, but in the interest of keeping our code readable and simplifying the inclusion of multiple sidebars, there&#8217;s an easier way to do this and it&#8217;s incredibly simple.</p>
<h2>Including sidebar-left.php and sidebar-right.php using get_sidebar</h2>
<p>Let&#8217;s say we&#8217;ve got two sidebars, right and left, and we&#8217;ll name the files <span class="code">sidebar-right.php</span> and <span class="code">sidebar-left.php</span> respectively. To include those files, all we have to do is use the get_sidebar function but add parameters to each function call to tell WordPress which sidebar we want included where.</p>
<p>To include the file &#8220;sidebar-right.php&#8221; we&#8217;ll use:</p>
<pre>get_sidebar('right');</pre>
<p>And to include our other sidebar, &#8220;sidebar-left.php&#8221; we&#8217;ll use:</p>
<pre>get_sidebar('left');</pre>
<p>Likewise, if we want to include a third sidebar, sidebar-right-2.php for example, we&#8217;ll use:</p>
<pre>get_sidebar('right-2');</pre>
<h2>Syntax of get_sidebar()</h2>
<p>It&#8217;s that simple. The key to remember here is that, as commentator <a href="http://www.kamruti.net/" rel="nofollow">Rakeshkumar Mehta</a> points out, the get_sidebar function prepends &#8220;sidebar- to the argument you feed it, so all your sidebar files should start with &#8220;sidebar-&#8221;. For example, to include a file named <span class="code">sidebar-newsidebar.php</span>, use <span class="code">get_sidebar(&#8216;newsidebar&#8217;)</span>, or to include a file named <span class="code">sidebar-my_right_sidebar.php</span>, use <span class="code">get_sidebar(&#8216;my_right_sidebar&#8217;)</span>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rlmseo.com/blog/multiple-wordpress-sidebars-with-get_sidebar/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Require Login for WordPress Pages</title>
		<link>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/</link>
		<comments>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 15:16:40 +0000</pubDate>
		<dc:creator>jcrens8392</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[log in]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[require authentication]]></category>
		<category><![CDATA[require login]]></category>
		<category><![CDATA[wp_die]]></category>

		<guid isPermaLink="false">http://www.rlmseo.com/?p=546</guid>
		<description><![CDATA[I recently worked on a project that required the ability to only allowed logged-in users access to a particular page. Here's how I got it done.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.rlmseo.com/wp-content/uploads/2009/10/wordpress-require-login.jpg" rel="wp-prettyPhoto[549]"><img class="aligncenter size-full wp-image-1260" title="WordPress Require Login" src="http://www.rlmseo.com/wp-content/uploads/2009/10/wordpress-require-login.jpg" alt="WordPress Require Login" width="553" height="174" /></a></p>
<p>By default, anyone can view a WordPress page and there are only a few obvious options to change that in the Write page panel. WordPress does afford you the ability to make pages and posts private or password-protected, but neither of those options accomplished what I needed for this particular project.<br />
<span id="more-549"></span></p>
<h2>Private Pages</h2>
<p>The problem with setting a page&#8217;s visibility to &#8220;Private&#8221; is that it is hidden from everyone except site editors and administrators. Private pages are hidden from all other registered users on your site, including not showing up in a pages list. I wanted my page to be visible in a list of pages (i.e. in the sidebar) to everyone who visited the site as well as in the main navigation. Then, when a user clicks to view the page I needed WordPress to check if that visitor was logged in and, if not, to display a notice that this page requires login. Because of these requirements, the &#8220;Private&#8221; visibility level didn&#8217;t suite my purpose.</p>
<h2>Password Protected Pages</h2>
<p>You can also password protect pages, but I didn&#8217;t want logged-in visitors to have to enter a password to view the page, so this option was out as well.</p>
<p>Unfortunately, there are no other options for protecting specific pages available in WordPress (without the use of a plugin) unless you&#8217;re willing to delve into the code a bit. That said, the task is a simple one and I&#8217;ll explain how I did it in the following tutorial.</p>
<h2>Create a new page template</h2>
<p>First of all, you can view an example of what we&#8217;ll accomplish in this tutorial at the homepage for the <a title="Visit the mortgage calculator plugin homepage" href="http://www.mortgagecalculatorplugin.com" target="_blank">WordPress Mortgage Calculator Plugin</a>. This is a site I helped develop with a friend of mine who is working on an Ajax-enabled mortgage calculator plugin for WordPress. Once at the site, click the &#8220;Download&#8221; menu item to see the effect in action.</p>
<ol>
<li>The first step in requiring users to log in to view a page is to create a new page template by making a copy of your existing page.php template. I named mine &#8220;page_loggedin.php&#8221;.</li>
<li>Once you&#8217;ve done that you need to add a name to the template so that WordPress can recognize it as a new page template. Open the new file and add the following to the top (the template name can be anything you want. This is what you&#8217;ll select within the WordPress admin when creating your new page) :
<pre>&lt;?php
/*
Template Name: Logged-In Users Page
*/
?&gt;</pre>
</li>
<li>Next you&#8217;ll need to add code to check if the user is logged in and, if not, to display an appropriate message to the user. So add this code just beneath the template name code we added in step 2:
<pre>&lt;?php if(is_user_logged_in()):?&gt;</pre>
</li>
<li>Now go to the very bottom of the file and add the following code. This will call the wp_die() function to halt WordPress execution and display a notice to the visitor that he/she needs to first log in to view this page.</li>
<li>
<pre>&lt;?php else:
wp_die(&#039;Sorry, you must first &lt;a href=&quot;/wp-login.php&quot;&gt;log in&lt;/a&gt; to view this page. You can &lt;a href=&quot;/wp-login.php?action=register&quot;&gt;register free here&lt;/a&gt;.&#039;);
endif;?&gt;</pre>
</li>
<li>Save that new page template and upload it to your server.</li>
<li>That&#8217;s all the code we have to write. Next, create your new page and under &#8220;Page template,&#8221; select the new page template we just created.</li>
<li>Save your new page and that&#8217;s it. That page will now appear in any pages lists just like any other page on your site, but when a user who is not logged in clicks through, he/she will receive a notice similar to this:</li>
</ol>
<div id="attachment_1261" class="wp-caption alignleft" style="width: 563px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/10/login-required-wordpress-message.jpg" rel="wp-prettyPhoto[549]"><img class="size-full wp-image-1261" title="Wordpress message that login is required" src="http://www.rlmseo.com/wp-content/uploads/2009/10/login-required-wordpress-message.jpg" alt="Wordpress message that login is required" width="553" height="98" /></a><p class="wp-caption-text">Example of the message you get when trying to view a protected page</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.rlmseo.com/blog/require-login-for-wordpress-pages/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Add a Favicon to your WordPress Blog</title>
		<link>http://www.rlmseo.com/blog/add-favicon-to-wordpress-blog/</link>
		<comments>http://www.rlmseo.com/blog/add-favicon-to-wordpress-blog/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 12:48:09 +0000</pubDate>
		<dc:creator>jcrens8392</dc:creator>
				<category><![CDATA[Styles & Design]]></category>
		<category><![CDATA[favicon]]></category>
		<category><![CDATA[shortcut icon]]></category>

		<guid isPermaLink="false">http://www.rlmseo.com/?p=514</guid>
		<description><![CDATA[One of the little personalization details I like to add to any site I work on is a Favicon, that little icon you see next to the address bar in your browser. Even though it's one of the simplest changes you can make, many sites leave out this small detail for whatever reason. Well, in this article I'm going to show you how to add a Favicon to your WordPress-powered site.]]></description>
			<content:encoded><![CDATA[<div id="attachment_1269" class="wp-caption aligncenter" style="width: 563px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/06/wordpress-favicon.jpg" rel="wp-prettyPhoto[514]"><img src="http://www.rlmseo.com/wp-content/uploads/2009/06/wordpress-favicon.jpg" alt="Example of a WordPress Favicon" title="WordPress Favicon" width="553" height="174" class="size-full wp-image-1269" /></a><p class="wp-caption-text">WordPress Favicon Example</p></div>
<h2>First create the image</h2>
<p>First of all, a favicon is really nothing more than a tiny png image with a .ico extension and sized to 16 pixels by 16 pixels (they can also be 32 by 32). So, the first thing you need to do is to create the image that you want to use; whatever you use, don&#8217;t make it too complex because small detail tend to get lost when resized to a tiny 16 by 16 pixels.</p>
<p>For example, on this site I used the little WordPress Hacker cartoon that sneakily peaks at you over the top of every page. I originally started to use the entire cartoon, hands and all, but that amount of detail turned out to be too much and you couldn&#8217;t quite tell what it was when resized to 16 by 16. So, I got rid of the hands and cropped the image to only include the top of the Hacker&#8217;s head with his trademark blonde mohawk.</p>
<p>If you want to draw your own favicon, <a href="http://www.favicon.cc">Favicon.cc has a cool tool</a> that lets you draw your own icon while the Favicon in the browser updates in real time to reflect your changes. It&#8217;ll even let you create animated favicons frame by frame. If you use this tool you can skip the next step as the tool will handle the conversion to .ico as well.</p>
<h2>Next, convert your favicon to .ico format</h2>
<p>Modern web browsers will generally let you get away with using a gif, png, or even a jpeg for your favicon, but to be compatible with older version of internet explorer, you&#8217;ll have to convert the image to .ico format.</p>
<p>In order to do that, you can also use the <a href="http://www.favicon.cc">Favicon.cc</a> website, only this time, click the &#8220;Import Image&#8221; button on the left side of the page and upload your image. The tool will convert your image to .ico format and let you download the final product.</p>
<h2>Finally, add the favicon to your site</h2>
<p>By default, most browsers will look for a favicon in your site&#8217;s root directory named <strong><em>favicon.ico</em></strong>. If you don&#8217;t have any problem with that, just upload the file to your site&#8217;s root directory, make sure it&#8217;s named <strong><em>favicon.ico</em></strong>, and you should be all set. Keep in mind, this file is cached by your browser, so you may not see it until you clear your cache&#8230;incidentally, I&#8217;ve also had issues with the favicon showing up even after clearing my cache, but that problem usually resolves itself within a few hours. If the icon isn&#8217;t recognized by default, you can follow the next step to be sure it gets picked up.</p>
<p>Now, what if you&#8217;re like me and want to keep your favicon with your WordPress theme files, or maybe your favicon isn&#8217;t being detected by your browser for some reason? In these cases, we need to tell the world where our favicon is. To do this you need to open up your theme file containing the site&#8217;s &lt;head&gt;&lt;/head&gt; section&#8230;in my case that&#8217;s <em><strong>header.php</strong></em>.</p>
<p>Then, assuming you save your favicon.ico file in your theme directory, add the following anywhere between the &lt;head&gt;&lt;/head&gt; tags.</p>
<pre>&lt;link rel=&quot;shortcut icon&quot; href=&quot;&lt;?php bloginfo(&#039;template_url&#039;); ?&gt;/favicon.ico&quot; /&gt;</pre>
<p>If you save your favicon.ico somewhere else, you&#8217;ll have to adjust the <em><strong>href</strong></em> attribute appropriately.</p>
<p>Make sure you clear your browser&#8217;s cache after making the change.</p>
<h2>Final words of advice</h2>
<p>If you save your favicon in a location other than your site&#8217;s root directory, you&#8217;ll have to add the above link to the short icon file inside the &lt;head&gt;&lt;/head&gt; tags of every page on the site. For most WordPress installs, this isn&#8217;t a problem since there is usually one header.php file containing the &lt;head&gt;&lt;/head&gt; tags that gets called on every page. Just keep that in mind, however, if you&#8217;ve got a different setup.</p>
<p>Also, along those same lines, you probably won&#8217;t see the favicon when you log into the WordPress admin because the admin uses a different header that your theme, so you either have to also add the link to your favicon to the admin head section or just put the favicon in your site&#8217;s root directory.</p>
<p>Personally, I like to save the favicon with my theme files and just copy it to the site&#8217;s root directory as well. This allows me to maintain the portability of my theme and I can easily move it to another server if need be without the risk of leaving my trusty favicon behind. Then, on the new server I&#8217;d just copy the favicon to the new site root. That also prevents the need to edit the core header files.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rlmseo.com/blog/add-favicon-to-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Using a Static Homepage for Your WordPress Blog</title>
		<link>http://www.rlmseo.com/blog/wordpress-static-homepage/</link>
		<comments>http://www.rlmseo.com/blog/wordpress-static-homepage/#comments</comments>
		<pubDate>Wed, 27 May 2009 10:12:02 +0000</pubDate>
		<dc:creator>jcrens8392</dc:creator>
				<category><![CDATA[Pages]]></category>
		<category><![CDATA[front page]]></category>
		<category><![CDATA[frontpage]]></category>
		<category><![CDATA[home page]]></category>
		<category><![CDATA[homepage]]></category>
		<category><![CDATA[static]]></category>

		<guid isPermaLink="false">http://www.rlmseo.com/?p=470</guid>
		<description><![CDATA[In this tutorial I take you through the fairly simple process of setting a static homepage for your WordPress site and moving the blog page to another location, like /blog/.]]></description>
			<content:encoded><![CDATA[<p>WordPress is a great platform for displaying blog-style content that continuously rotates on the front page, with new content pushing older content down and, eventually, off to another (rarely, if ever seen) page. This is great for bloggers, but not so good for those who don&#8217;t want a blog as their homepage, which happens to be just about every single one of my clients. In fact, most of my clients want an entire site in addition to the blog run through WordPress, which is a whole other tutorial entirely.</p>
<p>What we&#8217;re going to cover here is setting a static homepage and moving the blog page to a directory like /blog/.</p>
<p>This task isn&#8217;t too difficult, although, depending on how you set it up, it can be confusing as hell, so I&#8217;ll walk you through the simple way of getting it done. So let&#8217;s git &#8216;er done&#8230;Yeeehaw!</p>
<h2>Setting up the Static Homepage</h2>
<p><em>*All file references are to your theme files</em></p>
<ol>
<li>First, back up your theme directory so you can roll back any changes if something goes awry.</li>
<li>Next, create a new file in your theme directory called homepage.php</li>
<li>Then open page.php and copy everything in it and paste it in the newly created homepage.php</li>
<li>At the very top of the newly created homepage.php file, add the following code:
<pre>&lt;?php
/*
Template Name: Homepage
*/
?&gt;</pre>
<div id="attachment_1278" class="wp-caption aligncenter" style="width: 369px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/05/wordpress-static-front-page-template.png" rel="wp-prettyPhoto[470]"><img src="http://www.rlmseo.com/wp-content/uploads/2009/05/wordpress-static-front-page-template.png" alt="WordPress Static Homepage Template Screenshot" title="WordPress Static Homepage Template" width="359" height="219" class="size-full wp-image-1278" /></a><p class="wp-caption-text">WordPress Static Homepage Template</p></div></li>
<li>Save homepage.php</li>
<li>Next, log in to WordPress and create a new page. Name it whatever you want&#8230;I named mine Homepage.
<div id="attachment_1281" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/05/creating-the-static-homepage1.jpg" rel="wp-prettyPhoto[470]"><img src="http://www.rlmseo.com/wp-content/uploads/2009/05/creating-the-static-homepage1.jpg" alt="Creating the static front page" title="Creating the static front page" width="450" height="290" class="size-full wp-image-1281" /></a><p class="wp-caption-text">Creating the static front page</p></div></li>
<li>While creating the page, change it&#8217;s <em><strong>Page Template</strong></em>to &#8220;Homepage.&#8221;
<div id="attachment_1283" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/05/selecting-home-page-template.png" rel="wp-prettyPhoto[470]"><img src="http://www.rlmseo.com/wp-content/uploads/2009/05/selecting-home-page-template.png" alt="Selecting the home page template" title="Selecting a page template in WordPress" width="450" height="256" class="size-full wp-image-1283" /></a><p class="wp-caption-text">Selecting the home page template</p></div></li>
<li>Finish creating the page just like you would any other and then publish it.</li>
<li>Next, navigate to <strong>Settings &gt; Reading </strong>in the WordPress admin.</li>
<li>Now, under the <strong>Front Page Displays</strong>section, mark &#8220;A static page&#8221;, and select &#8220;Homepage&#8221; from the first dropdown. Leave the second dropdown alone for now.
<div id="attachment_1285" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/05/setting-static-homepage-settings-wordpress.jpg" rel="wp-prettyPhoto[470]"><img src="http://www.rlmseo.com/wp-content/uploads/2009/05/setting-static-homepage-settings-wordpress.jpg" alt="Setting the static front page settings" title="Setting the static front page settings in WordPress" width="450" height="243" class="size-full wp-image-1285" /></a><p class="wp-caption-text">Setting the static front page settings</p></div></li>
<li>Click save changes and visit your blog homepage. You should see the newly created page as the homepage instead of the standard post loop.</li>
</ol>
<p>So now we&#8217;ve got a static homepage, but our blog page is gone&#8230;that&#8217;s ok, we&#8217;re going to turn that back on and place it at the url, http://www.yourdomain.com/blog/.</p>
<p>Before we get started, make sure you have the pretty permalinks enabled, otherwise, your blog page won&#8217;t be at /blog/, but /?p=43 or something like that.</p>
<h2>Setting up the New Blog Page</h2>
<ol>
<li>This is pretty simple. First, in the WordPress admin, create a new page and name it &#8220;Blog.&#8221; Don&#8217;t add any content or anything&#8230;all you really need is a title and to make sure that the page slug is &#8220;blog.&#8221;
<div id="attachment_1286" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/05/new-wordpress-blog-page.jpg" rel="wp-prettyPhoto[470]"><img src="http://www.rlmseo.com/wp-content/uploads/2009/05/new-wordpress-blog-page.jpg" alt="Creating the blog page" title="Creating the blog page in WordPress" width="450" height="262" class="size-full wp-image-1286" /></a><p class="wp-caption-text">Creating the blog page</p></div></li>
<li>Publish that new page.</li>
<li>Go back to <strong>Settings &gt; Reading</strong> in the WordPress admin and under the <strong>Front Page Displays </strong>section, in the second dropdown labeled &#8220;Posts page,&#8221; select &#8220;Blog.&#8221;
<div id="attachment_1287" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/05/setting-the-posts-page-in-wordpress.jpg" rel="wp-prettyPhoto[470]"><img src="http://www.rlmseo.com/wp-content/uploads/2009/05/setting-the-posts-page-in-wordpress.jpg" alt="Setting the blog page settings" title="Setting the posts page in WordPress" width="450" height="262" class="size-full wp-image-1287" /></a><p class="wp-caption-text">Setting the blog page settings</p></div></li>
<li>Save changes.</li>
<li>Delete cache if you&#8217;re using a caching plugin.</li>
<li>Visit your homepage and make sure it&#8217;s still there.</li>
<li>Now visit http://www.yourdomain.com/blog/ and check out the blog page.</li>
</ol>
<h2>Some Things to Remember</h2>
<p>When you go into <strong>Settings &gt; Reading</strong> and set the &#8220;Blog page&#8221; to a particular page on your blog, WordPress automatically pulls the index.php file and uses that to display the content on that page, which is why we didn&#8217;t have to create a new template or anything for the blog page like we had to for the homepage.</p>
<p>Also, you can name those templates and page files whatever you want (I&#8217;d avoid home.php for the homepage file though as this will interfere with WP v2.1 and earlier). Just remember the name of the page template that you added to the top of the homepage.php file so you can select that as the page template when creating the homepage in the WordPress admin.</p>
<p>Also remember the actual titles you gave the home and blog pages when creating them in the WordPress admin so you can select the proper pages in the <strong>Settings &gt; Reading</strong> section.</p>
<p>And finally, whatever page slug you give your blog page when creating it in the WordPress admin is the URL by which you&#8217;ll access it (assuming you&#8217;re using pretty permalinks). So, if you end up giving your blog page a page slug of &#8220;blog-home&#8221;, you&#8217;ll have to access your blog page at the url: http://www.yourdomain.com/blog-home/.</p>
<p>That should do it. Happy blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rlmseo.com/blog/wordpress-static-homepage/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Remove &#8220;Briefly Unavailable for Scheduled Maintenance&#8221; Message</title>
		<link>http://www.rlmseo.com/blog/briefly-unavailable-for-scheduled-maintenance/</link>
		<comments>http://www.rlmseo.com/blog/briefly-unavailable-for-scheduled-maintenance/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 18:32:40 +0000</pubDate>
		<dc:creator>jcrens8392</dc:creator>
				<category><![CDATA[Wordpress Errors]]></category>
		<category><![CDATA[automatic upgrade]]></category>
		<category><![CDATA[maintenance]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[upgrade failure]]></category>

		<guid isPermaLink="false">http://www.rlmseo.com/?p=331</guid>
		<description><![CDATA[If you've run into a message that says "Briefly unavailable for scheduled maintenance" while upgrading your blog, it can be a bit worrisome until you realize how easy it is to fix. In this tutorial I show you the simple way to remove this message and restore access to your blog.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.rlmseo.com/wp-content/uploads/2009/02/briefly-unavailable-for-scheduled-maintenance.jpg" alt="Briefly Unavailable for Scheduled Maintenance" title="Briefly Unavailable for Scheduled Maintenance" width="553" height="174" class="aligncenter size-full wp-image-1339" /></p>
<p>If you&#8217;ve been keeping on top of your WordPress updates using the automatic upgrade feature, you may have run into a problem immediately after upgrading. A message that prevents access to any page on your blog, <strong>&#8220;Briefly unavailable for scheduled maintenance. Check back in a minute&#8221;</strong>. Even if you&#8217;ve already completed the upgrade, this message could still appear. It&#8217;s not a fun situation and, admittedly, I freaked out the first time I ran into that problem. Fortunately, your life as you know it isn&#8217;t over&#8230;there is salvation ahead, and it&#8217;s brain-dead simple.</p>
<h2>Cause of the Maintenance Message</h2>
<p>During an automatic upgrade, WordPress places a file in the blog root directory called &#8220;.maintenance&#8221; to prevent visitors from being confronted with ugly, broken pages during the upgrade process. That&#8217;s a great little built-in feature, but if the upgrade gets interrupted or fails for any reason, that file doesn&#8217;t get deleted and nobody, including you, can access your blog. No worries, this is (most likely) the simplest fix on Earth.</p>
<h2>Removing the Maintenance Message</h2>
<p>All you have to do is delete the .maintenance file from the blog root directory. Simple as it gets. After you&#8217;ve deleted the files you should be able to access the site just fine, but you may have to run the automatic upgrade again. How do you know if you should run it again? You&#8217;ll see a notification on the dashboard page that a new version of WordPress is available&#8230;same as you always see when a new upgrade is available. If you don&#8217;t see that message, you&#8217;re good to go.</p>
<p>Of course, this fix assumes the blog upgrade failure was really just a one-time occurence and not a symptom of a larger problem. If you&#8217;ve deleted the file and the automatic upgrade continues to fail, you&#8217;ve probably got a larger issue at hand, and that&#8217;s a topic far too long to cover in this article.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rlmseo.com/blog/briefly-unavailable-for-scheduled-maintenance/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>How to Recover Deleted Posts Using Firefox Cache</title>
		<link>http://www.rlmseo.com/blog/recover-deleted-posts-using-firefox-cache/</link>
		<comments>http://www.rlmseo.com/blog/recover-deleted-posts-using-firefox-cache/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 14:00:22 +0000</pubDate>
		<dc:creator>jcrens8392</dc:creator>
				<category><![CDATA[Data Recovery & Backup]]></category>
		<category><![CDATA[data recovery]]></category>
		<category><![CDATA[deleted post]]></category>
		<category><![CDATA[recover lost post]]></category>

		<guid isPermaLink="false">http://www.rlmseo.com/?p=356</guid>
		<description><![CDATA[If you've been running a WordPress site for any time at all, and are as clumsy as I am sometimes, you've probably deleted a post or two by accident, or maybe WordPress deleted it for you unintentionally. While I love writing here, writing something twice because you deleted the first copy is a major chore - we've all had to redo work that was already done and, whatever the reason, it's frustrating. Here's how I recovered a post that got deleted almost immediately after I published it.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.rlmseo.com/wp-content/uploads/2009/01/Worried-Kid.jpg" alt="Worried Kid" title="Worried Kid" width="553" height="174" class="aligncenter size-full wp-image-1341" /></p>
<h2>Two post recovery methods</h2>
<p>So, the other day I deleted a post almost immediately after publishing it (although I&#8217;m convinced it was WordPress&#8217; fault and not mine <img src='http://www.rlmseo.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  ). In the past I&#8217;ve been able to recover deleted posts using Archive.org, but that only works if the post has been published for long enough to be archived by Archive.org. If Google&#8217;s had time to index the post, I can search for it by title and site using the &#8220;site:sitename.com: post title&#8221; syntax, and clicking on the &#8220;Cached&#8221; link to pull up the copy of the page Google has cached on it&#8217;s servers as you can see below.</p>
<div id="attachment_1342" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/01/google-title-search.gif" rel="wp-prettyPhoto[356]"><img src="http://www.rlmseo.com/wp-content/uploads/2009/01/google-title-search.gif" alt="Google Title Search to Recover Deleted WordPress Posts" title="Google Title Search to Recover Deleted WordPress Posts" width="500" height="143" class="size-full wp-image-1342" /></a><p class="wp-caption-text">Checking Google&#039;s cache for a copy of the deleted post</p></div>
<p>Then I can just copy the text and republish the post. But again, this post was deleted almost immediately after publishing, so I had to find a different way.</p>
<h2>Using the Firefox Cache to Recover a Post</h2>
<p>Then it dawned on me that I had visited the post a few times while writing it and then once again after publishing, but before it got deleted, so Firefox would certainly have it cached&#8230;but how do I recover the post from the cache? Here&#8217;s how I did it.</p>
<ol>
<li>I did a little searching and discovered you can access the Firefox cache by going to the address bar and typing &#8220;about:cache&#8221; without the quotes.</li>
<li>You should see three sections as shown here:</li>
<div id="attachment_1343" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/01/firefox-cache.gif" rel="wp-prettyPhoto[356]"><img src="http://www.rlmseo.com/wp-content/uploads/2009/01/firefox-cache.gif" alt="Firefox cache to recover deleted WordPress post" title="Firefox cache to recover deleted WordPress post" width="500" height="553" class="size-full wp-image-1343" /></a><p class="wp-caption-text">Viewing the Firefox Cache (about:cache)</p></div>
<li>You may need to search all three sections, but lets start with &#8220;Memory cache device&#8221; &#8211; click on the &#8220;List Cache Entries&#8221; link in that section</li>
<li>After that you&#8217;ll be faced with a [probably] huge list of all the URLs saved in the Firefox memory cache. Hit <span class="code">Ctrl + F</span> and type the post slug you gave your original post. Here&#8217;s mine after searching for &#8220;top-wordpress-plugins&#8221;:</li>
<div id="attachment_1344" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/01/firefox-cache-search.gif" rel="wp-prettyPhoto[356]"><img src="http://www.rlmseo.com/wp-content/uploads/2009/01/firefox-cache-search.gif" alt="Firefox cache search to recover deleted posts" title="Firefox cache search to recover deleted posts" width="500" height="349" class="size-full wp-image-1344" /></a><p class="wp-caption-text">Searching the cache for &quot;top-wordpress-plugins&quot;</p></div>
<li>Once you&#8217;ve found the post, click on the URL and you&#8217;ll see another page full of what appears to be quite a bit of gibberish. Copy and paste the entire section, starting with what you see outlined in red below, into your text editor of choice, preferably one with Regular Expression search and replace functionality (take note of the right side of the image &#8211; it&#8217;s the HTML code for the page we&#8217;re looking to recover):</li>
<div id="attachment_1345" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/01/firefox-disk-cache.gif" rel="wp-prettyPhoto[356]"><img src="http://www.rlmseo.com/wp-content/uploads/2009/01/firefox-disk-cache.gif" alt="Firefox disk cache" title="Firefox disk cache" width="500" height="227" class="size-full wp-image-1345" /></a><p class="wp-caption-text">Firefox cache gives us HTML code + a bunch of stuff we don&#39;t need</p></div>
<li>Once you&#8217;ve got all that into your favorite text editor, you just need to get rid of all the extra stuff aside from your post content. I found it easiest to do this using Dreamweaver&#8217;s regular expression search and replace. I&#8217;m using Dreamweaver&#8217;s tool because other REGEX search and replace tools I&#8217;ve used just don&#8217;t seem to work right for me. Here&#8217;s the expression I used, which you can also see in the photo below: <span class="code">[0-9a-z]{8}:s*?([0-9a-z]{2}s*?){16}s</span></li>
<div id="attachment_1347" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/01/dreamweaver-regular-expression.gif" rel="wp-prettyPhoto[356]"><img src="http://www.rlmseo.com/wp-content/uploads/2009/01/dreamweaver-regular-expression.gif" alt="Dreamweaver regular expressions to clean up recovered post" title="Dreamweaver regular expressions to clean up recovered post" width="500" height="280" class="size-full wp-image-1347" /></a><p class="wp-caption-text">Using Dreamweaver&#39;s regular expression search and replace to clean up the recovered post</p></div>
<li>That allowed me to get rid of all the extraneous characters, but I was still left with my post HTML in a narrow column down the page, so I needed to fix that&#8230;I used another regular expression to get rid of all the extra line breaks, but I had to go into the code view to get this done (did I mention the last REGEX was run in Design view?). This time it looked like this: <span class="code">&lt;br /&gt;</span><img src="file:///C:/Users/Crenshaw/AppData/Local/Temp/moz-screenshot.jpg" alt="" /><img src="file:///C:/Users/Crenshaw/AppData/Local/Temp/moz-screenshot-1.jpg" alt="" /></li>
<div id="attachment_1348" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.rlmseo.com/wp-content/uploads/2009/01/dreamweaver-search-and-replace.gif" rel="wp-prettyPhoto[356]"><img src="http://www.rlmseo.com/wp-content/uploads/2009/01/dreamweaver-search-and-replace.gif" alt="Dreamweaver search and replace to clean up line breaks" title="Dreamweaver search and replace to clean up line breaks" width="500" height="262" class="size-full wp-image-1348" /></a><p class="wp-caption-text">Removing the  &lt;br /&gt; tags</p></div>
<li>Once that was done I ended up with the HTML code for my post nice and clean &#8211; albeit on one long wrapped line. From there I just found the post content, copied it, and then pasted it into the HTML editor for a new WordPress post.</li>
<li>And that&#8217;s it. It wasn&#8217;t easy, but at least I didn&#8217;t have to rewrite the entire post.</li>
</ol>
<h2>Conclusion</h2>
<p>Is this the easiest method of recovering a post? Absolutely not! In fact, its a major hassle, and it&#8217;s certainly a last resort, but it&#8217;s better than rewriting that entire post you just spent a few hours on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rlmseo.com/blog/recover-deleted-posts-using-firefox-cache/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Update on Get Some! v1.4 and This Just In! v2.4 Release Date</title>
		<link>http://www.rlmseo.com/blog/wordpress-theme-release-dates/</link>
		<comments>http://www.rlmseo.com/blog/wordpress-theme-release-dates/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 21:54:49 +0000</pubDate>
		<dc:creator>jcrens8392</dc:creator>
				<category><![CDATA[Free WordPress Themes]]></category>
		<category><![CDATA[Get Some!]]></category>
		<category><![CDATA[This Just In!]]></category>

		<guid isPermaLink="false">http://www.rlmseo.com/?p=368</guid>
		<description><![CDATA[I know WordPress 2.7 has been out for a bit now and I&#8217;ve yet to release the newest versions of my Get Some! and This Just In! WordPress themes. The themes are finished and have been submitted for approval to the WordPress theme repository. Unfortunately, the approval [...]]]></description>
			<content:encoded><![CDATA[<p>I know WordPress 2.7 has been out for a bit now and I&#8217;ve yet to release the newest versions of my Get Some! and This Just In! WordPress themes. The themes are finished and have been submitted for approval to the WordPress theme repository. Unfortunately, the approval process takes a week or so &#8211; well, it did last time I submitted themes for approval, it could be a bit longer by now &#8211; so they&#8217;ll be ready for download as soon as they&#8217;re approved.</p>
<p>Why can&#8217;t I just post the new theme files for download here? Good question. I did that for the last release, but it only caused problems because I ended up with several versions out there, which turns out to be a tracking nightmare. Also, the WordPress.org has some specific requirements to get themes approved and it&#8217;s always possible to miss a thing or two, at which point you have to go back and make changes, increment the version number, and re-submit. So, I don&#8217;t want to release versions 1.4 and 2.4 only to have WordPress.org reject my submission, make corrrections, increment the version number, and then end up with four versions of the two themes out there that are all nearly identical. Again, tracking nightmare.</p>
<p>So, please be patient until those get approved. In the meantime, check out the changelogs for each theme below to see what&#8217;s new!</p>
<h3><span id="more-368"></span>This Just In! v2.4 Changelog:</h3>
<pre>CHANGELOG - v2.4:
#[FIXED] - wrapped masthead in div and edited #masthead and h2#tagline styles to prevent things looking strange when the masthead and tagline take up more than 1 line
#[ADDED] - added &lt;br /&gt; before tags are output so they appear on new line
#[ADDED] - added background color and border to .wp-caption for image captions
#[REMOVED] - removed bottom border from p.wp-caption-text to prevent duplicate bottom border after .wp-caption border
#[CHANGED] - updated spacing and sizing on heading elements
#[CHANGED] - shrunk caption text from .8em to .7em and changed color to #777 to further differentiate captions from regular text
#[CHANGED] - updated pre and code tags
#[ADDED] - added default table styles
#[FIXED] - added bottom margin to first-level sidebar list items
#[FIXED] - added overflow: hidden; to #nav_menu selector to prevent nav tabs overflowing container at certain browser zoom levels
#[FIXED] - added !important to .aligncenter selector's margin-left and margin-right properties to fix problem with images in posts not aligning to center
#[CHANGED] - changed small.attr display property to block and margin-top property to -5px to tuck it in closer to headings
#[ADDED] - added styles for abbr, acronym, and pre selectors
#[ADDED] - added span.code selector for inline code styling
#[ADDED] - added &lt;?php post_class(); ?&gt; to post elements in loop on all templates for WordPress v2.7 post class support
#[ADDED] - added image.php template
#[ADDED] - added links.php template
#[ADDED] - added support for comment threading:
            - renamed comments.php to legacy.comments.php and created new comments.php file
            - added filter in functions.php to check if fancy comments function exists and display correct comments file
            - added &quot;if ( is_singular() ) wp_enqueue_script( 'comment-reply' );&quot; to header to support javascript functionality in comments
            - added &lt;?php comment_id_fields(); ?&gt; before &lt;/form&gt; in comments
            - wrapped comment form in div id=&quot;respond&quot;
            - replaced &lt;h3 id=&quot;respond&quot;&gt;Leave a Comment&lt;/h3&gt; with &lt;?php comment_form_title( 'Leave a Comment', 'Reply to %s' ); ?&gt;
            - added &lt;div id=&quot;cancel-comment-reply&quot;&gt;&lt;small&gt;&lt; ?php cancel_comment_reply_link() ?&gt;&lt;/small&gt;&lt;/div&gt; just below that to show the cancel leave a comment button
#[CHANGED] - changed password protection check at top of comments file</pre>
<h3>Get Some! v1.4 Changelog:</h3>
<pre>CHANGELOG - v1.4:
#[FIXED] - fixed background image so it resized on shorter pages
#[FIXED] - edit header blog title and tagline to scale better
#[ADDED] - added &lt;br /&gt; before tags are output so they appear on new line
#[ADDED] - added background color and border to .wp-caption for image captions
#[REMOVED] - removed bottom border from p.wp-caption-text to prevent duplicate bottom border after .wp-caption border
#[CHANGED] - shrunk caption text from .8em to .7em and changed color to #777 to further differentiate captions from regular text
#[CHANGED] - updated pre and code tags
#[ADDED] - added default table styles
#[FIXED] - added bottom margin to first-level sidebar list items and fixed sidebar link spacing issue
#[FIXED] - added !important to .aligncenter selector's margin-left and margin-right properties to fix problem with images in posts not aligning to center
#[CHANGED] - changed small.attr display property to block and margin-top property to -2px to tuck it in closer to headings
#[ADDED] - added styles for abbr, acronym, and pre selectors
#[ADDED] - added span.code selector for inline code styling
#[CHANGED] - edited sizing on h1 and h2 tags
#[ADDED] - added conditional &lt;?php post_class(); ?&gt; in loop on all templates for v2.7 only (still supports old method)
#[ADDED] - added image.php template
#[ADDED] - added links.php template
#[CHANGED] - renamed comments.php to legacy.comments.php (legacy.comments.php will be called for version prior to 2.7)
#[ADDED] - added filter in functions.php to check if fancy comments function exists and display correct comments file
#[CHANGED] - changed password protection check at top of comments file
#[ADDED] - added &quot;if ( is_singular() ) wp_enqueue_script( 'comment-reply' );&quot; to header to support javascript functionality in comments
#[ADDED] - added &lt;?php comment_id_fields(); ?&gt; before &lt;/form&gt; in comments
#[ADDED] - wrapped comment form in div id=&quot;respond&quot;
#[ADDED] - replaced &lt;h3 id=&quot;respond&quot;&gt;Leave a Comment&lt;/h3&gt; with &lt;?php comment_form_title( 'Leave a Comment', 'Reply to %s' ); ?&gt;
#[ADDED] - added &lt;div id=&quot;cancel-comment-reply&quot;&gt;&lt;small&gt;&lt; ?php cancel_comment_reply_link() ?&gt;&lt;/small&gt;&lt;/div&gt; form threaded comment cancel button
#[ADDED] - added threaded comment support</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.rlmseo.com/blog/wordpress-theme-release-dates/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WordPress Themes Dumped from Theme Repository</title>
		<link>http://www.rlmseo.com/blog/themes-removed-from-repository/</link>
		<comments>http://www.rlmseo.com/blog/themes-removed-from-repository/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 14:15:32 +0000</pubDate>
		<dc:creator>jcrens8392</dc:creator>
				<category><![CDATA[WordPress News]]></category>
		<category><![CDATA[Free WordPress Themes]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[premium themes]]></category>

		<guid isPermaLink="false">http://www.rlmseo.com/?p=350</guid>
		<description><![CDATA[Roughly 200 WordPress themes were removed from the WordPress theme repository. Apparently, WordPress will no longer approve themes with links to sites that sell other themes&#8230;even if the submitted theme is completely free. More here.]]></description>
			<content:encoded><![CDATA[<p>Roughly 200 WordPress themes were removed from the WordPress theme repository. Apparently, WordPress will no longer approve themes with links to sites that sell other themes&#8230;even if the submitted theme is completely free. <a title="WordPress themes removed" href="http://www.jeffro2pt0.com/why-were-200-wordpress-themes-removed">More here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rlmseo.com/blog/themes-removed-from-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.7 Released</title>
		<link>http://www.rlmseo.com/blog/wordpress-27-released/</link>
		<comments>http://www.rlmseo.com/blog/wordpress-27-released/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 17:57:36 +0000</pubDate>
		<dc:creator>jcrens8392</dc:creator>
				<category><![CDATA[WordPress News]]></category>
		<category><![CDATA[screenshots]]></category>
		<category><![CDATA[This Just In!]]></category>
		<category><![CDATA[WordPress 2.7]]></category>

		<guid isPermaLink="false">http://www.rlmseo.com/?p=348</guid>
		<description><![CDATA[WordPress 2.7 was released to self-hosted users today. The new version represents quite a change in the general layout of the admin screens, although, once you find your way around, other than a few added features, it really isn&#8217;t that different. One of the best additions, in [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress 2.7 was released to self-hosted users today. The new version represents quite a change in the general layout of the admin screens, although, once you find your way around, other than a few added features, it really isn&#8217;t that different.</p>
<p>One of the best additions, in my humble opinion, is the integration of automatic upgrade into the core. In previous versions, even with the great<a title="Automatic Upgrade" href="http://wordpress.org/extend/plugins/wordpress-automatic-upgrade/"> Automatic Upgrade Plugin</a>, the upgrade process wasn&#8217;t exactly automatic and required a good deal of human interaction. That gets to be a major hassle when you&#8217;ve got multiple installs of WordPress and updates are released every few months. I was really pleased to see that this new version integrates truly automatic upgrade without the need for a plugin or any human interaction other than clicking &#8220;Upgrade Automatically&#8221;.</p>
<p>I posted screenshots recently of a beta release of 2.7, which looks nearly identical to the final release. You can check out those <a title="WordPress 2.7 Screenshots" href="http://www.rlmseo.com/blog/wordpress-27-screenshots-and-wireframes/">WordPress 2.7 screenshots here</a>. You can download the new <a href="http://wordpress.org/download/">WordPress version 2.7</a> here.</p>
<p>Also, if you&#8217;re currently using either of my <a title="Free WordPress themes" href="http://www.rlmseo.com/blog/themes/">free WordPress themes</a>, I&#8217;m running behind on updating those. They should work just fine with 2.7, but I&#8217;m updating them to take advantage of some new features, as well as to clean up the code a bit. I&#8217;ll post an update as soon as I get those finished, which should be either today or tomorrow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rlmseo.com/blog/wordpress-27-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

