• Resolved Texiwill

    (@texiwill)


    Hello,

    I am trying to get everything to only load when ‘tribe_is_event’ instead of on every page. So far I have figured out how to dequeue most of the javascript, css. But there are some datatables and elements in the footer that still get loaded. Is there a way to do this so that tribe elements ONLY appear on my event calendar pages and not everywhere else. It really clutters up things.

    Perhaps there is a primitive that can do this on one go?

    The real problem is the wp_footer (that I can figure out) and the l10n_datatables, the rest is using other filters.

    I thought maybe there was a tribe filter I can use instead of all the standard WP ones.

    Thoughts?

    Best regards
    Edward Haletky

Viewing 1 replies (of 1 total)
  • Hi Edward,

    Thanks for reaching out and for using The Events Calendar! We’re unfortunately not able to provide support for advanced customizations like this on this forum, but I think you may find our functions list helpful.

    Best of luck with this one!

    Shelby ??

Viewing 1 replies (of 1 total)
  • The topic ‘Load JS/CSS/Data only on Event Calendar Pages’ is closed to new replies.