<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Blog Mum</title>
	
	<link>http://blogmum.com</link>
	<description>WordPress made easy</description>
	<lastBuildDate>Thu, 05 Nov 2009 00:40:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9-rare</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/BlogMum" type="application/rss+xml" /><feedburner:emailServiceId>BlogMum</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Women Who Love WordPress Too Much</title>
		<link>http://feedproxy.google.com/~r/BlogMum/~3/hZzGSJkszB8/</link>
		<comments>http://blogmum.com/2009/09/women-who-love-wordpress-too-much/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 08:17:42 +0000</pubDate>
		<dc:creator>Sue</dc:creator>
				<category><![CDATA[Blogging]]></category>

		<guid isPermaLink="false">http://blogmum.com/?p=1471</guid>
		<description><![CDATA[<p>Conversation: Me, talking about new Get a Freelancer job: "... and he said he picked my bid because I sounded enthusiastic and like I really, really love WordPress." The Man, rolling his eyes: "He got *that* right... <a href="http://blogmum.com/2009/09/women-who-love-wordpress-too-much/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>Conversation:<br />
Me, talking about new Get a Freelancer job: "... and he said he picked my bid because I sounded enthusiastic and like I really, really love WordPress."<br />
The Man, rolling his eyes: "He got *that* right then."</p>
<img src="http://blogmum.com/?ak_action=api_record_view&id=1471&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BlogMum?a=hZzGSJkszB8:S9iLmdjmq8Y:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=hZzGSJkszB8:S9iLmdjmq8Y:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=hZzGSJkszB8:S9iLmdjmq8Y:nQ_hWtDbxek"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=nQ_hWtDbxek" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=hZzGSJkszB8:S9iLmdjmq8Y:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=hZzGSJkszB8:S9iLmdjmq8Y:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=hZzGSJkszB8:S9iLmdjmq8Y:guobEISWfyQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BlogMum/~4/hZzGSJkszB8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogmum.com/2009/09/women-who-love-wordpress-too-much/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blogmum.com/2009/09/women-who-love-wordpress-too-much/</feedburner:origLink></item>
		<item>
		<title>Where to find your API key for Akismet</title>
		<link>http://feedproxy.google.com/~r/BlogMum/~3/CSbZ5FpoLaM/</link>
		<comments>http://blogmum.com/2009/09/where-to-find-your-api-key-for-akismet/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 22:57:49 +0000</pubDate>
		<dc:creator>Sue</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blogmum.com/?p=1461</guid>
		<description><![CDATA[<p>Akismet is one of the plugins that comes bundled with self-hosted WordPress blogs. It's designed to stop spam comments from showing up on your blog, and though it won't be enough on its own once your blog gets properly indexed, for new bloggers it should do the trick. In order for Akismet to work properly, you'll need to grab an API key from WordPress.com. That's right, from WordPress dot... <a href="http://blogmum.com/2009/09/where-to-find-your-api-key-for-akismet/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>Akismet is one of the plugins that comes bundled with self-hosted WordPress blogs. It's designed to stop spam comments from showing up on your blog, and though <a href="http://blogmum.com/2008/11/3-plugins-to-stop-comment-spam/">it won't be enough on its own once your blog gets properly indexed</a>, for new bloggers it should do the trick. </p>
<p>In order for Akismet to work properly, you'll need to grab an API key from WordPress<b>.com</b>. That's right, from WordPress dot com, even though you have a self-hosted WP blog. Here's where to find it:
<ul>
<li>You'll need to <a href="http://en.wordpress.com/signup/">sign up for an account with WordPress.com</a> first. </li>
<li>You'll have the option to get a free WP blog, or just a user name; if you're only signing up to get the API key, then the latter will be fine. </li>
<li>Once you've got your account, sign in, </li>
<li>and navigate to My Account > Edit Profile (currently on a drop-down menu from the top left). </li>
<li>Your API key is at the top of the profile page.</li>
<li>Add it to your self-hosted WordPress blog under Plugins > Akismet Configuration. </li>
</ul>
<p>What if you have more than one blog? WP API keys will work on as many blogs as you want them to. And if all this WordPress.com and self-hosted WordPress stuff has you confused, <a href="http://blogmum.com/2009/04/whats-the-difference-between-wordpresscom-and-wordpressorg/">this post should help</a>. </p>
<img src="http://blogmum.com/?ak_action=api_record_view&id=1461&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BlogMum?a=CSbZ5FpoLaM:CSWH689iHp8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=CSbZ5FpoLaM:CSWH689iHp8:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=CSbZ5FpoLaM:CSWH689iHp8:nQ_hWtDbxek"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=nQ_hWtDbxek" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=CSbZ5FpoLaM:CSWH689iHp8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=CSbZ5FpoLaM:CSWH689iHp8:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=CSbZ5FpoLaM:CSWH689iHp8:guobEISWfyQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BlogMum/~4/CSbZ5FpoLaM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogmum.com/2009/09/where-to-find-your-api-key-for-akismet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blogmum.com/2009/09/where-to-find-your-api-key-for-akismet/</feedburner:origLink></item>
		<item>
		<title>How to sign up for PayPal Express Checkout</title>
		<link>http://feedproxy.google.com/~r/BlogMum/~3/ctYqAgH-E0E/</link>
		<comments>http://blogmum.com/2009/09/how-to-sign-up-for-paypal-express-checkout/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 22:25:05 +0000</pubDate>
		<dc:creator>Sue</dc:creator>
				<category><![CDATA[Ecommerce]]></category>

		<guid isPermaLink="false">http://blogmum.com/?p=1459</guid>
		<description><![CDATA[<p>This is a bit off-topic: it's nothing to do with WordPress, but building various ecommerce sites, I've lost track of the number of times I've had this conversation: Me: ... and if you want PayPal Express Checkout, I'm going to need you to sign up for their API ... Client: No problem. Where do I do that? Me: Umm. I've forgotten. Let's both spend a couple of hours trying to find... <a href="http://blogmum.com/2009/09/how-to-sign-up-for-paypal-express-checkout/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>This is a bit off-topic: it's nothing to do with WordPress, but building various ecommerce sites, I've lost track of the number of times I've had this conversation:<br />
Me: ... and if you want PayPal Express Checkout, I'm going to need you to sign up for their API ...<br />
Client: No problem. Where do I do that?<br />
Me: Umm. I've forgotten.  Let's both spend a couple of hours trying to find it...</p>
<p>Because if you search PayPal's site for "express checkout", it doesn't find anything, and if you can ever find all the documentation, it *still* doesn't tell you how to get the API username, password and signature you need for most ecommerce apps.</p>
<p>So for the sake of my sanity, here is where to find the information you'll need.
<ul>
<li>Sign into your PayPal account. </li>
<li>Click "Profile" from the top. </li>
<li>Under the "Account Info" list of links, click "API access"</li>
<li>Under "Option 2", click "View API Certificate" </li>
<li>On the next page, select "Request API signature" and click the "Agree and submit" button. </li>
<li>Your API username, password and signature are on the next page</li>
</ul>
<p>Why PayPal can't link this from the documentation, I'll never know, but hopefully that's saved a few people a few hours' hunting.</p>
<img src="http://blogmum.com/?ak_action=api_record_view&id=1459&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BlogMum?a=ctYqAgH-E0E:PP-LmlKJfoI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=ctYqAgH-E0E:PP-LmlKJfoI:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=ctYqAgH-E0E:PP-LmlKJfoI:nQ_hWtDbxek"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=nQ_hWtDbxek" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=ctYqAgH-E0E:PP-LmlKJfoI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=ctYqAgH-E0E:PP-LmlKJfoI:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=ctYqAgH-E0E:PP-LmlKJfoI:guobEISWfyQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BlogMum/~4/ctYqAgH-E0E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogmum.com/2009/09/how-to-sign-up-for-paypal-express-checkout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blogmum.com/2009/09/how-to-sign-up-for-paypal-express-checkout/</feedburner:origLink></item>
		<item>
		<title>How to find if a WordPress page has children</title>
		<link>http://feedproxy.google.com/~r/BlogMum/~3/q0I5-wPo3pk/</link>
		<comments>http://blogmum.com/2009/09/how-to-find-if-a-wordpress-page-has-children/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 23:30:54 +0000</pubDate>
		<dc:creator>Sue</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blogmum.com/?p=1440</guid>
		<description><![CDATA[<p>A friend called me yesterday* about a list of pages he was trying to set up. He needed pages with children indicated by a "&#62;" after the link. "You'd think there'd be some kind of setting in wp_list_pages", he said, "but if there is, I can't see it." The function we want is get_pages(), which passes the list of pages as an array to PHP to process. You can then test for the existence of... <a href="http://blogmum.com/2009/09/how-to-find-if-a-wordpress-page-has-children/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>A friend called me yesterday* about a list of pages he was trying to set up. He needed pages with children indicated by a "&gt;" after the link. "You'd think there'd be some kind of setting in wp_list_pages", he said, "but if there is, I can't see it." </p>
<p>The function we want is <a href="http://codex.wordpress.org/Function_Reference/get_pages">get_pages()</a>, which passes the list of pages as an array to PHP to process. You can then test for the existence of children, and mark parent pages accordingly. This snippet of code picks up only top-level parent pages, and marks them with a "&gt;" -</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">//get our list of pages for PHP to process</span>
<span style="color: #000088;">$pages</span> <span style="color: #339933;">=</span> get_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sort_column=menu_order'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #666666; font-style: italic;">//for each page in our list</span>
  <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$pages</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$page</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #666666; font-style: italic;">//if it's not a child itself</span>
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$page</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_parent</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #666666; font-style: italic;">//link the page</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;li&gt;&lt;a href=<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span><span style="color: #339933;">.</span>get_page_link<span style="color: #009900;">&#40;</span><span style="color: #000088;">$page</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>&gt;&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$page</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_title</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">//see if it has children</span>
        <span style="color: #000088;">$children</span> <span style="color: #339933;">=</span> wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;title_li=&amp;child_of=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$page</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;echo=0&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #666666; font-style: italic;">//if it does have children, put the arrow in</span>
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$children</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot; &amp;gt; &quot;</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;/a&gt;&lt;/li&gt;&quot;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span> 
<span style="color: #009900;">&#125;</span>
  <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>I must admit, it's a lot of code just for a couple of arrows, but if you're making - say - a navigation bar and want to indicate when fly-out menus are available, this is your boy. </p>
<p>If you want to exclude any particular page from the list, change line 8 to skip the page ID number you don't want:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$page</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">post_parent</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$page</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span> <span style="color: #339933;">&lt;&gt;</span> <span style="color: #cc66cc;">999</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></pre></td></tr></table></div>

<p>* I feel I want to add that people do call me about other stuff than WordPress. Sometimes <img src='http://blogmum.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<img src="http://blogmum.com/?ak_action=api_record_view&id=1440&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BlogMum?a=q0I5-wPo3pk:f0JAVH_RRsg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=q0I5-wPo3pk:f0JAVH_RRsg:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=q0I5-wPo3pk:f0JAVH_RRsg:nQ_hWtDbxek"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=nQ_hWtDbxek" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=q0I5-wPo3pk:f0JAVH_RRsg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=q0I5-wPo3pk:f0JAVH_RRsg:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=q0I5-wPo3pk:f0JAVH_RRsg:guobEISWfyQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BlogMum/~4/q0I5-wPo3pk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogmum.com/2009/09/how-to-find-if-a-wordpress-page-has-children/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blogmum.com/2009/09/how-to-find-if-a-wordpress-page-has-children/</feedburner:origLink></item>
		<item>
		<title>WordPress upgrade reminders - by email!</title>
		<link>http://feedproxy.google.com/~r/BlogMum/~3/syfBuTpA5w0/</link>
		<comments>http://blogmum.com/2009/09/wordpress-upgrade-reminders-by-email/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 17:22:39 +0000</pubDate>
		<dc:creator>Sue</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Donncha]]></category>
		<category><![CDATA[Upgrade Notification by Email]]></category>

		<guid isPermaLink="false">http://blogmum.com/?p=1424</guid>
		<description><![CDATA[<p>There are lots of reasons why people don't keep WordPress up to date. Most excuses revolve around time and busy-ness and forgetting: a few bloggers have the more legitimate cause that they know crucial plugins will break with newer versions than what they're using. And one dear chum gave as her reason for still being on 2.7 the other day, "well, Sue, we're not all as obsessed by our blogs as you... <a href="http://blogmum.com/2009/09/wordpress-upgrade-reminders-by-email/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p><img src="http://blogmum.com/wp-content/uploads/2009/09/979704_danger.jpg" alt="979704_danger" title="979704_danger" width="300" height="225" class="alignright size-full wp-image-1425" />There are lots of reasons why people don't keep WordPress up to date. Most excuses revolve around time and busy-ness and forgetting: a few bloggers have the more legitimate cause that they know crucial plugins will break with newer versions than what they're using. And one dear chum gave as her reason for still being on 2.7 the other day, "well, Sue, we're not all as obsessed by our blogs as you are". Grudgingly <img src='http://blogmum.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  I admit she may have a point. </p>
<p>Which is why I loved the idea of <a href="http://ocaoimh.ie/wordpress-upgrade-notifications-email/">a plugin which Donncha reviewed</a> earlier today. <a href="http://wordpress.org/extend/plugins/upgrade-notification-by-email/">Upgrade Notification by Email</a> checks with WordPress.org once a day, and emails you if the version you're using isn't the latest one. It's perfect for people who don't check their Dashboard often, or who have several dozen WP installs to look after. </p>
<p><small><a href="http://www.sxc.hu/profile/freschje">Photo credit: Freschje</a> </small></p>
<img src="http://blogmum.com/?ak_action=api_record_view&id=1424&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BlogMum?a=syfBuTpA5w0:qb2Jl4WZzY0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=syfBuTpA5w0:qb2Jl4WZzY0:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=syfBuTpA5w0:qb2Jl4WZzY0:nQ_hWtDbxek"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=nQ_hWtDbxek" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=syfBuTpA5w0:qb2Jl4WZzY0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=syfBuTpA5w0:qb2Jl4WZzY0:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=syfBuTpA5w0:qb2Jl4WZzY0:guobEISWfyQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BlogMum/~4/syfBuTpA5w0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogmum.com/2009/09/wordpress-upgrade-reminders-by-email/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blogmum.com/2009/09/wordpress-upgrade-reminders-by-email/</feedburner:origLink></item>
		<item>
		<title>How to change the WordPress admin user ID</title>
		<link>http://feedproxy.google.com/~r/BlogMum/~3/zVcV_zN2s4M/</link>
		<comments>http://blogmum.com/2009/09/how-to-change-the-wordpress-admin-user-id/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 13:27:42 +0000</pubDate>
		<dc:creator>Sue</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[administrator]]></category>
		<category><![CDATA[PHPMyAdmin]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://blogmum.com/?p=1415</guid>
		<description><![CDATA[<p>There have (unsurprisingly) been a lot of blog posts written in the last few days about WordPress security and what you can do to keep your blog safe from hackers. I'll be chucking my own twopennorth in shortly, but for now, I want to look at one of the recommendations in more detail: "get rid of the user called 'admin'". This is a pretty sensible piece of advice. On most WP installs, "admin"... <a href="http://blogmum.com/2009/09/how-to-change-the-wordpress-admin-user-id/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>There have (<a href="http://blogmum.com/2009/09/attacks-on-old-versions-of-wordpress/">unsurprisingly</a>) been a lot of blog posts written in the last few days about WordPress security and what you can do to keep your blog safe from hackers. I'll be chucking my own twopennorth in shortly, but for now, I want to look at one of the recommendations in more detail: "get rid of the user called 'admin'". </p>
<p>This is a pretty sensible piece of advice. On most WP installs, "admin" is the default user name; if you want to hack a blog, it's a good place to start guessing. Which halves the security of the username/password combo, because only the password has to be guessed. </p>
<p>So when you're setting up a new WordPress blog, pick something other than "admin" for your user name. But what do you do if your existing blog is has "admin" for a username? Unfortunately, WP doesn't have an easy way to change a user name. You can do it through PHPMyAdmin, but a couple of people I know have managed to lock themselves out of WordPress altogether trying that.</p>
<p>The easiest way is to create a whole new administrator through WP's admin:
<ul>
<li>From Users &gt; Add New, create a new account. Pick a strong password. You'll need to use an email address that hasn't been used for any other user of your blog. Assign the  new user the role of Administrator.</li>
<li>Sign in as the new Administrator.</li>
<li>Assign all of admin's posts to the new user: from Posts, choose Bulk Actions &gt; Edit from the dropdown menu at the top. If you have a lot (pages and pages) of posts, you can reassign them automatically as part of the user deletion routine, but I always feel much safer moving the posts first!</li>
<li>Go to Users &gt; Authors &#038; Users, and choose delete for the user "admin".</li>
<li>If "admin" has any posts left attributed to them, you'll see the message shown below; assign all of admin's posts to your new user ID. </li>
</ul>
<p><img src="http://blogmum.com/wp-content/uploads/2009/09/deleteuser.png" alt="deleteuser" title="deleteuser" width="586" height="344" class="aligncenter size-full wp-image-1422" /></p>
<p>One other note re. comments: reassigning posts to a different author will break some minor features in comments. My gravatar stopped showing up (even though my new ID's email address was also registered with gravatar.com) and CSS that I had to highlight the comment as being by an author no longer highlighted my comments. The only way I found to fix this was through PHPMyAdmin, changing wp_comments table's user_id from my old ID number to my new one. </p>
<p>The above routine will remove "admin" as a user of your blog and help to keep your WordPress a little more secure. It should go without saying that this isn't enough: there are other things you should be doing, primarily keeping your install up to date. </p>
<img src="http://blogmum.com/?ak_action=api_record_view&id=1415&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BlogMum?a=zVcV_zN2s4M:vhWx7qiqhrg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=zVcV_zN2s4M:vhWx7qiqhrg:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=zVcV_zN2s4M:vhWx7qiqhrg:nQ_hWtDbxek"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=nQ_hWtDbxek" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=zVcV_zN2s4M:vhWx7qiqhrg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=zVcV_zN2s4M:vhWx7qiqhrg:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=zVcV_zN2s4M:vhWx7qiqhrg:guobEISWfyQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BlogMum/~4/zVcV_zN2s4M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogmum.com/2009/09/how-to-change-the-wordpress-admin-user-id/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blogmum.com/2009/09/how-to-change-the-wordpress-admin-user-id/</feedburner:origLink></item>
		<item>
		<title>Search and replace for multiple WordPress posts</title>
		<link>http://feedproxy.google.com/~r/BlogMum/~3/VC8hbkO1YhM/</link>
		<comments>http://blogmum.com/2009/09/search-and-replace-for-multiple-wordpress-posts/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 15:34:00 +0000</pubDate>
		<dc:creator>Sue</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blogmum.com/?p=1364</guid>
		<description><![CDATA[<p>One feature WordPress lacks is the facility to edit multiple posts at once. If you've changed your URL, for example, you'll be faced with editing dozens or even hundreds of hard-coded image tags in your posts. Moving domains from one host to another often causes WP to render single quotes as â€œ or â€~, and British pound signs as Á£ - editing all those by hand isn't a task I'd relish... <a href="http://blogmum.com/2009/09/search-and-replace-for-multiple-wordpress-posts/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p>One feature WordPress lacks is the facility to edit multiple posts at once. If you've changed your URL, for example, you'll be faced with editing dozens or even hundreds of hard-coded image tags in your posts.  Moving domains from one host to another often causes WP to render single quotes as â€œ or â€~, and British pound signs as Á£ - editing all those by hand isn't a task I'd relish either. </p>
<p>Assuming your hosting provides access to your database through PHPMyAdmin or similar, editing multiple posts is easy. Sign into PHPMyAdmin, and find the table name which holds your blog posts; most likely this is wp_posts, but the wp_ prefix may be something else. Click the SQL button and enter the following:</p>
<p><code>UPDATE [wp_posts table] SET post_content = replace(post_content, "[old text]", "[replacement text]")</code></p>
<p>editing the square brackets and what's in them with your table name, old and replacement text strings. Remember, both the old text and the replacement text will need to be in quotes. If you want to get rid of some text but not replace it with anything, then leave the replacement text as just a pair of double quotes marks. </p>
<p>It would be remiss of me not to say that you should back up before you start messing about with PHPMyAdmin. But you're backing up your blog regularly anyway, right? </p>
<img src="http://blogmum.com/?ak_action=api_record_view&id=1364&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BlogMum?a=VC8hbkO1YhM:eL8fCavGmss:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=VC8hbkO1YhM:eL8fCavGmss:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=VC8hbkO1YhM:eL8fCavGmss:nQ_hWtDbxek"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=nQ_hWtDbxek" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=VC8hbkO1YhM:eL8fCavGmss:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=VC8hbkO1YhM:eL8fCavGmss:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=VC8hbkO1YhM:eL8fCavGmss:guobEISWfyQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BlogMum/~4/VC8hbkO1YhM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogmum.com/2009/09/search-and-replace-for-multiple-wordpress-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blogmum.com/2009/09/search-and-replace-for-multiple-wordpress-posts/</feedburner:origLink></item>
		<item>
		<title>[Video] How to upgrade WordPress</title>
		<link>http://feedproxy.google.com/~r/BlogMum/~3/qJ1StxBFHes/</link>
		<comments>http://blogmum.com/2009/09/video-how-to-upgrade-wordpress/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 08:04:46 +0000</pubDate>
		<dc:creator>Sue</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[new release]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blogmum.com/?p=1397</guid>
		<description><![CDATA[<p>How to upgrade (from WP 2.7 or higher): it's so quick, you have no... <a href="http://blogmum.com/2009/09/video-how-to-upgrade-wordpress/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/4NTSU7OjsY8&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/4NTSU7OjsY8&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>How to upgrade (from WP 2.7 or higher): it's so quick, you have no excuses.</p>
<img src="http://blogmum.com/?ak_action=api_record_view&id=1397&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BlogMum?a=qJ1StxBFHes:yZmGoUwaMqM:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=qJ1StxBFHes:yZmGoUwaMqM:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=qJ1StxBFHes:yZmGoUwaMqM:nQ_hWtDbxek"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=nQ_hWtDbxek" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=qJ1StxBFHes:yZmGoUwaMqM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=qJ1StxBFHes:yZmGoUwaMqM:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=qJ1StxBFHes:yZmGoUwaMqM:guobEISWfyQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BlogMum/~4/qJ1StxBFHes" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogmum.com/2009/09/video-how-to-upgrade-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blogmum.com/2009/09/video-how-to-upgrade-wordpress/</feedburner:origLink></item>
		<item>
		<title>Excluding categories from the_category()</title>
		<link>http://feedproxy.google.com/~r/BlogMum/~3/zNt_nP7oICY/</link>
		<comments>http://blogmum.com/2009/09/excluding-categories-from-the_category/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 13:41:33 +0000</pubDate>
		<dc:creator>Sue</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[the_category]]></category>

		<guid isPermaLink="false">http://blogmum.com/?p=1370</guid>
		<description><![CDATA[<p>the_category() is the WordPress template tag which shows the category your post is in. If the post is in multiple categories, it will output them all, linked to the respective archive page. By default, the_category() creates an unordered list (i.e. a vertical list with bullet points); this looks a bit odd with most themes, so you might want to change it to an inline list separated with... <a href="http://blogmum.com/2009/09/excluding-categories-from-the_category/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://codex.wordpress.org/Template_Tags/the_category">the_category()</a> is the WordPress template tag which shows the category your post is in. If the post is in multiple categories, it will output them all, linked to the respective archive page. </p>
<p>By default, the_category() creates an unordered list (i.e. a vertical list with bullet points); this looks a bit odd with most themes, so you might want to change it to an inline list separated with spaces, commas or bullets:</p>
<p><code><br />
&lt;?php the_category(' '); ?&gt;<br />
&lt;?php the_category(', '); ?&gt;<br />
&lt;?php the_category(' &amp;bull; '); ?&gt;<br />
</code></p>
<p>You may also want to exclude a category or two from the list, if there are categories you're using for housekeeping and structure rather than just for classification. Unfortunately, the_category() doesn't have an exclude attribute, so we need to be a little bit more complicated to do that. In the code below, edit the list of categories you want to exclude, and how you want each item in the list separated: </p>
<p><code>&lt;?php<br />
//edit below for categories you want excluded<br />
$exclude = array("Featured", "Uncategorized");<br />
//how do you want the list separated? just a space is okay<br />
$separator = " | ";<br />
//don't edit below here!<br />
$new_the_category = '';<br />
foreach((get_the_category()) as $category) {<br />
	if (!in_array($category->cat_name, $exclude))	{<br />
		$new_the_category .= '&lt;a href="'.get_bloginfo(url).'/'.get_option('category_base').'/'.$category-&gt;slug.'">'.$category-&gt;name.'&lt;/a&gt;'.$separator;<br />
	}<br />
}<br />
echo  substr($new_the_category, 0, strrpos($new_the_category, $separator));<br />
?&gt;</code></p>
<p><img src="http://blogmum.com/wp-content/uploads/2009/09/catbase.png" alt="catbase" title="catbase" class="alignleft size-full wp-image-1373" />By default, WP renders category permalinks as <strong>http://domain/category/category-slug</strong>. Settings &gt; Permalinks gives you the option to change this. However, <strong>if you're using the default, you'll need to explicitly state "category" in Permalinks' settings for the above code to work</strong>.</p>
<img src="http://blogmum.com/?ak_action=api_record_view&id=1370&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BlogMum?a=zNt_nP7oICY:Ecla1CQQdYE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=zNt_nP7oICY:Ecla1CQQdYE:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=zNt_nP7oICY:Ecla1CQQdYE:nQ_hWtDbxek"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=nQ_hWtDbxek" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=zNt_nP7oICY:Ecla1CQQdYE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=zNt_nP7oICY:Ecla1CQQdYE:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=zNt_nP7oICY:Ecla1CQQdYE:guobEISWfyQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BlogMum/~4/zNt_nP7oICY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogmum.com/2009/09/excluding-categories-from-the_category/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blogmum.com/2009/09/excluding-categories-from-the_category/</feedburner:origLink></item>
		<item>
		<title>Attacks on old versions of WordPress</title>
		<link>http://feedproxy.google.com/~r/BlogMum/~3/17HLPSowZpY/</link>
		<comments>http://blogmum.com/2009/09/attacks-on-old-versions-of-wordpress/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 11:07:26 +0000</pubDate>
		<dc:creator>Sue</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blogmum.com/?p=1384</guid>
		<description><![CDATA[<p>Lorelle has news that older versions of WordPress are being attacked. Symptoms include: odd additions to permalinks - "eval" and "base64_decode". Your blog's permalinks will no longer work. a new administrator account, perhaps named Administrator (2), created but not by you. This can happen even if registration is turned off on your blog. If you haven't upgraded, DO IT NOW. As of... <a href="http://blogmum.com/2009/09/attacks-on-old-versions-of-wordpress/">Read more</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://lorelle.wordpress.com/2009/09/04/old-wordpress-versions-under-attack/">Lorelle</a> has news that older versions of WordPress are being attacked. Symptoms include:
<ol>
<li>odd additions to permalinks - "eval" and "base64_decode". Your blog's permalinks will no longer work. </li>
<li>a new administrator account, perhaps named Administrator (2), created but not by you. This can happen even if registration is turned off on your blog. </li>
</ol>
<p>If you haven't upgraded, <strong>DO IT NOW</strong>. As of today, you should be running version 2.8.4: check your dashboard. If it has any number lower than that, you need to upgrade. If you're using a version of WP higher than 2.7, it's as simple as clicking that nagging link on your dashboard; it takes less than a minute. So just do it. And if you need more detailed instructions for upgrading from pre-2.7, <a href="http://blogmum.com/2009/06/upgrading-wordpress-just-do-it-will-you/">here they are.</a></p>
<p>If you've been hit with this already, then copying your posts and comments into a completely clean installation of WordPress seems to be the best way to deal with it. Simply upgrading now will most likely not deal with this (hackers know how WordPress upgrades work, and make the compromised files ones which are not over-written in an upgrade). <a href="http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/">Smackdown has more advice.</a> </p>
<p>I'm going to say too, I'm pretty shocked by the attitude of some people: <a href="http://weblogtoolscollection.com/archives/2009/09/04/old-wordpress-version-attack-warning-please-upgrade/">Weblog Tools Collection's comments</a> have some who are saying they won't upgrade. If you take that line, frankly, you deserve what you get.</p>
<p><strong>Update: </strong>one of the tricks this worm apparently uses is to use javascript to hide the existence of the extra administrator account within WP admin. If this is happening, you can look directly in the database (e.g. via PHPMyAdmin). Check wp_users (your blog may have a different prefix): if you normally only have one user, you'll easily see if anything's been added. If, however, you have a lot of registered users, you'll want to list out administrators and make sure they're all legit. <a href="http://dougal.gunters.org/blog/2009/09/05/checking-your-wordpress-security">Dougal Campbell has more details on this</a>. </p>
<img src="http://blogmum.com/?ak_action=api_record_view&id=1384&type=feed" alt="" /><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BlogMum?a=17HLPSowZpY:4c6PXebLQ6s:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=17HLPSowZpY:4c6PXebLQ6s:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=17HLPSowZpY:4c6PXebLQ6s:nQ_hWtDbxek"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=nQ_hWtDbxek" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=17HLPSowZpY:4c6PXebLQ6s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BlogMum?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BlogMum?a=17HLPSowZpY:4c6PXebLQ6s:guobEISWfyQ"><img src="http://feeds.feedburner.com/~ff/BlogMum?i=17HLPSowZpY:4c6PXebLQ6s:guobEISWfyQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BlogMum/~4/17HLPSowZpY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogmum.com/2009/09/attacks-on-old-versions-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blogmum.com/2009/09/attacks-on-old-versions-of-wordpress/</feedburner:origLink></item>
	</channel>
</rss>
