Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1350532

    I am trying to override this file that is in this path

    /wp-content/themes/parent-theme/config-events-calendar/views/single-event-no-mobile.php

    I did do a overwrite in my child theme /wp-content/themes/child-theme/tribe-events/single-event.php and I also did it with this /wp-content/themes/child-theme/tribe-events/single-event-no-mobile.php

    but it didn’t overwrite. Please send help

    #1350566

    Hey Jason,

    Thank you for the inquiry.

    Try to add this code in the functions.php file to remove the template modifications from the theme.

    add_action("after_setup_theme", function() {
        remove_action( 'tribe_events_template', 'avia_events_template_paths', 10, 2 );
    }, 999);
    

    You should now be able to override the template files as described in plugin documentation.

    // https://theeventscalendar.com/knowledgebase/k/customizing-template-files-2/
    // https://theeventscalendar.com/knowledgebase/k/customizing-template-files/

    Best regards,
    Ismael

    #1352687

    it worked thank you :D

    #1352702

    Hi jgax87,

    I’m glad that Ismael could help you :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Events Calendar Override’ is closed to new replies.