coldrake
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Llorix One Lite] Preloader “page loading” GIF hugeAny thoughts on this?
Thanks!
Forum: Themes and Templates
In reply to: [Llorix One Lite] Preloader “page loading” GIF hugehttp://www.ldaottawa.com/civi/
You may not see it if your connection is really fast.
- This reply was modified 9 years, 4 months ago by coldrake.
Never mind. It was what I assume was a caching issue and resolved itself.
Forum: Plugins
In reply to: [WooCommerce] Redirect to single product in subcategoryThanks for the quick response.
I’ve tried both
$queried_object = get_queried_object(); var_dump( $queried_object );$catid = get_queried_object_id(); var_dump ($catid);Regardless of whether I’m on a category or product page; the first one returns NULL, and the second returns int(0).
Forum: Plugins
In reply to: [WooCommerce] Redirect to single product in subcategoryThat’s the problem. Everything I try to pull up the id of the current category comes back empty.
Forum: Plugins
In reply to: [WooCommerce] Redirect to single product in subcategoryThat makes sense. Thanks!
If I am understanding correctly I need to feed the get_term_children function the term id and taxonomy name. I’ve been trying to get those values for the current category but everything comes back empty. Clearly there is something I’m not getting.
I’ve tried get_term_by and get_queried_object and a few others but, no matter whether parent or child category, they are always empty. Are these dependant on a post id to get the related taxonomy info?
Any hints?
Thanks!
Forum: Plugins
In reply to: Recommendations for nursery catalogSomehow I managed to post this in Plugins and Hacks. I had intended to post in Miscellaneous. If a Mod sees, this could it please be moved?
Thanks!