Replies: 0
My doubt is related to the section: “Exceptions: Post Tags and Categories”
Using simply:
function my_em_own_taxonomy_register(){
register_taxonomy_for_object_type('category',EM_POST_TYPE_EVENT);
register_taxonomy_for_object_type('category',EM_POST_TYPE_LOCATION);
register_taxonomy_for_object_type('category','event-recurring');
}
add_action('init','my_em_own_taxonomy_register',100);
The following shortcode calls are correct?
[events_list post_category="featured,-hidden"]
[locations_list post_category="featured,-hidden"]
Otherwise, I can not register the standard “category” of wordpress and you, in the tutorial, recommend to register a “custom_category” instead?
To understand us: with standard “category” I refer to the categories that can also be associated with post and pages
PS This question is similar to: post_category-dont-work-as-filter, events-manager-using-post-categories
- This topic was modified 34 minutes ago by raruto.
- This topic was modified 33 minutes ago by raruto.
- This topic was modified 32 minutes ago by raruto.
- This topic was modified 31 minutes ago by raruto.
- This topic was modified 30 minutes ago by Jan Dembowski.
- This topic was modified 27 minutes ago by raruto.