<?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>Anmari</title>
	<atom:link href="http://webdesign.anmari.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://webdesign.anmari.com</link>
	<description>Simply effective web services</description>
	<lastBuildDate>Wed, 16 Nov 2011 05:01:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Trackback Spam Notifications</title>
		<link>http://webdesign.anmari.com/2715/trackback-spam-notifications/</link>
		<comments>http://webdesign.anmari.com/2715/trackback-spam-notifications/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 04:59:52 +0000</pubDate>
		<dc:creator>anmari</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://webdesign.anmari.com/?p=2715</guid>
		<description><![CDATA[How to stop wordpress trackback notification spam emails
Related posts:<ol>
<li><a href='http://webdesign.anmari.com/1335/getting-a-list-of-subscribers/' rel='bookmark' title='Getting a list of subscribers'>Getting a list of subscribers</a> <small>Trial, Paid, Expired or Active members For the list of members with their status etc if the list is not...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>It is always the &#8216;old&#8217; stuff that gets you.</p>
<p>I thought I had done such a great job tightening up things and then seemed to get hit with some repetitive trackback spam notifications.  Since the notifications are coming from one of MY websites, they don&#8217;t get marked easily as spam.</p>
<p style="text-align: center;"><a href="http://webdesign.anmari.com/wp-content/uploads/trackbackspam.png"><img class="size-full wp-image-2716 aligncenter" title="trackbackspam" src="http://webdesign.anmari.com/wp-content/uploads/trackbackspam.png" alt="Screenshot of email trackback notification" width="440" height="121" /></a></p>
<p>A few minutes of googling and a timely post at <a href="http://www.question-defense.com/2011/11/05/disable-trackbacks-in-existing-wordpress-blog-stop-wordpress-trackback-spam">question-defence.com</a>, published a few days ago pin pointed the problem (Many thanks to google for thier quick search index updating!.. remember the old days?)</p>
<h2>Ping status =  &#8216;open&#8217;</h2>
<p>Many existing posts still had their ping status set to open.  So to stop trackback spam in it&#8217;s tracks (ha! lqtm), take action as follows:</p>
<h3>Future posts:</h3>
<ol>
<li>Go to WordPress settings &gt; Discussions &gt;</li>
<li>untick &#8220;Allow Link Notifications From Other Blogs&#8221;</li>
</ol>
<h3>Past Posts:</h3>
<ol>
<li>Hop into your phpmyadmin</li>
<li>Find your posts table, note the name with your sites prefix</li>
<li>Goto the SQL view, type in</li>
</ol>
<p><code>update</code>  prefix-<code>posts </code><code>set</code> <code>ping_status = </code><code>'closed'</code><code>;</code></p>
<p>&nbsp;</p>
<p>and you are done.  All posts and custom post types now set to NOT accept trackbacks.</p>
<p>Related posts:</p><ol>
<li><a href='http://webdesign.anmari.com/1335/getting-a-list-of-subscribers/' rel='bookmark' title='Getting a list of subscribers'>Getting a list of subscribers</a> <small>Trial, Paid, Expired or Active members For the list of members with their status etc if the list is not...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://webdesign.anmari.com/2715/trackback-spam-notifications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress.com or self-hosted wordpress</title>
		<link>http://webdesign.anmari.com/2695/wordpres-com-or-self-hosted-wordpress/</link>
		<comments>http://webdesign.anmari.com/2695/wordpres-com-or-self-hosted-wordpress/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 06:15:25 +0000</pubDate>
		<dc:creator>anmari</dc:creator>
				<category><![CDATA[Web designers]]></category>

		<guid isPermaLink="false">http://webdesign.anmari.com/?p=2695</guid>
		<description><![CDATA[Wordpress.org or Wordpress.com - some thoughts on choosing a wordpress webhost
No related posts.]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.page.ly/2010/08/the-prolific-wordpress-infographic/"><img class="aligncenter size-full wp-image-2704" title="which" src="http://webdesign.anmari.com/wp-content/uploads/which.png" alt="" width="515" height="298" /></a></p>
<p>Looking to set up a website using WordPress, one of the world most popular content management systems?</p>
<p>Assess your skills (ftp, html, css, php) and what you are prepared to do yourself, and how good you are at educatng yourself using the web.  Then consider your options.</p>
<h2>WordPress.com PROS</h2>
<ul>
<li>easy to get going even if no skills</li>
<li>free, or can <a href="http://en.wordpress.com/products/">add premium feaures</a> (they add up)</li>
<ul>
<li>videopress (<strong>$60/year</strong>)</li>
<li>custom css for own styling or tweaks <strong>($30/year</strong>)</li>
<li>post or moderate <a href="http://en.support.wordpress.com/text-messaging/#text-messaging-upgrade">using your phone</a> (usa only)</li>
</ul>
<li>can <a href="http://en.support.wordpress.com/domain-mapping/map-existing-domain/">map your existing  domain </a>there (<strong>$12/year</strong>), or <a title="register a domain through wordpress.com" href="http://en.support.wordpress.com/domain-mapping/register-domain/">register a domain</a> through them(<strong>$17/year</strong>)</li>
<li>they&#8217;ll keep you up to date with wordpress at least.</li>
<li>language aspects are pre-loaded</li>
<li>if you want to allow comments, wordpress.com has good antispam built in, althoiugh you can also add that feature <a href="https://akismet.com/signup/">(akismet)</a> in to a self hosted site.</li>
<li>you&#8217;re hosted by wordpress.com &#8211; so you are on a server where all the sites are running wordpress</li>
</ul>
<h2>WordPress.com CONS</h2>
<div>
<ul>
<li>limited to their themes, although <a href="http://en.support.wordpress.com/themes/premium-themes/">premium themes</a> available ($45)</li>
<li>totally reliant on them &#8211; if they disappear, so do you (unless you have figured out a way to keep own backup of your site and can arrange hosting, reload of site and repoint your domain name.  That said, this is what you would have todo on a self hosted site anyway.</li>
<li>cannot display ads, unless you <a href="http://en.support.wordpress.com/advertising/">revenue share advertising</a> (high volume clients only)</li>
<li>have to pay extra <a href="http://en.support.wordpress.com/no-ads/">NOT to have ads</a> (<strong>$29.97</strong>)</li>
</ul>
<h2>Self Hosted WordPress PROS</h2>
<ul>
<li>Total control (along with that comes the requirement that you be able to manage that control)</li>
<ul>
<li>own themes, plugins</li>
<li>customise functionality and style as you like</li>
</ul>
<li>Cheap if you have the skills! <a title="Good web hosts for wordpress self hosted website" href="http://webdesign.anmari.com/hosting_wordpress/">Good wordpress hosting</a> is available from $72/month</li>
</ul>
<div>
<h2>Self Hosted WordPress CONS</h2>
<ul>
<li>You need to <a title="Domain name purchase guide" href="http://webdesign.anmari.com/44/domain-names/">purchase your own domain name</a> and <a title="good wordpress host" href="http://webdesign.anmari.com/hosting_wordpress/">web hosting</a></li>
<li>If you don&#8217;t know what you are doing, you either need to hire some one or you will get into trouble.</li>
<li>Have to do/arrange WordPress upgradesm plugin and theme upgrades</li>
<li>Hiring people can get expensive</li>
<li>Have to add in what comes automatically at wordpress.com.</li>
<ul>
<li>add in askimet anti-spam</li>
<li>add in own backups to your own pc (your host should do backups, but you should also have your own)</li>
<li>spikes in traffic may be a problem</li>
</ul>
<li>With shared hosting (own server costs approximately $200/month), you are sharing the server &#8211; this reduce costs but if the other guys are up to no good&#8230;. That said a good wordpress host will normally switch servers for your promptly if you suspect a problem.</li>
</ul>
</div>
<div>
<h2> More Information</h2>
<ul>
<li>A reasonably good summary of <a title="Features summary of wordpress.com vs wordpress.org" href="http://en.support.wordpress.com/com-vs-org/">WordPress.com vs. WordPress.org</a> at wordpress.com.</li>
<li>Wp-beginners <a title="Infographic comparing wordpress.com and wordpress.org" href="http://www.wpbeginner.com/beginners-guide/self-hosted-wordpress-org-vs-free-wordpress-com-infograph/?display=wide">comparison via an info graphic</a>.  They end up advocating a self hosted solution for control and avoiding any profit sharing.</li>
</ul>
</div>
</div>
<h2>What to do:</h2>
<p>Consider</p>
<ul>
<li>your skill levels</li>
<li>website requirements and it&#8217;s implications (eg:membership, comments &#8211; you need anti-spam)</li>
<li>how much you are prepared to pay for someone to assist you if you need assistance.</li>
</ul>
<p>It is free to open a wordpress.com site, so give it a go &#8211; you&#8217;ll need it anyway if you want to use their anti-spam service askimet, or the wordpress.com stats via the <a title="wordpress jetpack plugin" href="http://wordpress.org/extend/plugins/jetpack/">jetpack plugin</a>.</p>
<p>If you are comfortable with doing many things yourself or are prepared to hire the skills you need, and know how to test your website and any plugins you add, consider going with a self hosted solution.  You can either do it yourself &#8211; there are heaps of guides out there.</p>
<p>If you want to get going quickly, I can have you <a title="How to get help getting started with self hosted wordpress" href="http://webdesign.anmari.com/hosting_wordpress/">up and running within a day if you use icdsoft as your host</a></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://webdesign.anmari.com/2695/wordpres-com-or-self-hosted-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Should your home page be a single flash animation?</title>
		<link>http://webdesign.anmari.com/2672/should-your-home-page-be-a-single-flash-animation/</link>
		<comments>http://webdesign.anmari.com/2672/should-your-home-page-be-a-single-flash-animation/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 07:47:11 +0000</pubDate>
		<dc:creator>anmari</dc:creator>
				<category><![CDATA[Web designers]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://webdesign.anmari.com/?p=2672</guid>
		<description><![CDATA[Related posts: Initial content for a new page or post &#8211; wordpress pleasant surprise How to create a link to the add new page or post with default starting content... Shortcode a widget in a page or post Shortcodize a widget - Use any widget in a shortcode in a page or post...
Related posts:<ol>
<li><a href='http://webdesign.anmari.com/2643/initial-content-for-a-new-page-or-post-wordpress-pleasant-surprise/' rel='bookmark' title='Initial content for a new page or post &#8211; wordpress pleasant surprise'>Initial content for a new page or post &#8211; wordpress pleasant surprise</a> <small>How to create a link to the add new page or post with default starting content...</small></li>
<li><a href='http://webdesign.anmari.com/1649/shortcode-any-widget/' rel='bookmark' title='Shortcode a widget in a page or post'>Shortcode a widget in a page or post</a> <small>Shortcodize a widget - Use any widget in a shortcode in a page or post...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div id="attachment_2671" class="wp-caption aligncenter" style="width: 490px"><a href="http://webdesign.anmari.com/wp-content/uploads/flashfail.png"><img class="size-large wp-image-2671 " title="flashfail" src="http://webdesign.anmari.com/wp-content/uploads/flashfail-1024x626.png" alt="" width="480" height="293" /></a><p class="wp-caption-text">What potential customers will see if they have an adblocker installed</p></div>
<p>Related posts:</p><ol>
<li><a href='http://webdesign.anmari.com/2643/initial-content-for-a-new-page-or-post-wordpress-pleasant-surprise/' rel='bookmark' title='Initial content for a new page or post &#8211; wordpress pleasant surprise'>Initial content for a new page or post &#8211; wordpress pleasant surprise</a> <small>How to create a link to the add new page or post with default starting content...</small></li>
<li><a href='http://webdesign.anmari.com/1649/shortcode-any-widget/' rel='bookmark' title='Shortcode a widget in a page or post'>Shortcode a widget in a page or post</a> <small>Shortcodize a widget - Use any widget in a shortcode in a page or post...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://webdesign.anmari.com/2672/should-your-home-page-be-a-single-flash-animation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changes for the plugins</title>
		<link>http://webdesign.anmari.com/2656/changes-are-happening-for-the-plugins/</link>
		<comments>http://webdesign.anmari.com/2656/changes-are-happening-for-the-plugins/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 14:02:13 +0000</pubDate>
		<dc:creator>anmari</dc:creator>
				<category><![CDATA[AmR Events]]></category>
		<category><![CDATA[AmR Ical Events List]]></category>
		<category><![CDATA[AmR User Templates]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://webdesign.anmari.com/?p=2656</guid>
		<description><![CDATA[The plugins are moving amr-events plugin registration is now at icalevents.com amr-user-templates plugin registration is soon at wpusersplugin.com Your details have cloned and moved too  so you can access curremt and older versions here. New versions of the plugins will only be available at the new sites: Use the same usernames and passwords on all [...]
Related posts:<ol>
<li><a href='http://webdesign.anmari.com/plugins/' rel='bookmark' title='Plugins'>Plugins</a> <small>Many of my plugins are offered for free at wordpress.  Some plugins have additional functionality available to certain members of...</small></li>
<li><a href='http://webdesign.anmari.com/1783/another-hacked-story-did-2-9-appear-to-lose-your-plugins/' rel='bookmark' title='Another hacked story &#8211; did 2.9 appear to lose your plugins?'>Another hacked story &#8211; did 2.9 appear to lose your plugins?</a> <small>Don&#8217;t blame 2.9! A  site was hacked.  This was only detected because he had a funny admin screen so decided...</small></li>
<li><a href='http://webdesign.anmari.com/2078/amr-events-download/' rel='bookmark' title='amr-events download'>amr-events download</a> <small>Before you buy membership to access this plugin, please&#8230;&#8230; Test it!  test.icalevents.com.  The latest version is always there &#8211; it might...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h3>The plugins are moving</h3>
<ul>
<li><strong>amr-events</strong> plugin registration is now at <a title="wordpress events  and calendar plugin " href="http://icalevents.com">icalevents.com</a></li>
<li><strong>amr-user-templates</strong> plugin registration is soon at <a title="simplify wordpress backend for your users with this plugin " href="http://wpusersplugin.com">wpusersplugin.com</a></li>
</ul>
<h3></h3>
<h3>Your details have cloned and moved too</h3>
<ul>
<li> so you can access curremt and older versions here. New versions of the plugins will only be available at the new sites:</li>
<li>Use the same usernames and passwords on all sites.</li>
</ul>
<p>&nbsp;</p>
<h3>On;y forum or email subscription registrations here</h3>
<ul>
<li>Any problems, please log it at the support forum or <a href="http://webdesign.anmari.com/about/contact/">contact me asap</a>.</li>
</ul>
<p>&nbsp;</p>
<p>Related posts:</p><ol>
<li><a href='http://webdesign.anmari.com/plugins/' rel='bookmark' title='Plugins'>Plugins</a> <small>Many of my plugins are offered for free at wordpress.  Some plugins have additional functionality available to certain members of...</small></li>
<li><a href='http://webdesign.anmari.com/1783/another-hacked-story-did-2-9-appear-to-lose-your-plugins/' rel='bookmark' title='Another hacked story &#8211; did 2.9 appear to lose your plugins?'>Another hacked story &#8211; did 2.9 appear to lose your plugins?</a> <small>Don&#8217;t blame 2.9! A  site was hacked.  This was only detected because he had a funny admin screen so decided...</small></li>
<li><a href='http://webdesign.anmari.com/2078/amr-events-download/' rel='bookmark' title='amr-events download'>amr-events download</a> <small>Before you buy membership to access this plugin, please&#8230;&#8230; Test it!  test.icalevents.com.  The latest version is always there &#8211; it might...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://webdesign.anmari.com/2656/changes-are-happening-for-the-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Initial content for a new page or post &#8211; wordpress pleasant surprise</title>
		<link>http://webdesign.anmari.com/2643/initial-content-for-a-new-page-or-post-wordpress-pleasant-surprise/</link>
		<comments>http://webdesign.anmari.com/2643/initial-content-for-a-new-page-or-post-wordpress-pleasant-surprise/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 07:01:59 +0000</pubDate>
		<dc:creator>anmari</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://webdesign.anmari.com/?p=2643</guid>
		<description><![CDATA[How to create a link to the add new page or post with default starting content
Related posts:<ol>
<li><a href='http://webdesign.anmari.com/1649/shortcode-any-widget/' rel='bookmark' title='Shortcode a widget in a page or post'>Shortcode a widget in a page or post</a> <small>Shortcodize a widget - Use any widget in a shortcode in a page or post...</small></li>
<li><a href='http://webdesign.anmari.com/536/submenu-page-slug-attached-media-confusion/' rel='bookmark' title='Submenu, Page, slug, attached media confusion'>Submenu, Page, slug, attached media confusion</a> <small>I had a really odd one today.  A client had added text to a submenu page that was either empty...</small></li>
<li><a href='http://webdesign.anmari.com/113/category-specific-css-to-achieve-a-print-cover-page-css-look/' rel='bookmark' title='Category specific css to achieve a print &#8220;cover page&#8221; css look'>Category specific css to achieve a print &#8220;cover page&#8221; css look</a> <small>For a school&#8217;s online newsletter we wanted the &#8220;photo of the week&#8221; category to present differently from other posts. Ideally...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I wanted to help new users of my amr-ical-events-list plugin to get started.  I wanted</p>
<ul>
<li>a link to the <strong>add new page</strong></li>
<li>preferably with <strong>suggested title and content</strong></li>
</ul>
<p>I wondered???, I googled, I browsed some of the WordPress code and found naught, nought, null, or at least nothing obvious&#8230;</p>
<p><strong>and then I just tried it.</strong></p>
<p>&#8216;Content&#8217; was easy I had a few attempts at &#8216;title&#8217;, the found &#8216;post_title&#8217; worked.</p>
<p>Hooray! A small thing but quite satisfying and of course I felt a need to share&#8230;.</p>
<h2>The Result</h2>
<div id="attachment_2644" class="wp-caption aligncenter" style="width: 394px"><a href="http://webdesign.anmari.com/wp-content/uploads/newpage.png"><img class="size-full wp-image-2644" title="newpage" src="http://webdesign.anmari.com/wp-content/uploads/newpage.png" alt="Screen shot showing it works" width="384" height="239" /></a><p class="wp-caption-text">Seeing is believing</p></div>
<h2>The php code:</h2>
<p>&nbsp;</p>
<pre>echo '&lt;a title="'
.__('Create a calendar page','amr-ical-events-list')
.'" href="'.admin_url('post-new.php?post_type=page&amp;amp;content=[iCal http://youricsurl.ics]&amp;amp;post_title='
.__('Calendar','amr-ical-events-list')).'"&gt;'
__('Add new') // use wp translation
.'&lt;/a&gt;';</pre>
<div id="attachment_2645" class="wp-caption aligncenter" style="width: 494px"><a href="http://webdesign.anmari.com/wp-content/uploads/adminscreen.png"><img class="size-full wp-image-2645" title="adminscreen" src="http://webdesign.anmari.com/wp-content/uploads/adminscreen.png" alt="" width="484" height="301" /></a><p class="wp-caption-text">Link from settings or plugin page</p></div>
<p>&nbsp;</p>
<p>Related posts:</p><ol>
<li><a href='http://webdesign.anmari.com/1649/shortcode-any-widget/' rel='bookmark' title='Shortcode a widget in a page or post'>Shortcode a widget in a page or post</a> <small>Shortcodize a widget - Use any widget in a shortcode in a page or post...</small></li>
<li><a href='http://webdesign.anmari.com/536/submenu-page-slug-attached-media-confusion/' rel='bookmark' title='Submenu, Page, slug, attached media confusion'>Submenu, Page, slug, attached media confusion</a> <small>I had a really odd one today.  A client had added text to a submenu page that was either empty...</small></li>
<li><a href='http://webdesign.anmari.com/113/category-specific-css-to-achieve-a-print-cover-page-css-look/' rel='bookmark' title='Category specific css to achieve a print &#8220;cover page&#8221; css look'>Category specific css to achieve a print &#8220;cover page&#8221; css look</a> <small>For a school&#8217;s online newsletter we wanted the &#8220;photo of the week&#8221; category to present differently from other posts. Ideally...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://webdesign.anmari.com/2643/initial-content-for-a-new-page-or-post-wordpress-pleasant-surprise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Faster please, faster &#8211; how to use WordPress as a CMS successfully &#8211; by mhansen</title>
		<link>http://webdesign.anmari.com/2589/faster-please-faster-how-to-use-wordpress-as-a-cms-successfully-by-mhansen/</link>
		<comments>http://webdesign.anmari.com/2589/faster-please-faster-how-to-use-wordpress-as-a-cms-successfully-by-mhansen/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 03:09:26 +0000</pubDate>
		<dc:creator>anmari</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://webdesign.anmari.com/?p=2589</guid>
		<description><![CDATA[Tips from conversations at webmaster world, and alter about timthumb vulnerability. 
Related posts:<ol>
<li><a href='http://webdesign.anmari.com/767/why-cms/' rel='bookmark' title='Why CMS?'>Why CMS?</a> <small>CMS stands for Content Management System. The good CMS&#8217;s now are so good, that in my view no-one should be...</small></li>
<li><a href='http://webdesign.anmari.com/135/improve-your-wordpress-webs-security-prevention/' rel='bookmark' title='Improve your wordpress web&#8217;s security &#8211; Prevention'>Improve your wordpress web&#8217;s security &#8211; Prevention</a> <small>Easy improvements for the non-technical: are you displaying your username for all the hackers to see? Go to your wordpress...</small></li>
<li><a href='http://webdesign.anmari.com/411/wordpress-user-training/' rel='bookmark' title='WordPress user training'>WordPress user training</a> <small>Web Designers sometimes neglect to factor in the training and hand holding required to get website owners comfortable with managing...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div id="attachment_2590" class="wp-caption aligncenter" style="width: 437px"><a href="http://www.flickr.com/photos/mauropm/3291100981/"><img class="size-full wp-image-2590" title="fast2" src="http://webdesign.anmari.com/wp-content/uploads/fast2.jpg" alt="" width="427" height="277" /></a><p class="wp-caption-text">Faster Phidus, FASTER! - original photo by mauropm</p></div>
<p>There&#8217;s a <a title="scroll down to mhansen" href="http://www.webmasterworld.com/wordpress/4346430.htm">good post over at webmasterworld</a> with advice on how to speed up WordPress when using it as a cms, plus a few other tips.  Also if you are using a theme that came packaged with timthumb, <a href="http://markmaunder.com/2011/zero-day-vulnerability-in-many-wordpress-themes/">read this</a> and take action to <strong>avoid being hacked.</strong></p>
<p>There was no way to  boomark the individual useful comment  that I could find, so I &#8216;ve taken the liberty of summarising here, with a link to the original complete conversation &#8211; <a href="http://www.webmasterworld.com/printerfriendlyv5.cgi?forum=152&amp;discussion=4346430&amp;serial=4347406&amp;user=">print version here</a>.<br />
1 &#8211; Get a dedicated server. The slowdown on a shared or VPS is at the database. {They} used to run the W3 cache plugin, but now only use the &#8220;<a href="http://wordpress.org/extend/plugins/force-gzip/">Force GZip</a>&#8221; plugin.</p>
<p>1A &#8211; Keep your database clean with an optimizer type plugin (or do it yourself) that weekly, backs it up than cleans up scuttle from the database.</p>
<p>2 &#8211; Security &#8211; Never load more plugins that you need to run the site, and always limit access to your wp-admin directory within the htaccess. <del>We</del> {They} deny all but 3-4 IP addresses from accessing the admin sections.</p>
<p>2A &#8211; Delete all unused themes and plugins&#8230; Even if they aren&#8217;t active!</p>
<p>3 &#8211; Using the wp-config.php file, turn off post revision tracking.</p>
<p>4 &#8211; If you are using WP as a CMS, use it as a CMS! <del>We</del> {They} use pages for 75-80% of our landing page content, and only use the post features to compliment our pages. Use .html as a file extension on pages and posts&#8230; and take GREAT care to make sure the index taxonomy is correct from page to category of post when used.</p>
<p>5 &#8211; Tags and Categories are always noindexed for us. The PAGES are our primary landing areas, and the tags and categories ultimately support them.</p>
<p>6 &#8211; Clean up your themes to the N&#8217;th degree. <del>We</del> use a speed tool that waterfalls the http requests so you can really clean it at the file level.</p>
<p>7 &#8211; Always use sitemaps, both xml and reader sitemaps.</p>
<p>8 &#8211; Favorite admin plugin, <a href="http://planetozh.com/blog/my-projects/wordpress-admin-menu-drop-down-css/">Ozh Horizontal Admin Menu plugin by Ozh</a>. It relocates the admin menu to the top of the site and frees up much needed horizontal space for writing.</p>
<p>&nbsp;</p>
<p>Related posts:</p><ol>
<li><a href='http://webdesign.anmari.com/767/why-cms/' rel='bookmark' title='Why CMS?'>Why CMS?</a> <small>CMS stands for Content Management System. The good CMS&#8217;s now are so good, that in my view no-one should be...</small></li>
<li><a href='http://webdesign.anmari.com/135/improve-your-wordpress-webs-security-prevention/' rel='bookmark' title='Improve your wordpress web&#8217;s security &#8211; Prevention'>Improve your wordpress web&#8217;s security &#8211; Prevention</a> <small>Easy improvements for the non-technical: are you displaying your username for all the hackers to see? Go to your wordpress...</small></li>
<li><a href='http://webdesign.anmari.com/411/wordpress-user-training/' rel='bookmark' title='WordPress user training'>WordPress user training</a> <small>Web Designers sometimes neglect to factor in the training and hand holding required to get website owners comfortable with managing...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://webdesign.anmari.com/2589/faster-please-faster-how-to-use-wordpress-as-a-cms-successfully-by-mhansen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to give your plugin pluggable functions</title>
		<link>http://webdesign.anmari.com/2572/how-to-give-your-plugin-pluggable-functions/</link>
		<comments>http://webdesign.anmari.com/2572/how-to-give-your-plugin-pluggable-functions/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 12:03:39 +0000</pubDate>
		<dc:creator>anmari</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://webdesign.anmari.com/?p=2572</guid>
		<description><![CDATA[How to give your plugin pluggable functions and how to override a pluggable function by defining your own.
Related posts:<ol>
<li><a href='http://webdesign.anmari.com/2312/activation-error-plugin-does-not-have-valid-header-still-activates/' rel='bookmark' title='Plugin does not have valid header.. still activates'>Plugin does not have valid header.. still activates</a> <small>Wordpress invalid plugin header problems when activating uploaded zip files...</small></li>
<li><a href='http://webdesign.anmari.com/plugins/events-plugin/' rel='bookmark' title='Events Plugin'>Events Plugin</a> <small>The paid version The amr-events plugin is available here (my main site).  Please register or if already a member, please...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div id="attachment_2574" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/gladius/2270640833/"><img class="size-full wp-image-2574" title="The amazing pluggable machine " src="http://webdesign.anmari.com/wp-content/uploads/plugs.jpg" alt="" width="500" height="333" /></a><p class="wp-caption-text">The amazing pluggable machine - photo by lukasWP</p></div>
<p>Pluggable functions are functions that can be overridden by others.  The key is which is defined <strong>first</strong>.  So to make one <strong>your plugin&#8217;s functions pluggable</strong> one should define it  as late as possible.  So others can get in first of course, but not so late that your plugin tries to use it before it is defined.</p>
<p>Understanding the <a title="Wordpress actions and their sequence." href="http://codex.wordpress.org/Plugin_API/Action_Reference">sequence of wordpress actions</a> is important.</p>
<p>To make your plugin function pluggable by a theme or another plugin it needs to be defined AFTER the themes and the other plugins. So if your functions are mainly to do with output, you could move them as far back as the &#8216;wp&#8217; action say.</p>
<h2>In your main plugin file:</h2>
<pre>add_action ('wp','amr_load_pluggables', 10);    //move it later and a low priority

function amr_load_pluggables() {
    require_once('amr-pluggable.php');
}</pre>
<h2>The Pluggable Functions</h2>
<p>Each pluggable function must test that it has not already been defined</p>
<pre>if (!function_exists( 'the_pluggable_function')) {
    the_pluggable_function($parameters) {
    // the code
    }
}</pre>
<h2>The Override Function</h2>
<p>The coder doing the overwriting  (ie plugging the pluggable function ) then just defines the function normally in their own plugin, or in their themes functions.php.  All they have to do is not bury it inside an action that executes AFTER the &#8216;wp&#8217; action (or the action that loads the pluggable files).</p>
<p>Oh and it would be a good idea to fully understand where / when that pluggable function gets called and what it is supposed to do, what values to return etc.  You do not want to cause nasty side effects.  Looking at the code of the pluggable function is a good place to start.</p>
<h2>Conditional Override</h2>
<p>If they wanted to only override under certain circumstances, EG:  If you want to override ONLY on certain post types and only if certain conditions are met on the single view, then one could do</p>
<pre>add_action('wp', 'define_my_override_function', 1) {</pre>
<pre>// using wp action as well as we need the post query et to have been done already, but a higher priority so will execute before the pluggable function load.</pre>
<pre>}</pre>
<pre>function define_my_override_function() {
global $post;</pre>
<pre>    if (is_single() and ($post-&gt;post_type === 'event') and (whatever other criterai)) {
 // then overwrite the pluggable, requires the pluggable loading to be later in the wp action sequence, say on action 'wp' late priority</pre>
<pre>        function the_pluggable_function($parameters) {</pre>
<pre>        // your code here</pre>
<pre>        }
     }
}</pre>
<p>Related posts:</p><ol>
<li><a href='http://webdesign.anmari.com/2312/activation-error-plugin-does-not-have-valid-header-still-activates/' rel='bookmark' title='Plugin does not have valid header.. still activates'>Plugin does not have valid header.. still activates</a> <small>Wordpress invalid plugin header problems when activating uploaded zip files...</small></li>
<li><a href='http://webdesign.anmari.com/plugins/events-plugin/' rel='bookmark' title='Events Plugin'>Events Plugin</a> <small>The paid version The amr-events plugin is available here (my main site).  Please register or if already a member, please...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://webdesign.anmari.com/2572/how-to-give-your-plugin-pluggable-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Post meta key, sometimes case sensitive, sometimes not&#8230;..</title>
		<link>http://webdesign.anmari.com/2561/post_meta-sometimes-case-sensitive-sometimes-not/</link>
		<comments>http://webdesign.anmari.com/2561/post_meta-sometimes-case-sensitive-sometimes-not/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 07:40:58 +0000</pubDate>
		<dc:creator>anmari</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://webdesign.anmari.com/?p=2561</guid>
		<description><![CDATA[get_post_meta, update_post_meta, delete_post_meta and uppercase, lowercase meta keys..... case insensitivities play havoc when they are not consistent.
Related posts:<ol>
<li><a href='http://webdesign.anmari.com/92/strange-characters/' rel='bookmark' title='Upgrading to Mysql5 &#8211; more strange characters'>Upgrading to Mysql5 &#8211; more strange characters</a> <small>An upgrade of a wordpress site&#8217;s Database from Mysql 4 to Mysql 5 gave some surprising results &#8211; some strange...</small></li>
<li><a href='http://webdesign.anmari.com/2336/permalinks-custom-post-types-and-taxonomies-conflicts/' rel='bookmark' title='Permalinks, custom post types and taxonomies, conflicts'>Permalinks, custom post types and taxonomies, conflicts</a> <small>How to avoid clash, conflict and 404 problems with permalinks, custom post types and taxonomies....</small></li>
<li><a href='http://webdesign.anmari.com/2643/initial-content-for-a-new-page-or-post-wordpress-pleasant-surprise/' rel='bookmark' title='Initial content for a new page or post &#8211; wordpress pleasant surprise'>Initial content for a new page or post &#8211; wordpress pleasant surprise</a> <small>How to create a link to the add new page or post with default starting content...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div id="attachment_2562" class="wp-caption aligncenter" style="width: 569px"><a href="http://www.flickr.com/photos/gazeronly/5700884740/"><img class="size-full wp-image-2562" title="lowercase" src="http://webdesign.anmari.com/wp-content/uploads/lowercase.jpg" alt="" width="559" height="147" /></a><p class="wp-caption-text">Lower case love... by gazeronly</p></div>
<p>If you have been banging your head against the proverbial brickwall trying to debug a intermittment post_meta bug then this may help.</p>
<p>I googled all aspects, but did not find any post to shed light.  Eventually figured it out&#8230;.</p>
<p>Put simply:</p>
<ul>
<li>get_post_meta() <strong>is case sensitive on the meta-key</strong></li>
</ul>
<p>BUT</p>
<ul>
<li>update_post_meta is <strong>NOT case sensitive</strong></li>
</ul>
<p>Thus If there is a pre-existing meta record with a key in UPPERCASE, then one can</p>
<ol>
<li><strong>issue an update for a lowercase key</strong> that will</li>
<li><strong>update the UPPERCASE key</strong>, and not create a lower case record. (Usually update will &#8216;add&#8217; if no record exists).</li>
</ol>
<p><strong>Delete_post_meta()</strong> has the same behaviour &#8211; you can try to delete a lowercase key, but the uppercase version will get deleted (too?)</p>
<p>Then of course when you try to fetch with your same lwoercase key that you did the update with, the fetch will fail as it does not exist &#8211; only the uppercase key exists.</p>
<h3>That was fun trying to debug&#8230;&#8230;</h3>
<p>See <a title="update_post_meta case insensitive" href="https://core.trac.wordpress.org/ticket/18210">trac ticket</a> raised for details or progress.</p>
<h2>Mysql db collation</h2>
<p>It seems it has a lot to do with the mysql db collation being used.  The default in many db setups is a _ci (case insensitive one) &#8211; they are faster and give more &#8216;natural&#8217; sort orders, although that very much depends on the language you are using.</p>
<p>The get_post_meta behaves differently apparently because wordpress caches the data so one is not necessarily querying the database.</p>
<p>If you are keen to know more, see</p>
<ul>
<li><a href="http://dev.mysql.com/doc/refman/5.0/en/charset-collations.html">Mysql collation issues</a>, and</li>
<li><a href="http://hakre.wordpress.com/2010/12/26/wordpress-database-charset-and-collation-configuration/">Hakre&#8217;s notes on wordpress-database-charset-and-collation-configuration</a></li>
</ul>
<p>&nbsp;</p>
<p>Related posts:</p><ol>
<li><a href='http://webdesign.anmari.com/92/strange-characters/' rel='bookmark' title='Upgrading to Mysql5 &#8211; more strange characters'>Upgrading to Mysql5 &#8211; more strange characters</a> <small>An upgrade of a wordpress site&#8217;s Database from Mysql 4 to Mysql 5 gave some surprising results &#8211; some strange...</small></li>
<li><a href='http://webdesign.anmari.com/2336/permalinks-custom-post-types-and-taxonomies-conflicts/' rel='bookmark' title='Permalinks, custom post types and taxonomies, conflicts'>Permalinks, custom post types and taxonomies, conflicts</a> <small>How to avoid clash, conflict and 404 problems with permalinks, custom post types and taxonomies....</small></li>
<li><a href='http://webdesign.anmari.com/2643/initial-content-for-a-new-page-or-post-wordpress-pleasant-surprise/' rel='bookmark' title='Initial content for a new page or post &#8211; wordpress pleasant surprise'>Initial content for a new page or post &#8211; wordpress pleasant surprise</a> <small>How to create a link to the add new page or post with default starting content...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://webdesign.anmari.com/2561/post_meta-sometimes-case-sensitive-sometimes-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress html5 validation &#8211; Bad value for attribute rel</title>
		<link>http://webdesign.anmari.com/2546/wordpress-html5-validation-bad-value-for-attribute-rel/</link>
		<comments>http://webdesign.anmari.com/2546/wordpress-html5-validation-bad-value-for-attribute-rel/#comments</comments>
		<pubDate>Fri, 01 Jul 2011 05:05:08 +0000</pubDate>
		<dc:creator>anmari</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://webdesign.anmari.com/?p=2546</guid>
		<description><![CDATA[If you want to get rid of the rel attributes that cause the html5 validation to fail.  There is some difference of opinion around this. the w3 group dropped some of the  rel attributes html5 not final? so why drop what might be good to have in? just because the validitor does not have them [...]
Related posts:<ol>
<li><a href='http://webdesign.anmari.com/157/widgetized-headers-and-footers/' rel='bookmark' title='Widgetized headers and footers?'>Widgetized headers and footers?</a> <small>Dynamic (widgetized) Sidebars are great, but would you not like to have a dynamic header and footer in your theme...</small></li>
<li><a href='http://webdesign.anmari.com/133/hacked-wordpress-site/' rel='bookmark' title='Hacked wordpress site?'>Hacked wordpress site?</a> <small>WordPress is now so popular that hackers are targeting wordpress websites. Some sites we look after were hacked by the...</small></li>
<li><a href='http://webdesign.anmari.com/457/when-clouds-go-bad/' rel='bookmark' title='When clouds go bad?'>When clouds go bad?</a> <small>The search for a google docs backup, wondering why there does not appear to be a solution and then wondering...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div id="attachment_2579" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/mybuffo/311483223/"><img class="size-full wp-image-2579" title="greenlight" src="http://webdesign.anmari.com/wp-content/uploads/greenlight.jpg" alt="" width="500" height="281" /></a><p class="wp-caption-text">A green for go amongst the red - photo by my buffo</p></div>
<p>If you want to get rid of the rel attributes that cause the html5 validation to fail.  There is some difference of opinion around this.</p>
<ul>
<li>the <a title="dropped rel attributes note" href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7475#c15">w3 group dropped</a> some of the  <a title="HTML5_link_type_extensions" href="http://microformats.org/wiki/existing-rel-values#HTML5_link_type_extensions">rel attributes</a></li>
<li><a href="http://en.wikipedia.org/wiki/HTML5">html5 not final?</a> so why drop what might be good to have in?</li>
<li>just because the validitor does not have them doesn&#8217;t mean your code is bad</li>
</ul>
<p>BUT,</p>
<ul>
<li>your client may not understand &#8211; the site must be html5 AND valid!</li>
<li>I miss that green 100% valid reassurance when I am testing although I like to test with default wordpress and default theme&#8230; what to do?</li>
</ul>
<h2>If you want that green 100% valid response back, regardless, then&#8230;&#8230;</h2>
<h3>Remove the rel attributes to get the green back</h3>
<p>A bunch of actions and filters and yes,  you have to use a child theme with own header and footer unfortunately as some is hardcoded in the header.php</p>
<p>Add to child theme  functions.php or a temporary plugin:</p>
<pre>remove_action( 'wp_head', 'index_rel_link' );
remove_action( 'wp_head', 'wp_generator' );
remove_action('wp_head', 'rsd_link');
remove_action('wp_head', 'wlwmanifest_link');
remove_action('wp_head','adjacent_posts_rel_link_wp_head');
remove_action('wp_head','start_post_rel_link');</pre>
<p>&nbsp;</p>
<h3>Theme edits</h3>
<h4>Footer.php</h4>
<p>copy to child theme and edit <strong>footer.php</strong></p>
<ul>
<li>line 26 remove rel=&#8221;generator&#8221;</li>
</ul>
<h4>Header.php</h4>
<p>copy to child theme and edit <strong>header.php</strong></p>
<ul>
<li>line 48 remove the <a href="http://microformats.org/wiki/rel-profile">rel=profile link</a> (not used in html5?)</li>
</ul>
<pre>&lt;link rel="profile" href="http://gmpg.org/xfn/11" /&gt;</pre>
<ul>
<li>line 74 remove rel=&#8221;home&#8221;</li>
</ul>
<p>&nbsp;</p>
<h3>Another option: Replace rel attributes with <a title="existing-rel-values" href="http://microformats.org/wiki/existing-rel-values">accepted ones</a>:</h3>
<p>The links need a rel attribute, so choose a valid one and replace the invalid ones:</p>
<pre>add_filter('parent_post_rel_link', 'amr_remove_rel_up');
 function amr_remove_rel_up($link) {
 return (str_replace ("rel='up'","rel='xxxxx'", $link));
 }
 add_filter('next_post_rel_link', 'amr_remove_rel_next');
 add_filter('prev_post_rel_link', 'amr_remove_rel_prev');
 add_filter('start_post_rel_link', 'amr_remove_rel_start');
 add_filter('end_post_rel_link', 'amr_remove_rel_end');
 add_filter('index_rel_link', 'amr_remove_rel_index');

etc.....</pre>
<p>&nbsp;</p>
<p>Related posts:</p><ol>
<li><a href='http://webdesign.anmari.com/157/widgetized-headers-and-footers/' rel='bookmark' title='Widgetized headers and footers?'>Widgetized headers and footers?</a> <small>Dynamic (widgetized) Sidebars are great, but would you not like to have a dynamic header and footer in your theme...</small></li>
<li><a href='http://webdesign.anmari.com/133/hacked-wordpress-site/' rel='bookmark' title='Hacked wordpress site?'>Hacked wordpress site?</a> <small>WordPress is now so popular that hackers are targeting wordpress websites. Some sites we look after were hacked by the...</small></li>
<li><a href='http://webdesign.anmari.com/457/when-clouds-go-bad/' rel='bookmark' title='When clouds go bad?'>When clouds go bad?</a> <small>The search for a google docs backup, wondering why there does not appear to be a solution and then wondering...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://webdesign.anmari.com/2546/wordpress-html5-validation-bad-value-for-attribute-rel/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Need a good new host &#8211; celebratory discount available</title>
		<link>http://webdesign.anmari.com/2541/need-a-good-new-host-celebratory-discount-available/</link>
		<comments>http://webdesign.anmari.com/2541/need-a-good-new-host-celebratory-discount-available/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 01:41:11 +0000</pubDate>
		<dc:creator>anmari</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://webdesign.anmari.com/?p=2541</guid>
		<description><![CDATA[See http://icalevents.com/3636-events-plugin-users-hosting-discount/ for details. Related posts: Changes for the plugins The plugins are moving amr-events plugin registration is now at icalevents.com amr-user-templates plugin registration is soon at wpusersplugin.com Your details... Plugins Many of my plugins are offered for free at wordpress.  Some plugins have additional functionality available to certain members of... Ical events list The [...]
Related posts:<ol>
<li><a href='http://webdesign.anmari.com/2656/changes-are-happening-for-the-plugins/' rel='bookmark' title='Changes for the plugins'>Changes for the plugins</a> <small>The plugins are moving amr-events plugin registration is now at icalevents.com amr-user-templates plugin registration is soon at wpusersplugin.com Your details...</small></li>
<li><a href='http://webdesign.anmari.com/plugins/' rel='bookmark' title='Plugins'>Plugins</a> <small>Many of my plugins are offered for free at wordpress.  Some plugins have additional functionality available to certain members of...</small></li>
<li><a href='http://webdesign.anmari.com/plugins/ical-events-list/' rel='bookmark' title='Ical events list'>Ical events list</a> <small>The free version For further information on the plugin and the free version, please see Icalevents.anmari The paid version The...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div id="attachment_2581" class="wp-caption aligncenter" style="width: 250px"><a href="http://www.flickr.com/photos/pagedooley/2811157950/"><img class="size-full wp-image-2581" title="host" src="http://webdesign.anmari.com/wp-content/uploads/host.jpg" alt="" width="240" height="238" /></a><p class="wp-caption-text">How to be a good host - photo by Kevin Dooley</p></div>
<p>See <a title="Web Hosting discount" href="http://icalevents.com/3636-events-plugin-users-hosting-discount/">http://icalevents.com/3636-events-plugin-users-hosting-discount/</a> for details.</p>
<p>Related posts:</p><ol>
<li><a href='http://webdesign.anmari.com/2656/changes-are-happening-for-the-plugins/' rel='bookmark' title='Changes for the plugins'>Changes for the plugins</a> <small>The plugins are moving amr-events plugin registration is now at icalevents.com amr-user-templates plugin registration is soon at wpusersplugin.com Your details...</small></li>
<li><a href='http://webdesign.anmari.com/plugins/' rel='bookmark' title='Plugins'>Plugins</a> <small>Many of my plugins are offered for free at wordpress.  Some plugins have additional functionality available to certain members of...</small></li>
<li><a href='http://webdesign.anmari.com/plugins/ical-events-list/' rel='bookmark' title='Ical events list'>Ical events list</a> <small>The free version For further information on the plugin and the free version, please see Icalevents.anmari The paid version The...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://webdesign.anmari.com/2541/need-a-good-new-host-celebratory-discount-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

