<?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>ActiveBlogging &#187; How To</title>
	<atom:link href="http://activeblogging.com/info/category/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://activeblogging.com</link>
	<description>The Knowledge You Need For The Blog You Want</description>
	<lastBuildDate>Tue, 01 May 2012 10:22: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 Add Fancy Nested Comments To Your WordPress Blog</title>
		<link>http://activeblogging.com/info/comment-nesting-for-old-blogs/</link>
		<comments>http://activeblogging.com/info/comment-nesting-for-old-blogs/#comments</comments>
		<pubDate>Sun, 25 Dec 2011 00:10:07 +0000</pubDate>
		<dc:creator>David Pankhurst</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://activeblogging.com/?p=2090</guid>
		<description><![CDATA[<p>I&#8217;m replying to comments on my UtopiaMechanicus.com website, and I&#8217;m thinking &#8211; &#8220;why don&#8217;t I see those fancy nested comments like elsewhere?&#8221; You know, the ones that allow you to reply directly under any comment, and then reply to that, and so on, instead of adding a reply to the very end, and hoping somebody figures out you were answering them? </p><p>First step is to use a newer theme &#8211; this feature was added around WP 2.7, so themes before that time simply won&#8217;t show nested comments. The good news ...</p>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m replying to comments on my <a href="http://UtopiaMechanicus.com">UtopiaMechanicus.com</a> website, and I&#8217;m thinking &#8211; &#8220;why don&#8217;t I see those fancy nested comments like elsewhere?&#8221; You know, the ones that allow you to reply directly under any comment, and then reply to that, and so on, instead of adding a reply to the very end, and hoping somebody figures out you were answering <strong>them</strong>?</p>
<p>First step is to use a newer theme &#8211; this feature was added around WP 2.7, so themes before that time simply won&#8217;t show nested comments. The good news is that if you&#8217;re using any recent theme you should be OK. And of course, if you&#8217;re using TwentyEleven, it IS built into it.</p>
<p>Fine &#8211; but you say love your current (yet very old) theme &#8211; what to do? Unfortunately, it requires some editing of the theme &#8211; check this <a href="http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7/Enhanced_Comment_Display" title="adding nested comments in PHP" target="_blank">WordPress site tutorial</a> for the code changes you (or someone you hire) will need to do.</p>
<p>One more thing: It turns out that if you have an old blog, you won&#8217;t automatically get that feature, even if you use a new theme. I was sweating over my theme wondering what went wrong when I stumbled upon the setting in Admin: <strong>Settings; Discussion;</strong> &#8220;Other comment settings&#8221; &#8211; then check the box in front of &#8220;Enable threaded (nested) comments&#8230;&#8221; (you can leave the level at 5 for now, and change it later if you need to). Save that, and with that one change, your comments will now be nested!</p>
]]></content:encoded>
			<wfw:commentRss>http://activeblogging.com/info/comment-nesting-for-old-blogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Fix The Top Gray Bar in the Twenty Eleven theme</title>
		<link>http://activeblogging.com/info/how-remove-2011-theme-top-grey-line/</link>
		<comments>http://activeblogging.com/info/how-remove-2011-theme-top-grey-line/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 13:53:19 +0000</pubDate>
		<dc:creator>David Pankhurst</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://activeblogging.com/?p=1955</guid>
		<description><![CDATA[<p>WordPress has a nice new theme, TwentyEleven, that I liked so much I&#8217;ve added it to some of my sites.  </p><p>However, one issue is that little gray bar that appears at the top. Normally it&#8217;s not a problem, but when I use the dark display (as I did on UtopiaMechanicus.com) it becomes quite visible. </p><p>If you have the same problem, here&#8217;s how to turn it off &#8211; just edit your style.css file for the theme, and look for this text: </p><p>#branding { </p><p>	border-top: 2px solid #bbb; </p><p>	padding-bottom: 10px; </p><p>	position: ...</p>]]></description>
			<content:encoded><![CDATA[<p>WordPress has a nice new theme, TwentyEleven, that I liked so much I&#8217;ve added it to <a href="http://BigBizBlog.com">some of my sites</a>. </p>
<p>However, one issue is that little gray bar that appears at the top. Normally it&#8217;s not a problem, but when I use the dark display (as I did on <a href="http://UtopiaMechanicus.com">UtopiaMechanicus.com</a>) it becomes quite visible.</p>
<p>If you have the same problem, here&#8217;s how to turn it off &#8211; just edit your style.css file for the theme, and look for this text:</p>
<pre>#branding {
	border-top: 2px solid #bbb;
	padding-bottom: 10px;
	position: relative;
	z-index: 2;
}</pre>
<p>Comment out (or delete) the border-top entry, like this:</p>
<pre>#branding {
	/* border-top: 2px solid #bbb; */
	padding-bottom: 10px;
	position: relative;
	z-index: 2;
}</pre>
<p>Then save the file back. From there, refresh your blog pages, and you&#8217;re good to go!</p>
]]></content:encoded>
			<wfw:commentRss>http://activeblogging.com/info/how-remove-2011-theme-top-grey-line/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Escape A Shortcode</title>
		<link>http://activeblogging.com/info/how-to-escape-a-shortcode/</link>
		<comments>http://activeblogging.com/info/how-to-escape-a-shortcode/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 14:28:03 +0000</pubDate>
		<dc:creator>David Pankhurst</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://activeblogging.com/?p=1932</guid>
		<description><![CDATA[<p>Shortcodes are little codes that plugin developers can use to add features, generally in the article text. For example, my post on syntax highlighting required custom shortcodes for language display (like &#91;c]). </p><p>Here&#8217;s the problem: since shortcodes are meant to DO something, how do you go about documenting them? </p><p>Well, one option is to use a double entry, like this: </p><p>&#91;&#91;c]] </p><p>WordPress understands that you are not using a shortcode, simply displaying it, and it will correct the issue, giving you the display of &#91;c], and no activating. </p><p>However, what if ...</p>]]></description>
			<content:encoded><![CDATA[<p>Shortcodes are little codes that plugin developers can use to add features, generally in the article text. For example, <a href="http://activeblogging.com/info/formatted-source-code-plugin/">my post on syntax highlighting</a> required custom shortcodes for language display (like &#91;c]).</p>
<p>Here&#8217;s the problem: since shortcodes are meant to DO something, how do you go about <em>documenting</em> them?</p>
<p>Well, one option is to use a double entry, like this:</p>
<p>&#91;&#91;c]]</p>
<p>WordPress understands that you are not using a shortcode, simply displaying it, and it will correct the issue, giving you the display of &#91;c], and no activating.</p>
<p>However, what if the relevant plugin is missing? In this case, if I tried to use the doubled code without the plugin active, I&#8217;d get both pairs of brackets &#8211; very messy.</p>
<p>So, plugin active, <strong>&#91;&#91;&#8230;]]</strong> works, plugin inactive, <strong>&#91;&#91;&#8230;]]</strong>  doesn&#8217;t work (and remember, that&#8217;s only for relevant plugins &#8211; if another plugin has another shortcode, then <em>that</em> plugin controls whether that shortcode displays right).</p>
<p>Of course, that&#8217;s annoying, and in fact there&#8217;s a few complaints about this feature in <a href="http://core.trac.wordpress.org/ticket/6518" target='_blank'>WordPress bug tracking</a>. But that doesn&#8217;t help us right now.</p>
<p>For example, <a href="http://activeblogging.com/info/formatted-source-code-plugin/">the last article</a> described how to use a specific group of shortcodes. But the plugin wasn&#8217;t set up on this blog. However, if I later set it up, all those code examples would become &#8216;live&#8217;, and I&#8217;d end up with accidentally formatted normal text.</p>
<p>The only solution so far? Use an HTML entity for the left bracket, <strong>&amp;#91;</strong></p>
<p>&amp;#91;c]just an example, no &#8216;working&#8217; here!&amp;#91;/c]</p>
<p>This breaks the shortcode scanning routine, preventing it from being used. Note that the one character is enough, you needn&#8217;t do it for the right bracket as well (but if you did, the code is &amp;#93;)</p>
]]></content:encoded>
			<wfw:commentRss>http://activeblogging.com/info/how-to-escape-a-shortcode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error 406, &#8220;An appropriate representation of the requested resource XXX could not be found&#8221;, WordPress, and The Fatal Image/&lt;img&gt; Tag</title>
		<link>http://activeblogging.com/info/406-error-wordpress/</link>
		<comments>http://activeblogging.com/info/406-error-wordpress/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 14:39:38 +0000</pubDate>
		<dc:creator>David Pankhurst</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://activeblogging.com/?p=1742</guid>
		<description><![CDATA[<p>Unable to save a WordPress post with an image in it? This happened to me, along with the 406 error "An appropriate representation of the requested resource could not be found". Here's how I fixed it, via MOD_SECURITY.</p>]]></description>
			<content:encoded><![CDATA[<p>I recently did some work for a client, and it was a stumper.</p>
<p>As the post title suggests, I had encountered a <strong>406</strong> error in working on a WordPress blog (otherwise known as &#8220;<strong>An appropriate representation of the requested resource XXX could not be found</strong>&#8220;) &#8211; but the error was extremely odd and a real pain to troubleshoot.</p>
<p>First off, this error message didn&#8217;t appear right away. In fact, the only problem was that the client couldn&#8217;t include images in his WordPress posts anymore. Trying to save/publish the post simply sent him to a blog page!</p>
<p>It took quite a bit of fiddling, but eventually the problem was found: the &#8220;<strong>http://</strong>&#8221; in the  <strong>&lt;img&gt;</strong> tag&#8217;s image URL was not working &#8211; leave it off, or use something like &#8220;<strong>https://</strong>&#8221; instead, and it saved the post fine (but of course wouldn&#8217;t display right).</p>
<p>The next step was to see what was causing it. I turned on the default theme, turned off all plugins, and tried again. Still no go &#8211; the file wouldn&#8217;t save, but went to a blog page.</p>
<p>Try again: this time I reset the permalinks from the usual text to the default setting (the <strong>?p=XXX</strong> posts version). I also renamed <strong>.htaccess</strong> so it wouldn&#8217;t be influencing the blog at all. Still, no way to save the post when &#8220;<strong>http://</strong>&#8221; appeared in it. Not only that, but I now found I couldn&#8217;t set the permalinks back either! That is, trying to reenter</p>
<p><code>/%category%/%postname%/</code></p>
<p>back into the permalinks also sent me to a blog web page.</p>
<p>By now I was getting annoyed. Time to check the PHP settings via <strong>phpinfo()</strong>, using two variations:</p>
<p><code>&lt;?php phpinfo(); ?&gt;</code></p>
<p>and</p>
<p><code>&lt;?php phpinfo(INFO_MODULES); ?&gt;</code></p>
<p>(The former gives the PHP settings; the latter, the modules loaded in. To use, just create a file for each, upload, and then call via your browser. Be sure to remove them from your site after, as they leak a lot of information you don&#8217;t want passed around).</p>
<p>At this point, I was looking for something outside of the WordPress blog; a setting/module called <strong>MOD_SECURITY</strong>, which is a filter on data passed to the website. No dice, and no setting.</p>
<p>Unfortunately, no setting visible doesn&#8217;t mean <strong>MOD_SECURITY</strong> is not there (in fact, that turned to to be the case). But because I couldn&#8217;t access it, I couldn&#8217;t use the usual troubleshooting methods of editing <strong>.htaccess</strong></p>
<p>For example, you can usually add this to the top of your <strong>.htaccess</strong> file to turn off <strong>MOD_SECURITY</strong>:</p>
<p><code><br />
&lt;IfModule mod_security.c&gt;<br />
SecFilterEngine Off<br />
&lt;/IfModule&gt;<br />
</code></p>
<p>For the most safety, you can selectively turn off <strong>MOD_SECURITY</strong> just within the <strong>/wp_admin/</strong> section, by creating an <strong>.htaccess </strong>file there and including those lines. Alternately, for either location you can use these entries to turn off only <strong>POST</strong> filtering:</p>
<p><code><br />
&lt;IfModule mod_security.c&gt;<br />
SecFilterScanPOST Off<br />
&lt;/IfModule&gt;<br />
</code></p>
<p>By just turning off the POST filtering, the rest of <strong>MOD_SECURITY</strong> remains active.</p>
<p>Oddly enough, for my client, none of these worked. I figured it must be something else (like some server filtering, perhaps). But since I had explored all the options, I was certain that WordPress was doing nothing, and it must be a server setting. So I asked my client to contact support, mentioning that certain keywords were being filtered.</p>
<p>The result? <strong>THEY</strong> turned off <strong>MOD_SECURITY</strong>, and his site was as good as new!</p>
<p>So to recap for those pulling out their hair:</p>
<ul>
<li><strong>MOD_SECURITY</strong> is a filter that tries to prevent &#8216;bad&#8217; words from getting into the forms via <strong>POST</strong> (or <strong>GET</strong>). In this case, it thought the <strong>&lt;img&gt;</strong> (image) tag&#8217;s <strong>src=</strong> entry URL with &#8220;<strong>http://</strong>&#8221; in it might be an attempt at hacking, and likely <strong>/%category%/%postname%/</strong> an attempt to hide data (the <strong>%</strong> is used for encoding).</li>
<li>The problem was hidden at first because of permalinks. When the post was killed by <strong>MOD_SECURITY</strong>, the website generated a 406 error. But there was no handler for a 406 error, so the result was a 404 (file not found) error, which quite naturally <strong>IS</strong> handled by WordPress. Without turning off permalinks and resetting them, this would have continued to muddy the waters, making the problem very hard to figure out.</li>
<li><strong>MOD_SECURITY</strong> is elusive: although the setting may appear with <strong>phpinfo()</strong>, in this case it didn&#8217;t. No trace of it, yet the webhost had it activated.</li>
<li><strong>MOD_SECURITY</strong> can be deactivated. Although in this situation it needed a call to tech support, it&#8217;s possible to deactivate directly in many cases. You can use <strong>.htaccess</strong> to turn it off completely at the blog root, or turn it off in the <strong>/wp-admin/</strong> directory only, or even better, use only the &#8220;<strong>SecFilterScanPOST Off</strong>&#8221; entry to turn off the <strong>POST</strong> filtering, leaving the rest of <strong>MOD_SECURITY</strong> still active.</li>
</ul>
<p>I hope this little summary helps you if you encounter the problem. It was a hair-puller, but the end result was a little more Apache server information gleaned!</p>
]]></content:encoded>
			<wfw:commentRss>http://activeblogging.com/info/406-error-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Troubleshoot a Broken Blog, Or, Did My Update Do That?</title>
		<link>http://activeblogging.com/info/how-to-troubleshoot-a-broken-blog-or-did-my-update-do-that/</link>
		<comments>http://activeblogging.com/info/how-to-troubleshoot-a-broken-blog-or-did-my-update-do-that/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 05:55:43 +0000</pubDate>
		<dc:creator>David Pankhurst</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://activeblogging.com/?p=1504</guid>
		<description><![CDATA[<p>It&#8217;s WP update time, and I&#8217;m upgrading to 2.9.2 &#8211; not a huge hardship, since it&#8217;s all one-click now (unless there&#8217;s a plugin conflict, of course). However, a problem arose: one of my blog disappeared completely. Nada. Nothing. Just a nice white page, without anything whatsoever. </p><p>In the end, it was because of  old wp-cache-config.php and advanced-cache.php files in my /wp-content/ directory. Briefly, these files caused a cache issue that was not needed on this blog. Remove them, and the blog was AOK. </p><p>The reason for mentioning this? I ...</p>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s WP update time, and I&#8217;m upgrading to 2.9.2 &#8211; not a huge hardship, since it&#8217;s all one-click now (unless there&#8217;s a plugin conflict, of course). However, a problem arose: one of my blog disappeared completely. Nada. Nothing. Just a nice white page, without anything whatsoever.</p>
<p>In the end, it was because of  old <strong>wp-cache-config.php</strong> and <strong>advanced-cache.php</strong> files in my <strong>/wp-content/</strong> directory. Briefly, these files caused a cache issue that was not needed on this blog. Remove them, and the blog was AOK.</p>
<p>The reason for mentioning this? I thought I&#8217;d explain how I troubleshooted (troubleshot?) the issue. Perhaps you&#8217;ve encountered a similar problem, but even not, here&#8217;s how you can narrow down many WordPress blog problems and troubleshoot your blogs:</p>
<ul>
<li>View the source. Just because a page is blank doesn&#8217;t mean it is blank. For example, a white page could still include HTML head and body tags. If part of them are missing, this might be a clue  to where the program broke.</li>
<li>Try to log in. If the main page is gone but the admin page works, start with theme/plugin issues. In this case, every link into the blog failed, so I knew it was a bit bigger.</li>
<li>Try elsewhere on the site. I checked other blogs, other sections (such as a forum). No problems there, but if there was, I&#8217;d focus on site issues (server problems, <strong>htaccess</strong> issues, bandwidth/space constraints, etc).</li>
<li>Try the site basics. Via FTP, I could confirm all the files were there and appeared complete. I logged into cPanel and confirmed the database was there and was fine.</li>
<li>Tweak. For instance, with my FTP tool, I could change file names. Rename <strong>htaccess</strong> to something else, and then reload the page. Do the same for <strong>wp-config.php</strong>. I even downloaded, edited, and uploaded a modified  <strong>wp-config.php</strong>, with a bad password, hoping it would complain. Nothing, which led me to realize the blog startup was not even getting to the database access section.</li>
<li>Upgrade. I was planning to do this anyways, but I wanted to wait until I solved the problem, since this often adds problem on top of problem. However, it seemed it was not going to be solved anytime soon.  I uploaded the new files  directly, but keeping the current files safe by moving them to a separate location (I wanted them for later checking). I also DID NOT reuse the <strong>/wp-content/</strong> directory (with my plugins and theme) yet.</li>
</ul>
<p>My reason for this was simple: I wanted a pristine installation to see if it could start up. In fact, it did, and I was relieved. Yet when I started adding my <strong>/wp-content/</strong> back in I encountered problems. The reason, as I said was those files, which triggered caching where they shouldn&#8217;t.</p>
<p>If it appeared I just did divide and conquer, you&#8217;re right &#8211; breaking things up into smaller sections makes for easier checking, and eventually caught up with the problem. Look to breaking up a WordPress issue like this, and you might find troubleshooting easier and problem-solving faster.</p>
]]></content:encoded>
			<wfw:commentRss>http://activeblogging.com/info/how-to-troubleshoot-a-broken-blog-or-did-my-update-do-that/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Hire A WordPress &#8216;Geek&#8217;</title>
		<link>http://activeblogging.com/info/how-to-hire-a-wordpress-geek/</link>
		<comments>http://activeblogging.com/info/how-to-hire-a-wordpress-geek/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 23:15:12 +0000</pubDate>
		<dc:creator>David Pankhurst</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://activeblogging.com/?p=1491</guid>
		<description><![CDATA[<p>You know WordPress is great &#8211; easy to use, powerful, popular &#8211; but it&#8217;s still a long way from the idea to a finished, custom-tweaked site. So what do you do? </p><p>It&#8217;s always possible to save money by doing it yourself. There are many online tutorials, and sites that explain how to do WordPress setup and configuration (like this one). However, if your primary goal is to make money, it pays to stick to what you&#8217;re good at.  </p><p>But if you prefer to get someone to set up your ...</p>]]></description>
			<content:encoded><![CDATA[<p>You know WordPress is great &#8211; easy to use, powerful, popular &#8211; but it&#8217;s still a long way from the idea to a finished, custom-tweaked site. So what do you do?</p>
<p>It&#8217;s always possible to save money by doing it yourself. There are many online tutorials, and sites that explain how to do WordPress setup and configuration (like this one). However, if your primary goal is to make money, it pays to stick to what you&#8217;re good at. </p>
<p>But if you prefer to get someone to set up your WordPress blog, add features to it, customize the design, etc., here&#8217;s some hiring tips:</p>
<ul>
<li>A website is like a house. You pay for the amount needing to be done. Do you have a domain name? A website hosting plan? If someone has to clear the field and dig the foundation to make way for your site, then their time will cost.</li>
<li>WordPress uses themes to change the look. There are many available for free, but they may not suit, so you&#8217;d be paying for modifications (it&#8217;s also VITALLY  important to get someone to check over a theme, as it can have malicious/spam code in it). Generally, the fewer the modifications, the lower the cost. </li>
<li>Much of your expense will likely be extras. For example, do you need your blog set up, are there any other items on the site to be set up or connected to the blog (forum, helpdesk), etc.</li>
<li>Selecting and setting up plugins are another aspect &#8211; these are code pieces that &#8216;plug in&#8217; to your blog to add features. For example, one plugin takes care of comment spam (which can be a time-consuming chore daily).</li>
<li>Finally, you will want your blog to be search engine optimized, which means an edit or two of the theme to add SEO options. For example, you should do tracking of your site, which will require a setup of Google Analytics (a free but powerful tool).</li>
</ul>
<p>You&#8217;ll notice I never mentioned quality of work, references, or the usual stuff. That&#8217;s because I&#8217;m sticking to WordPress in particular here. General hiring tips should always apply of course, and just because someone says &#8216;WordPress Pro&#8217; doesn&#8217;t mean they can be trusted. Get to know them if possible, and see what work they offer.</p>
<p>Nonetheless, it&#8217;s not easy finding reliable people. So as a service, you can <a href="http://activeblogging.com/help/">open a held desk ticket</a> on this site and ask me! I meet (and get to know) a lot of WP techs online, and I may know of someone who&#8217;s a good fit. If nothing else, I may be able to steer you towards a way to save money.</p>
<p>And of course, I still recommend a little bit of getting your hands dirty &#8211; and what better way than with <a href="http://activeblogging.com/member-benefits/">a membership in ActiveBlogging</a>, and the &#8216;Knowledge You Need For The Blog You Want!&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://activeblogging.com/info/how-to-hire-a-wordpress-geek/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

