For developers
-
The plugin works well but it’s not another “end user” plugin.
If you are not a dev, look for another solution because it will not magically show a list of events with start date and time / end date and time functionnality, you’ll need to work on it’s available filters and some custom fields for that.Otherwise, thanks for the job, its works well except for the tax_query
$args[‘tax_query’] = array();
foreach ( get_object_taxonomies($post_type) as $taxonomy_name ) {
if ( !empty($_REQUEST[$taxonomy_name]) ) {
$args[‘tax_query’][] = array(
‘taxonomy’ => $taxonomy_name,
‘field’ => ‘id’,
‘terms’ => absint($_REQUEST[$taxonomy_name]),
);
}
}For some reason, if you create / edit a custom post type’s custom taxonomy, the events stop showing altogether in the calendar, even if the wpfc_post_taxonomies options field is empty. So I had to comment that whole part for it to work again.
- The topic ‘For developers’ is closed to new replies.