post_category don’t work as filter
-
I try it than this example:
http://wp-events-plugin.com/tutorials/using-additional-custom-taxonomies/functions.php:
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);It works in the Event form but the Shortcode and the php code don’t work:
[events_list post_category=”common”]
echo EM_Events::output(array(‘post_category’ => ‘common’));I try it with the category id and the name.
The following post categories are created:
common -> 1
ffw-public -> 4what is wrong?
The topic ‘post_category don’t work as filter’ is closed to new replies.