<?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>Kommentare zu: Wordpress Plugin: Show Active Category</title>
	<atom:link href="http://www.screenshine.net/blog/1474_wordpress-plugin-show-active-category/feed" rel="self" type="application/rss+xml" />
	<link>http://www.screenshine.net/blog/1474_wordpress-plugin-show-active-category</link>
	<description>ich möchte das doch auch nicht</description>
	<pubDate>Mon, 01 Dec 2008 21:30:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>Von: Julia</title>
		<link>http://www.screenshine.net/blog/1474_wordpress-plugin-show-active-category#comment-906</link>
		<dc:creator>Julia</dc:creator>
		<pubDate>Tue, 18 Nov 2008 18:18:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenshine.net/blog/?p=1474#comment-906</guid>
		<description>Hi 
Is there any way the (fantastic) plug in can be altered to affect the li tag and not the a tag, so that a nested list of categories can be given a display:block declaration and expanded and viewed when looking at a post within them.

(my full question is better explained &#60;a href="http://wordpress.org/support/topic/217532?replies=2#post-901986"here"&lt;/a&gt;)
Thanks!</description>
		<content:encoded><![CDATA[<p>Hi<br />
Is there any way the (fantastic) plug in can be altered to affect the li tag and not the a tag, so that a nested list of categories can be given a display:block declaration and expanded and viewed when looking at a post within them.</p>
<p>(my full question is better explained &lt;a href=&#8221;http://wordpress.org/support/topic/217532?replies=2#post-901986&#8243;here&#8221;)<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Highlight Wordpress Category when on a Single Post: Tutorial &#124; Design Shard &#124; Web Design Blog</title>
		<link>http://www.screenshine.net/blog/1474_wordpress-plugin-show-active-category#comment-903</link>
		<dc:creator>Highlight Wordpress Category when on a Single Post: Tutorial &#124; Design Shard &#124; Web Design Blog</dc:creator>
		<pubDate>Sun, 12 Oct 2008 19:13:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenshine.net/blog/?p=1474#comment-903</guid>
		<description>[...] Download the plug-in: Here (zip) From: Screenshine [...]</description>
		<content:encoded><![CDATA[<p>[...] Download the plug-in: Here (zip) From: Screenshine [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: cbeier</title>
		<link>http://www.screenshine.net/blog/1474_wordpress-plugin-show-active-category#comment-857</link>
		<dc:creator>cbeier</dc:creator>
		<pubDate>Wed, 20 Aug 2008 07:50:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenshine.net/blog/?p=1474#comment-857</guid>
		<description>Hi Dirk, nee, war meine Dummheit. Funktioniert wunderbar!!
Bl&#246;d, wenn man lokal andere Inhalte hat und online irgendwie bei nem Artikel alle Kategorien aktiviert hat… *pfeiff*</description>
		<content:encoded><![CDATA[<p>Hi Dirk, nee, war meine Dummheit. Funktioniert wunderbar!!<br />
Bl&#246;d, wenn man lokal andere Inhalte hat und online irgendwie bei nem Artikel alle Kategorien aktiviert hat… *pfeiff*</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: hc</title>
		<link>http://www.screenshine.net/blog/1474_wordpress-plugin-show-active-category#comment-855</link>
		<dc:creator>hc</dc:creator>
		<pubDate>Tue, 19 Aug 2008 09:56:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenshine.net/blog/?p=1474#comment-855</guid>
		<description>ich hab es mal f&#252;r mich angepasst. aber danke f&#252;r deine reaktion!
gr&#252;&#223;e, hauke

hier meine &#228;nderungen:
--------------------------

if( is_single() ) {
	$categories = wp_get_post_categories($post-&#62;ID);
	foreach( $categories as $catid ) {
		$cat = get_category($catid);
		$catParent = get_category($cat-&#62;category_parent);
		if(preg_match('#&#62;' . $cat-&#62;name . '&lt;/a&gt;#', $text)) 
		{
			$text = str_replace('&#62;' . $cat-&#62;name . '&lt;/a&gt;', ' class="active_category"&#62;' . $cat-&#62;name . '&lt;/a&gt;', $text);
		}
		else if (preg_match('#&#62;' . $catParent-&#62;name . '&lt;/a&gt;#', $text)) 
		{
			$text = str_replace('&#62;' . $catParent-&#62;name . '&lt;/a&gt;', ' class="active_category"&#62;' . $catParent-&#62;name . '&lt;/a&gt;', $text);
		}
	}
}</description>
		<content:encoded><![CDATA[<p>ich hab es mal f&#252;r mich angepasst. aber danke f&#252;r deine reaktion!<br />
gr&#252;&#223;e, hauke</p>
<p>hier meine &#228;nderungen:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>if( is_single() ) {<br />
	$categories = wp_get_post_categories($post-&gt;ID);<br />
	foreach( $categories as $catid ) {<br />
		$cat = get_category($catid);<br />
		$catParent = get_category($cat-&gt;category_parent);<br />
		if(preg_match(&#8217;#&gt;&#8217; . $cat-&gt;name . &#8216;#&#8217;, $text))<br />
		{<br />
			$text = str_replace(&#8217;&gt;&#8217; . $cat-&gt;name . &#8216;&#8216;, &#8216; class=&#8221;active_category&#8221;&gt;&#8217; . $cat-&gt;name . &#8216;&#8216;, $text);<br />
		}<br />
		else if (preg_match(&#8217;#&gt;&#8217; . $catParent-&gt;name . &#8216;#&#8217;, $text))<br />
		{<br />
			$text = str_replace(&#8217;&gt;&#8217; . $catParent-&gt;name . &#8216;&#8216;, &#8216; class=&#8221;active_category&#8221;&gt;&#8217; . $catParent-&gt;name . &#8216;&#8216;, $text);<br />
		}<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: dirk</title>
		<link>http://www.screenshine.net/blog/1474_wordpress-plugin-show-active-category#comment-854</link>
		<dc:creator>dirk</dc:creator>
		<pubDate>Mon, 18 Aug 2008 20:40:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenshine.net/blog/?p=1474#comment-854</guid>
		<description>@cbeier: bist du dir sicher, dass das problem an wp 2.6.1 liegt? hab es gerade lokal getestet und kann den fehler nicht nachvollziehen.

@hc: es war gar nicht meine absicht, dass die oberkategorie(n) mit hervorgehoben. sollte so etwas tats&#228;chlich gew&#252;nscht werden, k&#246;nnte ich mir mal gedanken dazu machen, dass plugin dahingehend zu erweitern.

danke f&#252;r das feedback!</description>
		<content:encoded><![CDATA[<p>@cbeier: bist du dir sicher, dass das problem an wp 2.6.1 liegt? hab es gerade lokal getestet und kann den fehler nicht nachvollziehen.</p>
<p>@hc: es war gar nicht meine absicht, dass die oberkategorie(n) mit hervorgehoben. sollte so etwas tats&#228;chlich gew&#252;nscht werden, k&#246;nnte ich mir mal gedanken dazu machen, dass plugin dahingehend zu erweitern.</p>
<p>danke f&#252;r das feedback!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: hc</title>
		<link>http://www.screenshine.net/blog/1474_wordpress-plugin-show-active-category#comment-852</link>
		<dc:creator>hc</dc:creator>
		<pubDate>Mon, 18 Aug 2008 15:21:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenshine.net/blog/?p=1474#comment-852</guid>
		<description>moin,
sehr nett das plugin, ABER... ;-)
... kann es sein, dass die oberkategorien (current-cat-parent) hierbei nicht ber&#252;cksichtigt werden??

z.B.: wp_list_categories('depth=1')
stylesheets-Klassen:
 .current-cat, 
 .current-cat-parent, 
 .active_category 

f&#252;r die unterkategorien klappts, aber es sollten beide hervorgehoben werden.

danke schon mal vorab f&#252;r feedback und nat&#252;rlich f&#252;r das plugin!</description>
		<content:encoded><![CDATA[<p>moin,<br />
sehr nett das plugin, ABER&#8230; ;-)<br />
&#8230; kann es sein, dass die oberkategorien (current-cat-parent) hierbei nicht ber&#252;cksichtigt werden??</p>
<p>z.B.: wp_list_categories(&#8217;depth=1&#8242;)<br />
stylesheets-Klassen:<br />
 .current-cat,<br />
 .current-cat-parent,<br />
 .active_category </p>
<p>f&#252;r die unterkategorien klappts, aber es sollten beide hervorgehoben werden.</p>
<p>danke schon mal vorab f&#252;r feedback und nat&#252;rlich f&#252;r das plugin!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: dirk</title>
		<link>http://www.screenshine.net/blog/1474_wordpress-plugin-show-active-category#comment-850</link>
		<dc:creator>dirk</dc:creator>
		<pubDate>Mon, 18 Aug 2008 05:41:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenshine.net/blog/?p=1474#comment-850</guid>
		<description>hallo christine, danke f&#252;r den hinweis. ich schau mir das heute abend mal an und versuche das problem zu l&#246;sen.</description>
		<content:encoded><![CDATA[<p>hallo christine, danke f&#252;r den hinweis. ich schau mir das heute abend mal an und versuche das problem zu l&#246;sen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: cbeier</title>
		<link>http://www.screenshine.net/blog/1474_wordpress-plugin-show-active-category#comment-849</link>
		<dc:creator>cbeier</dc:creator>
		<pubDate>Sun, 17 Aug 2008 16:32:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenshine.net/blog/?p=1474#comment-849</guid>
		<description>Leider ist bei WP 2.6.1 Schlu&#223;… Dort werden mit dem Plugin s&#228;mtliche Kategorien hervorgehoben :-(</description>
		<content:encoded><![CDATA[<p>Leider ist bei WP 2.6.1 Schlu&#223;… Dort werden mit dem Plugin s&#228;mtliche Kategorien hervorgehoben :-(</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: dirk</title>
		<link>http://www.screenshine.net/blog/1474_wordpress-plugin-show-active-category#comment-838</link>
		<dc:creator>dirk</dc:creator>
		<pubDate>Tue, 05 Aug 2008 09:25:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenshine.net/blog/?p=1474#comment-838</guid>
		<description>@monika: es wird jede kategorie, zu der ein artikel geh&#246;rt, mit der neuen klasse versehen, d.h. es werden auch mehrer kategorien hervorgehoben.</description>
		<content:encoded><![CDATA[<p>@monika: es wird jede kategorie, zu der ein artikel geh&#246;rt, mit der neuen klasse versehen, d.h. es werden auch mehrer kategorien hervorgehoben.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: KJ</title>
		<link>http://www.screenshine.net/blog/1474_wordpress-plugin-show-active-category#comment-837</link>
		<dc:creator>KJ</dc:creator>
		<pubDate>Tue, 05 Aug 2008 08:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.screenshine.net/blog/?p=1474#comment-837</guid>
		<description>This is a great help thanks. I was wondering why this wasn't already core functionality but I guess that if you are using the categories as a navigation then having multiple categories highlighted (if the post has multiple categories assigned) could be confusing. Still, it would be good if this was an optional feature in wordpress.

Cheers!</description>
		<content:encoded><![CDATA[<p>This is a great help thanks. I was wondering why this wasn&#8217;t already core functionality but I guess that if you are using the categories as a navigation then having multiple categories highlighted (if the post has multiple categories assigned) could be confusing. Still, it would be good if this was an optional feature in wordpress.</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
