Forum Replies Created
-
AuthorPosts
-
Bastien Bournet-Charrier
ParticipantAs promised, here are the .mo and .po files for Filter Bar French translation :
https://drive.google.com/file/d/0B_-JNDqwSUVYNkNSME9KeVBvcDA/edit?usp=sharing
https://drive.google.com/file/d/0B_-JNDqwSUVYcEs2ZkZEOEtsVGc/edit?usp=sharingBastien Bournet-Charrier
ParticipantHi Barry,
Thank you for your answer. I will suggest a different behavior in the UserVoice, I feel like events should be clickable even in the week view.
Regards,
BastienBastien Bournet-Charrier
ParticipantHey Barry,
Once again, thank you for your answer. It would be doable that way for sure, but I’d like to stay away from creating a new widget as far as possible.
I had the same issue with another plugin that created posts with a custom taxonomy. I fixed the problem using this custom function :
function id_add_custom_types( $query ){
$project_cat = get_term_by(‘slug’, ‘projects’, ‘category’);
if( $project_cat && $query->is_main_query() && (‘projects’ == $query->query_vars[‘category_name’] || $project_cat->term_id == $query->query_vars[‘cat’]) ) {
$query->set(‘post_type’, array(‘post’,’ignition_product’));
}
}
add_filter( ‘pre_get_posts’, ‘id_add_custom_types’ );Wouldn’t it be possible to use the same solution? Isn’t there a custom taxonomy I could use, something like modern_tribe_event? The code would then be along of lines of :
function tec_add_custom_types( $query ){
$project_cat = get_term_by(‘slug’, ‘events’, ‘category’);
if( $project_cat && $query->is_main_query() && (‘projects’ == $query->query_vars[‘category_name’] || $project_cat->term_id == $query->query_vars[‘cat’]) ) {
$query->set(‘post_type’, array(‘post’,’modern_tribe_event’));
}
}
add_filter( ‘pre_get_posts’, ‘tec_add_custom_types’ );If you can’t help that’s fine, I guess I’ll have to address this concern to our developers. However, I was hoping for a simple solution.
Regards,
BastienBastien Bournet-Charrier
ParticipantHey Barry,
Thank you for your answer! What I am referring to is a regular WordPress Category called “Events”.
Kind regards,
BastienBastien Bournet-Charrier
ParticipantThat wasn’t really what I was looking for but I hadn’t seen the list feature before. After taking a quick look at it, it will probably suits us (taking in consideration the next version of TEC includes a filtering sidebar).
Thank you for your answer Brook.
Regards,
BastienBastien Bournet-Charrier
ParticipantThank you for your answer Barry,
I’ve submitted some of them in already existing topics about buddypress integration and event synchronization/subscription
All best,
Bastien -
AuthorPosts
