Bastien Bournet-Charrier

Forum Replies Created

Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • in reply to: French Translation – Filter Bar #168038
    in reply to: Event not clickable in Week view #83076

    Hi 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,
    Bastien

    in reply to: Events not showing in category #82895

    Hey 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,
    Bastien

    in reply to: Events not showing in category #82832

    Hey Barry,

    Thank you for your answer! What I am referring to is a regular WordPress Category called “Events”.

    Kind regards,
    Bastien

    in reply to: Events not showing in category #82262

    That 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,
    Bastien

    in reply to: Better Buddypress Integration #82241

    Thank 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

Viewing 6 posts - 16 through 21 (of 21 total)