<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Showing stuff only on your &#034;individual&#034; archive pages</title>
	<atom:link href="http://www.scriptygoddess.com/archives/2004/05/21/showing-stuff-only-on-your-individual-archive-pages/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com/archives/2004/05/21/showing-stuff-only-on-your-individual-archive-pages/</link>
	<description></description>
	<pubDate>Tue, 07 Oct 2008 16:56:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Steve</title>
		<link>http://www.scriptygoddess.com/archives/2004/05/21/showing-stuff-only-on-your-individual-archive-pages/#comment-13990</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 17 Jan 2005 17:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/05/21/showing-stuff-only-on-your-individual-archive-pages/#comment-13990</guid>
		<description>Thanks for this - just what I was after.  I've switched from blogger and miss the &lt;itempage&gt; tags!&lt;/itempage&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for this - just what I was after.  I&#039;ve switched from blogger and miss the <itempage> tags!</itempage></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paticoflange</title>
		<link>http://www.scriptygoddess.com/archives/2004/05/21/showing-stuff-only-on-your-individual-archive-pages/#comment-12264</link>
		<dc:creator>paticoflange</dc:creator>
		<pubDate>Fri, 30 Jul 2004 17:20:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/05/21/showing-stuff-only-on-your-individual-archive-pages/#comment-12264</guid>
		<description>Thanks A LOT. I've used the 'if single' before, but the code with a "!" before the "$" -- there really is almost poetry to all this code stuff.

PHP is awesome.
WordPress is awesome.
scriptygoddess is awesome.</description>
		<content:encoded><![CDATA[<p>Thanks A LOT. I&#039;ve used the &#039;if single&#039; before, but the code with a &#034;!&#034; before the &#034;$&#034; &#8212; there really is almost poetry to all this code stuff.</p>
<p>PHP is awesome.<br />
WordPress is awesome.<br />
scriptygoddess is awesome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Yribe</title>
		<link>http://www.scriptygoddess.com/archives/2004/05/21/showing-stuff-only-on-your-individual-archive-pages/#comment-11611</link>
		<dc:creator>Rick Yribe</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/05/21/showing-stuff-only-on-your-individual-archive-pages/#comment-11611</guid>
		<description>Nice tip.</description>
		<content:encoded><![CDATA[<p>Nice tip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: P Chuprina</title>
		<link>http://www.scriptygoddess.com/archives/2004/05/21/showing-stuff-only-on-your-individual-archive-pages/#comment-11612</link>
		<dc:creator>P Chuprina</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/05/21/showing-stuff-only-on-your-individual-archive-pages/#comment-11612</guid>
		<description>Who is photo matt?</description>
		<content:encoded><![CDATA[<p>Who is photo matt?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark J</title>
		<link>http://www.scriptygoddess.com/archives/2004/05/21/showing-stuff-only-on-your-individual-archive-pages/#comment-11613</link>
		<dc:creator>Mark J</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/05/21/showing-stuff-only-on-your-individual-archive-pages/#comment-11613</guid>
		<description>PhotoMatt is the "handle" of Matt, the original author of WordPress (which is, itself, not an original work... but let's not get into semantics).

I didn't know about the $single trick... I've been using $name, which is true if you are viewing a single post (at least, I'm pretty sure it works the same as single... it has so far).

Here are a few other useful variables.  If you're wondering where I found these, I just looked at the .htaccess rewrite rules.

&lt;b&gt;$submit == 'Search'&lt;/b&gt; (true if you come from a search and there were either 0 matches, or more than 1 match)
&lt;b&gt;$year&lt;/b&gt; will be set if the year is set
&lt;b&gt;$monthnum&lt;/b&gt; will be set if the month is set
&lt;b&gt;$day&lt;/b&gt; will be set if the day is set
&lt;b&gt;$name&lt;/b&gt; will be set if the post name is set
&lt;b&gt;$posts&lt;/b&gt; will be set if posts are going to be displayed... 
&lt;b&gt;$page&lt;/b&gt; will be set if you are viewing a specific page of a post

I've used this to generate an H2 according to what you are seeing.  You can combine these to figure it out.

Here is what I am currently using on my test blog.  $pagetitle is the variable I use to display the H2 as well as part of the TITLE:

if($submit == 'Search'){
$pagetitle = 'Search Results';
} elseif (!$submit &#038;&#038; !$posts) {
$pagetitle = 'No Entries Found';
} elseif (!$submit &#038;&#038; !$year &#038;&#038; !$monthnum &#038;&#038; !$day &#038;&#038; !$name &#038;&#038; $posts){
$pagetitle = 'Tempus Fugit Blog';
} elseif (!$submit &#038;&#038; $year &#038;&#038; $posts &#038;&#038; !$name){
$pagetitle = 'Archives ' . wp_title('»',FALSE);
} elseif ($name &#038;&#038; $posts){
$pagetitle = wp_title('',FALSE);
}</description>
		<content:encoded><![CDATA[<p>PhotoMatt is the &#034;handle&#034; of Matt, the original author of WordPress (which is, itself, not an original work&#8230; but let&#039;s not get into semantics).</p>
<p>I didn&#039;t know about the $single trick&#8230; I&#039;ve been using $name, which is true if you are viewing a single post (at least, I&#039;m pretty sure it works the same as single&#8230; it has so far).</p>
<p>Here are a few other useful variables.  If you&#039;re wondering where I found these, I just looked at the .htaccess rewrite rules.</p>
<p><b>$submit == &#039;Search&#039;</b> (true if you come from a search and there were either 0 matches, or more than 1 match)<br />
<b>$year</b> will be set if the year is set<br />
<b>$monthnum</b> will be set if the month is set<br />
<b>$day</b> will be set if the day is set<br />
<b>$name</b> will be set if the post name is set<br />
<b>$posts</b> will be set if posts are going to be displayed&#8230;<br />
<b>$page</b> will be set if you are viewing a specific page of a post</p>
<p>I&#039;ve used this to generate an H2 according to what you are seeing.  You can combine these to figure it out.</p>
<p>Here is what I am currently using on my test blog.  $pagetitle is the variable I use to display the H2 as well as part of the TITLE:</p>
<p>if($submit == &#039;Search&#039;){<br />
$pagetitle = &#039;Search Results&#039;;<br />
} elseif (!$submit &#038;&#038; !$posts) {<br />
$pagetitle = &#039;No Entries Found&#039;;<br />
} elseif (!$submit &#038;&#038; !$year &#038;&#038; !$monthnum &#038;&#038; !$day &#038;&#038; !$name &#038;&#038; $posts){<br />
$pagetitle = &#039;Tempus Fugit Blog&#039;;<br />
} elseif (!$submit &#038;&#038; $year &#038;&#038; $posts &#038;&#038; !$name){<br />
$pagetitle = &#039;Archives &#039; . wp_title(&#039;»&#039;,FALSE);<br />
} elseif ($name &#038;&#038; $posts){<br />
$pagetitle = wp_title(&#034;,FALSE);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 8 Ways to Sunday</title>
		<link>http://www.scriptygoddess.com/archives/2004/05/21/showing-stuff-only-on-your-individual-archive-pages/#comment-11614</link>
		<dc:creator>8 Ways to Sunday</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/05/21/showing-stuff-only-on-your-individual-archive-pages/#comment-11614</guid>
		<description>&lt;trackback /&gt;&lt;strong&gt;Scriptygoddess Takes WordPress by Storm&lt;/strong&gt;
Scriptygoddess' Jennifer is learning WordPress in perparation for a migration of her well-known DIY weblog. In the process, she's unearthing and sharing lots of great information and has just come out with her first WP plugin...</description>
		<content:encoded><![CDATA[<trackback /><strong>Scriptygoddess Takes WordPress by Storm</strong><br />
Scriptygoddess&#039; Jennifer is learning WordPress in perparation for a migration of her well-known DIY weblog. In the process, she&#039;s unearthing and sharing lots of great information and has just come out with her first WP plugin&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Code Novice</title>
		<link>http://www.scriptygoddess.com/archives/2004/05/21/showing-stuff-only-on-your-individual-archive-pages/#comment-11615</link>
		<dc:creator>Code Novice</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/05/21/showing-stuff-only-on-your-individual-archive-pages/#comment-11615</guid>
		<description>&lt;trackback /&gt;&lt;strong&gt;WordPress Bookmarks&lt;/strong&gt;
A slew of WP bookmarks, plugins, etc. as seen on Scriptygoddess:
</description>
		<content:encoded><![CDATA[<trackback /><strong>WordPress Bookmarks</strong><br />
A slew of WP bookmarks, plugins, etc. as seen on Scriptygoddess:</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.360 seconds -->
