csomosan
Forum Replies Created
-
Thanks Markus.
I tried EM_TAXONOMY_CATEGORY like this:
…
else if ($post->post_type == EM_POST_TYPE_EVENT || $post->post_type == EM_TAXONOMY_CATEGORY || $post->post_type == EM_POST_TYPE_LOCATION)
get_sidebar(‘activities’);
…It does work for the Event Details page (single event page), the Locations (Locations page and single location details page), for Event Categories page (the page listing all the categories as a list), but not for the Event Category Details page (the page listing the details about a single category).
It seems the post_type for the Event Category Details page is not EM_TAXONOMY_CATEGORY and as such my activities sidebar is not picked as for the others.
Any hints? Thanks again.
Thanks for the fix. 5.0.3 does indeed fix it.
Sounds good. Thanks.
Great. Many thanks Marcus.
The post type test works the best for me.
I also used
if ($post->post_type == EM_POST_TYPE_LOCATION)
get_sidebar(‘activities’);
for Location and it works great.However, I tried similarly (EM_POST_TYPE_CATEGORY or EM_POST_TYPE_EVENT_CATEGORY) for Event Category but it does not seem to work.
Any help here? What would I need to use for event category?
Many thanks again.
Calin