Help Desk

Load Stylesheets on Non-Event Page

  • Posts: 1 Topics: 4
    | Permalink

    I am using the function, tribe_venue_upcoming_events(), on a page that is not an Events page so the CSS is not rendering for the upcoming events.

    I assume the CSS is not rendering correctly because the stylesheets do not get loaded on non-Event pages. Is there a function within the plugin available that I can call which will load all stylesheets or do I need to use enqueue statements?

    Page that is displaying a single venue (CSS is correct): https://ironmountainarea.com/venue/pine-mountain-resort/
    Page that is displaying upcoming events not part of the Event pages: https://ironmountainarea.com/directory/pine-mountain/

    Posts: 1516
    | Permalink

    Hi Ricarda,

    Thanks so much for reaching out!

    Unfortunately, there is not a function available where you can load stylesheets in other parts of your site.  Just for your reference, here are our available functions:

    https://theeventscalendar.com/functions/

    I wish I could be of more help, but we are limited by our Support Policy in how much we can assist with customizations.

    If this functionality is a requirement for your intended project, I’d suggest that a third-party developer would be the best way to make this feature happen on a short timeline. 🙂 We maintain a list of developers who work with our plugins on our Knowledgebase here:

    https://theeventscalendar.com/knowledgebase/find-a-customizer/

    Let me know how it goes and if you have any other questions!

     

    Thanks,

    Jaime

    Posts: 4
    | Permalink

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

    | Permalink

The topic ‘Load Stylesheets on Non-Event Page’ is closed to new replies.