<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Topic: add text with function only to certain category WooCommerce</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Wed, 22 May 2013 00:14:21 +0000</pubDate>

<item>
<title>helgatheviking on "add text with function only to certain category WooCommerce"</title>
<link>http://themeshaper.com/forums/topic/add-text-with-function-only-to-certain-category-woocommerce#post-27335</link>
<pubDate>Thu, 07 Jun 2012 18:31:53 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">27335@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;1. please note that thematic has moved to &#60;a href=&#34;http://www.thematictheme.com&#34; rel=&#34;nofollow&#34;&#62;www.thematictheme.com&#60;/a&#62; and all future questions should be posted there.&#60;/p&#62;
&#60;p&#62;2. i can't really see how this is a thematic question since you are adding content to a woocommcerce hook and wondering about wordpress conditional logic, but i suggest looking in the woocommerce docu for conditional / template tags... i want to say is_shop() exists()&#60;/p&#62;
&#60;p&#62;is_home() actually refers to your BLOG home.&#60;/p&#62;
&#60;p&#62;is_front_page() is always the front page.
&#60;/p&#62;</description>
</item>
<item>
<title>mrmikeman on "add text with function only to certain category WooCommerce"</title>
<link>http://themeshaper.com/forums/topic/add-text-with-function-only-to-certain-category-woocommerce#post-27334</link>
<pubDate>Thu, 07 Jun 2012 17:02:26 +0000</pubDate>
<dc:creator>mrmikeman</dc:creator>
<guid isPermaLink="false">27334@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Im making a site with WooCommerce and Thematic, i always get stuck on adding functions/hooks...&#60;/p&#62;
&#60;p&#62;I need to add text on top of my Shop page/ Home page as well as different text on top of Category pages but all different text.. i know this can be done with some conditional statements.. but even using the wp codex things dont seem to want to work&#60;/p&#62;
&#60;p&#62;this is my current code&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function home_content()
{
     echo &#38;#39;&#38;lt;strong&#38;gt;My Text Here&#38;#39;;
}

add_action(&#38;#39;woocommerce_before_shop_loop_item_title&#38;#39;, &#38;#39;home_content&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;maybe the reson i couldnt do it is cause, is_home which i used before, is not right since my Home is actually my &#34;shop&#34; according to WooCommerce... &#60;/p&#62;
&#60;p&#62;could someone wrap that code for me conditionally for the home/shop and category pages?&#60;/p&#62;
&#60;p&#62;Thank you!
&#60;/p&#62;</description>
</item>

</channel>
</rss>
