New Landing How can we help? Themeforest Theme Support Dante Events Calendar Compatibility (or lack thereof)

Viewing 6 posts - 16 through 21 (of 21 total)
  • Posted in: Dante
  • #99578
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Try editing functions.php line 207 from:

    if ( !is_singular('tribe_events') && $post_type != 'tribe_events' ) {

    to

    if ( !is_singular('tribe_events') && $post_type != 'tribe_events' && !is_post_type_archive('events') && !is_post_type_archive('tribe_events')) {

    Let me know.

    – Ed

    #100889
    FNFWeb
    Member
    Post count: 27

    No dice : (

    #100891
    FNFWeb
    Member
    Post count: 27

    I don’t think I really need the maps functionality that comes in the theme at all. Is there a way to just turn it off alltogether?

    #100894
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Sure, just remove line 208 from functions.php:

    wp_enqueue_script('sf-maps');

    – Ed

    #100896
    FNFWeb
    Member
    Post count: 27

    That fixes all my problems, thanks.

    It might be nice to include an on/off toggle in the theme settings for this in the future, since quite a few plugins come with Google maps API integration and it’s likely to cause conflicts.

    Thanks for helping me troubleshoot.

    #101011
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I am glad that your issue resolved. Thanks Ed 🙂 .
    With Best Regards
    Mohammad

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register