<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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>Support Forum - Topic: Category Archive Page Text Add</title>
		<link>http://www.kriesi.at/support/topic/category-archive-page-text-add</link>
		<description>Support Forum - Topic: Category Archive Page Text Add</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 23:19:41 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/category-archive-page-text-add" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Category Archive Page Text Add"</title>
			<link>http://www.kriesi.at/support/topic/category-archive-page-text-add#post-19185</link>
			<pubDate>Sun, 15 May 2011 16:37:15 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">19185@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Glad that I could help you :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Digishire on "Category Archive Page Text Add"</title>
			<link>http://www.kriesi.at/support/topic/category-archive-page-text-add#post-19173</link>
			<pubDate>Sun, 15 May 2011 13:25:00 +0000</pubDate>
			<dc:creator>Digishire</dc:creator>
			<guid isPermaLink="false">19173@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Awesome! Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Category Archive Page Text Add"</title>
			<link>http://www.kriesi.at/support/topic/category-archive-page-text-add#post-19171</link>
			<pubDate>Sun, 15 May 2011 12:29:41 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">19171@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I adjusted the code above - please try it again.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Digishire on "Category Archive Page Text Add"</title>
			<link>http://www.kriesi.at/support/topic/category-archive-page-text-add#post-19170</link>
			<pubDate>Sun, 15 May 2011 12:19:27 +0000</pubDate>
			<dc:creator>Digishire</dc:creator>
			<guid isPermaLink="false">19170@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks Dude, it worked great.&#60;/p&#62;
&#60;p&#62;Would it be possible to exclude the dated Archives from this &#34;(A-Z)&#34; change? For example to keep the text change to the category archives but to remove it from the following dated archive sections below:&#60;/p&#62;
&#60;p&#62;April 2011 (3)&#60;br /&#62;
February 2011 (11)&#60;br /&#62;
January 2011 (13)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Category Archive Page Text Add"</title>
			<link>http://www.kriesi.at/support/topic/category-archive-page-text-add#post-19156</link>
			<pubDate>Sun, 15 May 2011 11:01:11 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">19156@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
in archive.php replace following line:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if($output != &#38;quot;&#38;quot;) $output = &#38;#39;&#38;lt;h2 class=&#38;quot;superheading&#38;quot;&#38;gt;&#38;#39;.$output.&#38;#39;&#38;lt;/h2&#38;gt;&#38;#39;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$pos = strpos($output,&#38;quot;Archive&#38;quot;);

if(($pos === false) &#124;&#124; (is_day() &#124;&#124; is_month() &#124;&#124; is_year())) {
   if($output != &#38;quot;&#38;quot;) {$output = &#38;#39;&#38;lt;h2 class=&#38;quot;superheading&#38;quot;&#38;gt;&#38;#39;.$output.&#38;#39;&#38;lt;/h2&#38;gt;&#38;#39;;};
}
else {
 if($output != &#38;quot;&#38;quot;) {$output = &#38;#39;&#38;lt;h2 class=&#38;quot;superheading&#38;quot;&#38;gt;&#38;#39;.$output.&#38;#39; (A-Z)&#38;lt;/h2&#38;gt;&#38;#39;;};
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Digishire on "Category Archive Page Text Add"</title>
			<link>http://www.kriesi.at/support/topic/category-archive-page-text-add#post-19155</link>
			<pubDate>Sun, 15 May 2011 10:39:27 +0000</pubDate>
			<dc:creator>Digishire</dc:creator>
			<guid isPermaLink="false">19155@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Is it possible to customize the archive.php file so that the word &#34;(A-Z)&#34; appears at the end of the category archive text string (#top .superheading)? My category posts are sorted alphabetically with a plugin that I'm using and I was hoping to make a small text label indicating that.&#60;/p&#62;
&#60;p&#62;The format of the category archive text string that I would like to setup:&#60;br /&#62;
Archive For Salt Water Taffy Recipes (A-Z)&#60;/p&#62;
&#60;p&#62;Example page where the category archive label appears:&#60;br /&#62;
&#60;a href=&#34;http://tinyurl.com/5vuwzhy&#34; rel=&#34;nofollow&#34;&#62;http://tinyurl.com/5vuwzhy&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I played around with the archive.php code by couldn't get it formatted correctly.&#60;/p&#62;
&#60;p&#62;$output = &#34;&#34;;&#60;br /&#62;
$useTemplate =&#34;&#34;;&#60;br /&#62;
if (is_category()) {&#60;br /&#62;
$output = __('Archive For ','habitat').single_cat_title('',false);&#60;br /&#62;
} elseif (is_day()) {&#60;br /&#62;
$output = __('Archive For ','habitat').get_the_time('F jS, Y');&#60;br /&#62;
} elseif (is_month()){&#60;br /&#62;
$output = __('Archive For ','habitat').get_the_time('F, Y');&#60;br /&#62;
} elseif (is_year()) {&#60;br /&#62;
$output = __('Archive For ','habitat').get_the_time('Y');&#60;br /&#62;
} elseif (is_search()) {&#60;br /&#62;
$output = __('Search Results','habitat');&#60;br /&#62;
} elseif (is_author()) {&#60;br /&#62;
$output = __('Author Archive','habitat');&#60;br /&#62;
} elseif (isset($_GET['paged']) &#38;amp;&#38;amp; !empty($_GET['paged'])) {&#60;br /&#62;
$output = __('Blog Archives','habitat');&#60;br /&#62;
} elseif(is_tax()){&#60;br /&#62;
$term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );&#60;br /&#62;
$output = __('Archive For ','habitat').$term-&#38;gt;name;&#60;br /&#62;
$useTemplate = $term-&#38;gt;slug;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
