Support | Kriesi.at - Premium WordPress Themes » Topic Tag: conditional tagshttp://www.kriesi.at/support
Premium ThemesTue, 31 Mar 2015 21:07:00 +0000en-UShourly1http://wordpress.org/?v=4.1.1Adding conditional tags to single.phphttp://www.kriesi.at/support/topic/adding-conditional-tags-to-single-php/
http://www.kriesi.at/support/topic/adding-conditional-tags-to-single-php/#commentsSun, 16 Nov 2014 15:17:35 +0000http://www.kriesi.at/support/topic/adding-conditional-tags-to-single-php/I’m using single posts to display products on my site…. but I’m wanting to only display a certain image based on category. I’ve tried to place conditional tags within the single.php file in various locations using PHP open and closing tags…but I just get a white screen no matter where I place the code in […]

]]>I’m using single posts to display products on my site….
but I’m wanting to only display a certain image based on category. I’ve tried to place conditional tags within the single.php file in various locations using PHP open and closing tags…but I just get a white screen no matter where I place the code in the single.php template file.

Any assistance with this matter? It would save me hours of work adding the photos manually to roughly 100 posts.

]]>http://www.kriesi.at/support/topic/adding-conditional-tags-to-single-php/feed/0WooCommerce conditional tagshttp://www.kriesi.at/support/topic/woocommerce-conditional-tags/
http://www.kriesi.at/support/topic/woocommerce-conditional-tags/#commentsFri, 10 Feb 2012 23:57:07 +0000http://www.kriesi.at/supportit/topic/woocommerce-conditional-tags/Hi, I am using Abunadnce theme and Widget Logic plugin to get a widget to appear only in several pages. But the problem is that I want a widget to appear on a WooCommerce product category page and in all the products of this category, and there are no default WordPress conditional tags for this. […]

I am using Abunadnce theme and Widget Logic plugin to get a widget to appear only in several pages. But the problem is that I want a widget to appear on a WooCommerce product category page and in all the products of this category, and there are no default WordPress conditional tags for this. The conditional tags for WooCommerce are http://www.woothemes.com/woocommerce-codex/extending-woocommerce/woocommerce-conditionals/ but I don´t know how to use them properly. Could anyone help me with this?