Ok, I'm having a hard time learning Queary codes. I'm using WidgetLogic (great plugin!) and I need to figure out how to set one of them not to show on my mobile theme.
So if my theme is "YCSMNews2Mobile" my query should be: "!if_theme_YCSMNEWS2MObile()" ???
alanft
Member
Posted 6 months ago #
the only theme conditional tag I know of is the 'theme supports' one, which may be no use to you. You might be better off using get_bloginfo()...
http://codex.wordpress.org/Function_Reference/get_bloginfo
something like
return get_bloginfo('template_directory','raw')=='http://www.example.com/home/wp/wp-content/themes/my_mobile_theme_folder'