<?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>quirm.net</title>
	<atom:link href="http://quirm.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://quirm.net</link>
	<description>wordpress &#38; web design</description>
	<lastBuildDate>Fri, 04 May 2012 23:47:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>FlipFlop</title>
		<link>http://quirm.net/2012/03/27/flipflop/</link>
		<comments>http://quirm.net/2012/03/27/flipflop/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 15:56:29 +0000</pubDate>
		<dc:creator>Mel</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://quirm.net/?p=3502</guid>
		<description><![CDATA[And another new WordPress theme&#8230; well, actually a re-release of an old theme of ours. FlipFlop is 6 themes in one. Using the theme’s colour changer, you can switch between orange. blue, red, green, grey or gold colour schemes in two clicks of your mouse. Add in the 6 headers that are shipped with the&#8230;]]></description>
			<content:encoded><![CDATA[<p><img src="http://quirm.net/wp-content/uploads/2012/03/FlipFlop.png" alt="" width="150" height="150" class="alignleft size-full wp-image-3485" /> And another new WordPress theme&#8230; well, actually a re-release of an old theme of ours. FlipFlop is 6 themes in one. Using the theme’s colour changer, you can switch between orange. blue, red, green, grey or gold colour schemes in two clicks of your mouse. Add in the 6 headers that are shipped with the theme and that’s at least 36 theme permutations!</p>
<p>If you are not using a custom menu in the Lower menu location, the title of any Post marked as ‘sticky’ will automatically be displayed in the lower horizontal menu — maximising the visibility of all of your important Posts across your site.</p>
<p><a href="http://quirm.net/themes/flipflop/">View &#038; download FlipFlop</a></p>
]]></content:encoded>
			<wfw:commentRss>http://quirm.net/2012/03/27/flipflop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Theme : Fruit Juice</title>
		<link>http://quirm.net/2012/02/15/new-theme-fruit-juice/</link>
		<comments>http://quirm.net/2012/02/15/new-theme-fruit-juice/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 16:59:58 +0000</pubDate>
		<dc:creator>Mel</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Themes]]></category>

		<guid isPermaLink="false">http://quirm.net/?p=3371</guid>
		<description><![CDATA[Our newest theme is Fruit Juice -- a bright three-column WordPress theme in which 'sticky' posts are permanently displayed in the left-hand column across your entire site. Great for posting updates, alerts etc without worrying about which page your visitors will land on.]]></description>
			<content:encoded><![CDATA[<p><img src="http://quirm.net/wp-content/uploads/2012/02/FruitJuice-Blog-150x108.png" alt="" width="150" height="108" class="size-thumbnail wp-image-3364 alignleft" /> Our newest theme is Fruit Juice &#8212; a bright three-column WordPress theme in which &#8216;sticky&#8217; posts are permanently displayed in the left-hand column across your entire site. Great for posting updates, alerts etc without worrying about which page your visitors will land on.</p>
<p>The theme also boasts no less than 6 header images &#8212; with on-hover changes &#8212; so that you further customise your site. Or use the &#8220;Random&#8221; option to show a different header image on every page.</p>
<p><a href="http://quirm.net/themes/fruit-juice/">Fruit Juice details, screenshots &#038; download</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://quirm.net/2012/02/15/new-theme-fruit-juice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Page Of Posts</title>
		<link>http://quirm.net/2012/01/12/page-of-posts/</link>
		<comments>http://quirm.net/2012/01/12/page-of-posts/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 13:21:53 +0000</pubDate>
		<dc:creator>Mel</dc:creator>
				<category><![CDATA[Themes]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://quirm.net/?p=3332</guid>
		<description><![CDATA[Our downloadable <a href=-"http://quirm.net/download/80/">Twenty Eleven Child theme</a> has now been updated to include a simple Page of Posts custom page template.]]></description>
			<content:encoded><![CDATA[<p><img src="http://quirm.net/wp-content/uploads/2012/01/blue-page.png" alt="" width="150" height="150" class="alignleft size-full wp-image-3341" /> Our downloadable <a href=-"http://quirm.net/download/80/">Twenty Eleven Child theme</a> has now been updated to include a simple Page of Posts custom page template. </p>
<p>Whilst it is designed to work within a child of Twenty Eleven, it should be possible to adapt the template to suit other themes. If you are using another theme, remember that you will need to replicate the html structure of your own theme within the template.</p>
<p>You can then save your new template as <span class="italics">pageofposts.php</span>, upload it to your theme and then assign the Page of Posts template to your new Page via the Page Template Dropdown.</p>
]]></content:encoded>
			<wfw:commentRss>http://quirm.net/2012/01/12/page-of-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t Store Posts in the Trash</title>
		<link>http://quirm.net/2011/12/09/dont-store-posts-in-the-trash/</link>
		<comments>http://quirm.net/2011/12/09/dont-store-posts-in-the-trash/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 22:17:25 +0000</pubDate>
		<dc:creator>Mel</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://quirm.net/?p=3311</guid>
		<description><![CDATA[Yes, you did read that title correctly. And I did a double-take too when I saw this posted in the wordpress.org support forums. I thought that this kind of thing was an urban myth. But &#8212; hand on heart &#8212; someone really did decide to store more than a dozen, previously published, posts in their&#8230;]]></description>
			<content:encoded><![CDATA[<p><img src="http://quirm.net/wp-content/uploads/2011/12/no-trash.png" alt="" width="150" height="150" class="alignleft size-full wp-image-3315" /> Yes, you did read that title correctly. </p>
<p>And I did a double-take too when I saw this posted in the wordpress.org support forums. I thought that this kind of thing was an urban myth. But &#8212; hand on heart &#8212; someone really <em>did</em> decide to store more than a dozen, previously published, posts in their WordPress Trash until they got around to polishing them up for re-publication.</p>
<p>When they finally logged back in again (weeks later), lo and behold, all of their precious posts had been permanently deleted with absolutely no chance of getting them back (short of restoring the whole site via a recent database backup). </p>
<p>Yes, folks, WordPress does empty your Trash for you every 30 days by default. That said, Trash is no place to store <strong>anything</strong> (unless you are one of these strange Windows users who also stores documents in their Recycle Bin in which case&#8230; you&#8217;re on your own). </p>
<p>If you want to pull posts off your site for further work or review, simply change their status from <span class="italics">Published</span> to <span class="italics">Draft</span> or <span class="italics">Pending Review</span> via the Quick Edit link or by Edit Post (or Edit Page).</p>
<p>Keep Trash for stuff that you really, <strong>really</strong>, don&#8217;t want any more.</p>
]]></content:encoded>
			<wfw:commentRss>http://quirm.net/2011/12/09/dont-store-posts-in-the-trash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Your Own Read More Link</title>
		<link>http://quirm.net/2011/12/07/adding-your-own-read-more-link/</link>
		<comments>http://quirm.net/2011/12/07/adding-your-own-read-more-link/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 01:11:10 +0000</pubDate>
		<dc:creator>Mel</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://quirm.net/?p=3257</guid>
		<description><![CDATA[Continuing with the topic of custom read more links, there are times when you may want to use &#60;?php the_content();?&#62; in your theme&#8217;s template file in conjunction with the &#60;!--more--&#62; tag in your posts to create custom post teasers. But you want the &#8220;read more&#8221; link to appear somewhere other than immediately after the teaser.&#8230;]]></description>
			<content:encoded><![CDATA[<p><img src="http://quirm.net/wp-content/uploads/2011/12/more2.png" alt="" width="150" height="150" class="alignleft size-full wp-image-3259" /> Continuing with the topic of <a href="http://quirm.net/2011/12/02/replace-with-a-post-link/" title="Replace [...] with a Post Link">custom read more links</a>, there are times when you may want to use <code>&lt;?php the_content();?&gt;</code> in your theme&#8217;s template file in conjunction with the <code>&lt;!--more--&gt;</code> tag in your posts to create custom post teasers. But you want the &#8220;read more&#8221; link to appear somewhere other than immediately after the teaser.</p>
<p style="clear:left;">Just edit the relevant theme template file and replace:</p>
<pre><code>&lt;?php the_content();?&gt;</code></pre>
<p>with:</p>
<pre><code>&lt;?php the_content('', false,'');?&gt;</code></pre>
<p>This will supress even the default &#8220;read more&#8221; link.</p>
<p>Next, move to the point in your template file where you want your custom &#8220;read more &#8221; link to be displayed and add:</p>
<pre><code>&lt;a class="more-link" href="&lt;?php the_permalink();?&gt;#more-&lt;?php echo $post-&gt;ID;?&gt;"&gt;&lt;?php _e('Continue reading );the_title();?&gt;&lt;/a&gt;</code></pre>
<p>Simple!</p>
]]></content:encoded>
			<wfw:commentRss>http://quirm.net/2011/12/07/adding-your-own-read-more-link/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replace [...] with a Post Link</title>
		<link>http://quirm.net/2011/12/02/replace-with-a-post-link/</link>
		<comments>http://quirm.net/2011/12/02/replace-with-a-post-link/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 16:48:47 +0000</pubDate>
		<dc:creator>Mel</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://quirm.net/?p=3244</guid>
		<description><![CDATA[Excerpts (teasers) can be shown on WordPress through two methods: Using &#60;?php the_content();?&#62; in your theme template file(s) and then inserting the &#60;!-- more--&#62; into your post at your desired cut-off point. Using &#60;?php the_excerpt();?&#038;gt; in your theme template file(s) and allowing WordPress to generate a teaser from the first 55 words of the post&#8217;s&#8230;]]></description>
			<content:encoded><![CDATA[<p>Excerpts (teasers) can be shown on WordPress through two methods:</p>
<p><img src="http://quirm.net/wp-content/uploads/2011/12/more-150x150.png" alt="" width="150" height="150" class="alignleft size-thumbnail wp-image-3252" />
<ol>
<li>Using <code>&lt;?php the_content();?&gt;</code> in your theme template file(s)  and then inserting the <code>&lt;!-- more--&gt;</code> into your post at your desired cut-off point.</li>
<li style="margin-top:15px;">Using <code>&lt;?php the_excerpt();?&#038;gt</code>; in your theme template file(s) and allowing WordPress to generate a teaser from the first 55 words of the post&#8217;s content &#8212; without the need to place a <code>&lt;!-- more--&gt;</code> tag in the post.</li>
</ol>
<p>Option 1 automatically creates a nice &#8220;read more&#8221; link at the bottom of each teaser that allows readers to go straight to the full, single, post but it does mean that you have to remember to enter that pesky <code>&lt;!-- more--&gt;</code> tag into your posts before you publish them.</p>
<p>Option 2 is fully automatic but lacks the nice &#8220;read more&#8221; link. So how can you have all of the benefits of the automatic excerpt but also provide a link to the the single post?</p>
<p>Simply edit your theme&#8217;s functions.php file and add the following function after the opening <code>&lt;?php</code> tag.</p>
<pre><code>function my_excerpt_link() {
	return ' &lt;a class="more-link" href="'. get_permalink() . '"&gt;' .  printf(__( 'Read $s'), get_the_title() ) . '&lt;/a&gt;';
}
add_filter( 'excerpt_more', 'my_excerpt_link' );</code></pre>
<p>The above code will generate an automatic link to the single post in the format:</p>
<p><a href="#">Read Replace [...] with a Post Link</a></p>
<p>Now you get the benefits of both options.</p>
]]></content:encoded>
			<wfw:commentRss>http://quirm.net/2011/12/02/replace-with-a-post-link/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Witty2: A Simple Random Quotes Plugin</title>
		<link>http://quirm.net/2011/10/25/witty2-a-simple-random-quotes-plugin/</link>
		<comments>http://quirm.net/2011/10/25/witty2-a-simple-random-quotes-plugin/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 13:07:24 +0000</pubDate>
		<dc:creator>Mel</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://quirm.net/?p=3201</guid>
		<description><![CDATA[Years ago, I used a plugin called Witty to display random quotes on one of my blogs. But it was a little crude and required an ability to: Edit theme template files Upload a text file containing your quotes via FTP So, the other day, I decided to update it. Witty2 uses a shortcode, so&#8230;]]></description>
			<content:encoded><![CDATA[<p>Years ago, I used a plugin called Witty to display random quotes on one of my blogs. But it was a little crude and required an ability to:</p>
<ol>
<li>Edit theme template files</li>
<li>Upload a text file containing your quotes via FTP</li>
</ol>
<p>So, the other day, I decided to update it.</p>
<p><span id="more-3201"></span></p>
<p>Witty2 uses a shortcode, so you can add a random quotes to your Posts or Pages on a completely ad-hoc basis. The file containing the quotes is now stored in the plugin folder, so it can be editing via Plugins &rarr; Editor.</p>

<a href='http://quirm.net/2011/10/25/witty2-a-simple-random-quotes-plugin/witty2-editor/' title='Witty2: the quote file'><img width="150" height="114" src="http://quirm.net/wp-content/uploads/2011/10/witty2-editor-150x114.png" class="attachment-thumbnail" alt="Witty2: the quote file" title="Witty2: the quote file" /></a>
<a href='http://quirm.net/2011/10/25/witty2-a-simple-random-quotes-plugin/witty2-shortcode/' title='Witty2: adding the shortcode'><img width="150" height="142" src="http://quirm.net/wp-content/uploads/2011/10/witty2-shortcode-150x142.png" class="attachment-thumbnail" alt="Witty2: adding the shortcode" title="Witty2: adding the shortcode" /></a>

<p>As with the original plugin, it still assumes 1 quote per line but it does allow a sub-set of HTML tags to be used &#8212; specifically <code>br</code>, <code>em</code>, <code>strong</code> and 	<code>cite</code>. The random quote output is generated inside <code>blockquote</code> tags, so you should be able to style it via your theme&#8217;s CSS, if necessary.</p>
<p>To add the shortcode to a template file, use<code> &lt;?php echo do_shortcode('[witty2]');?&gt;</code>.</p>
<p>Enjoy!</p>
Note: There is a file embedded within this post, please visit this post to download the file.
]]></content:encoded>
			<wfw:commentRss>http://quirm.net/2011/10/25/witty2-a-simple-random-quotes-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove Image Title Attribute</title>
		<link>http://quirm.net/2011/10/18/remove-image-title-attribute/</link>
		<comments>http://quirm.net/2011/10/18/remove-image-title-attribute/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 15:55:49 +0000</pubDate>
		<dc:creator>Mel</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://quirm.net/?p=3190</guid>
		<description><![CDATA[When you insert an image within WordPress, the core media.php script will add a title attribute to your image markup. In many cases, that&#8217;s one unwanted attribute. Many visually-impaired screen reader users run their software in non-verbose mode &#8212; which ignores all title attributes. This is precisely because most web pages are overloaded with useless&#8230;]]></description>
			<content:encoded><![CDATA[<p><img src="http://quirm.net/wp-content/uploads/2011/10/scissors.png" alt="" width="150" height="150" class="alignleft size-full wp-image-3196" /> When you insert an image within WordPress, the core media.php script will add a title attribute to your image markup. In many cases, that&#8217;s<a href="http://wordpress.org/support/topic/minor-request-media-library-remember-no-hyperlink"> one unwanted attribute</a>.</p>
<p>Many visually-impaired screen reader users run their software in non-verbose mode &#8212; which ignores all title attributes. This is precisely because most web pages are overloaded with useless title tags. In screen reader software, a web page full of title attributes equates to way too much unwanted noise. This is especially so when you don&#8217;t bother to give your images nice human-readable titles. </p>
<p>Would you want to read a page littered with meaningless text such as &#8220;dcs3005-674.png&#8221;? Neither do screen reader users.</p>
<p><span id="more-3190"></span></p>
<p>In this respect, WordPress has gotten it wrong. Title attributes should not be added to inserted images by default. There&#8217;s simply no real need for them amongst sighted users and (with luck) many screen reader users won&#8217;t even get to hear them.</p>
<p>If you have important info that you need to relay to screen reader users, then use the Alternate Text field to add a meaningful <code>alt</code> attribute to your images. That&#8217;s what it is there for. If you need to relay additional image information to your sighted readers (including non-mouse users), use the Caption field.</p>
<h3>Installation</h3>
<p>Upload the plugin to your blog, activate it and sit back. The plugin will do the rest. </p>
<h3>Notes</h3>
<p>The plugin is suitable for WordPress 3.2 &#038; above. <ins>Tested in WordPress 3.3.</ins></p>
<p>If you have already inserted images into posts, the plugin will not touch them. You&#8217;ll have to remove the title attribute manually by editing the image markup in each post within the HTML Editor. The plugin will only remove the title attribute from images that you insert <strong>after</strong> it has been activated and then only at the point of insertion. This means that it will have absolutely zero impact on the performance of the front end of your site &#8212; unlike some similar plugins that parse every single post just prior to display.</p>
<h3>Download</h3>
Note: There is a file embedded within this post, please visit this post to download the file.
]]></content:encoded>
			<wfw:commentRss>http://quirm.net/2011/10/18/remove-image-title-attribute/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing Backgrounds with body class()</title>
		<link>http://quirm.net/2011/10/11/changing-backgrounds-with-body-class/</link>
		<comments>http://quirm.net/2011/10/11/changing-backgrounds-with-body-class/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 15:56:37 +0000</pubDate>
		<dc:creator>Mel</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://quirm.net/?p=3173</guid>
		<description><![CDATA[The body_class() WordPress function attaches a list of classes to the &#60;body&#62; element according to what type of page is being displayed. These classes can be used &#8212; in conjunction with your theme’s stylesheet &#8212; to display different backgrounds on different pages. Let’s assume your header.php template file contains: &#60;body &#60;?php body_class(); ?&#62;&#62; And your&#8230;]]></description>
			<content:encoded><![CDATA[<p><img src="http://quirm.net/wp-content/uploads/2011/10/crayons-150x150.png" alt="" title="crayons" width="150" height="150" class="alignleft size-thumbnail wp-image-3179" /> The <code>body_class()</code> WordPress function attaches a list of classes to the <code>&lt;body&gt;</code> element according to what type of page is being displayed.</p>
<p>These classes can be used &#8212; in conjunction with your theme’s stylesheet &#8212; to display different backgrounds on different pages. </p>
<p class="clearleft" >Let’s assume your header.php template file contains:</p>
<pre><code>&lt;body &lt;?php body_class(); ?&gt;&gt;</code></pre>
<p>And your current CSS for the background looks like:</p>
<pre><code>body {background:#fff url(images/bg.jpg);}</code></pre>
<p><span id="more-3173"></span></p>
<p>In a single post, your body tag would look like:</p>
<pre><code>&lt;body class="single single-post postid-188 single-format-standard logged-in admin-bar"&gt;</code></pre>
<p>A category page could have:</p>
<pre><code>&lt;body class="archive category category-cat-a category-9 logged-in admin-bar"&gt;</code></pre>
<p>whilst a tag page might generate:</p>
<pre><code>&lt;body class="archive tag tag-tag1 tag-92 logged-in admin-bar"&gt;</code></pre>
<h3>The CSS</h3>
<p>You can add some new rules to your theme&#8217;s CSS to target specific backgrounds at particular pages.</p>
<h4>Default Single Post</h4>
<pre><code>body.single {background:#ccc url(images/bg-single.jpg);}</code></pre>
<h4>Single Post with an ID of 188</h4>
<pre><code>body.postid-188 {background:#999 url(images/bg-special.jpg);}</code></pre>
<h4>Default Category Background</h4>
<pre><code>body.category {background:#eee url(images/bg-cat.jpg);}</code></pre>
<h4>Category A Only</h4>
<pre><code>body.category-cat-a {background:#ddd url(images/bg-cat-a.jpg);}</code></pre>
<p>The possibilities are almost endless. </p>
<p>You can find a full list of the classes generated by the <code>body_class()</code> function in the <a href="http://codex.wordpress.org/Function_Reference/body_class">WordPress Codex</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://quirm.net/2011/10/11/changing-backgrounds-with-body-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Headers Already Sent</title>
		<link>http://quirm.net/2011/10/07/headers-already-sent/</link>
		<comments>http://quirm.net/2011/10/07/headers-already-sent/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 08:50:01 +0000</pubDate>
		<dc:creator>Mel</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://quirm.net/?p=3041</guid>
		<description><![CDATA[The most common reasons for seeing this error message in your WordPress site are spaces, new lines, or invisible characters before an opening &#60;?php tag or after a closing ?&#62; tag in one of the site&#8217;s scripts. But, in order to fix the problem, you have to know which file is causing the problem. Step&#8230;]]></description>
			<content:encoded><![CDATA[<p><img src="http://quirm.net/wp-content/uploads/2011/09/message.png" alt="" title="message" width="150" height="150" class="alignleft size-full wp-image-3054" /> The most common reasons for seeing this error message in your WordPress site are spaces, new lines, or invisible characters before an opening <code>&lt;?php</code> tag or after a closing <code>?&gt;</code> tag in one of the site&#8217;s scripts. But, in order to fix the problem, you have to know which file is causing the problem.</p>
<p><span id="more-3041"></span></p>
<h3>Step 1: Interpreting the Error Message </h3>
<p>All of the relevant information is normally given in the first part of the message &#8212; the <code>... output started at...</code> part.</p>
<h4>Example 1</h4>
<p><code>Warning: Cannot modify header information - headers already sent by (output started at /path/wp-content/plugins/foobar/foobar.php:8) in /path/wp-comments-post.php on line 55</code></p>
<p>In this example, the problem is in the foobar.php file of the Foobar plugin.</p>
<h4>Example 2</h4>
<p><code>Warning: Cannot modify header information - headers already sent by (output started at /path/wp-content/themes/wibble/functions.php:11) in /path/wp-includes/pluggable.php on line 850</code></p>
<p>Here, the problem is in functions.php file within the Wibble theme</p>
<h4>Example 3</h4>
<p><code>Warning: Cannot modify header information - headers already sent by (output started at /path/blog/wp-config.php:82) in /path/blog/wp-login.php on line 42</code></p>
<p>The problem is at line 82 of wp-config.php.</p>
<h3>Step 2: Fixing the Problem </h3>
<h4>Example 1: A Plugin</h4>
<p>The easiest option here is to simply delete the plugin and look for an alternative one. If you cannot access your WordPress dashboard, <a href="http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F">reset the plugins folder</a>. Then re-install your plugins &#8212; with the exception of the one that caused the problem.</p>
<h4>Example 2: The Theme</h4>
<p>If you are not comfortable with editing PHP files, then you may want to look at installing another theme. If you cannot access your WordPress dashboard, switch to the default theme by renaming your current theme&#8217;s folder in wp-content/themes and adding &#8220;-old&#8221; to the end of the folder name using <a href="http://codex.wordpress.org/FTP_Clients">FTP</a> or whatever file management application your host provides. This should allow you back into your dashboard where you can download another theme.</p>
<p>If you are comfortable with editing PHP files, then download the file mentioned in the error message (functions.php in the Example 2) and follow the instructions for <a href="http://quirm.net/?p=3041#invisible">removing invisible characters in a file</a>.</p>
<h4>Example 3: wp-config.php</h4>
<ol>
<li>Download wp-config.php from your site&#8217;s main WordPress folder.</li>
<li>Open the file in a <strong>plain text</strong> editor.</li>
<li>Check that the <strong>very first</strong> characters are <code>&lt;?php</code></li>
<li>If the very last characters are <code>?&gt;</code>, remove them.</li>
<li>Check that there are no invisible characters in the file.</li>
<li>Re-upload the amended file.</li>
</ol>
<h3 id="invisible">Removing Invisible Characters in a File</h3>
<ol>
<li>Open the file in a <strong>plain text</strong> editor.</li>
<li>Place the cursor before the first character in the file.</li>
<li>Press the BACKSPACE key &#038; keep it pressed for a count of 10.</li>
<li>Place the cursor after the last character in the file.</li>
<li>Now press the DELETE key on your computer &#038; keep it pressed for a count of 10.</li>
<li>Save the file without pressing any other key.</li>
<li>Check the encoding of the file. Do not encode files as UTF-8 with BOM. The BOM will be seen as a character.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://quirm.net/2011/10/07/headers-already-sent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

