Using Additional Custom Taxonomies
-
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 7 years, 7 months ago by .
- This topic was modified 7 years, 7 months ago by .
- This topic was modified 7 years, 7 months ago by .
- This topic was modified 7 years, 7 months ago by .
- This topic was modified 7 years, 7 months ago by .
- This topic was modified 7 years, 7 months ago by .
The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Using Additional Custom Taxonomies’ is closed to new replies.