events.css

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #12937
    Jason
    Participant

    I’m noticing that in the events calendar plugin that the /resources directory contains a file called events.css which I understand to be the default css file for the plugin.

    On my event page that I created, the event template is being invoked, albeit poorly due to my theme, but when I browse the source I notice that the events.css file isn’t being injected by the plugin. It’s not called in single-venue.php.

    Am I supposed to manually include it in my header?

    #12961
    Rob
    Member

    Hey Jason. Thanks for the note. I am not sure about this; you won’t have to manually include it, no, but our developer Jonah may have an idea what’s up. I’ve passed this his way so he can comment directly.

    #12990
    Jonah
    Participant

    Hi Jason,

    It should be being loaded in single-venue.php and any events template file. Can you provide a link to your site so I can view the source?

    Thanks,
    Jonah

    #13014
    Jason
    Participant
    #13015
    Jason
    Participant

    I don’t see a way to attach files, if you provide me with an email address I can email the template files so you can see the PHP code that is generating the mark-up

    #13016
    Jason
    Participant

    …forgot about paste bin

    Template being called : event-template.php (http://pastebin.com/uS6X3urW)
    include file : single.php (http://pastebin.com/Y7nAB1WB)

    #13062
    Rob
    Member

    Thanks Jason. This is helpful; Jonah should be able to comment directly from here.

    #13074
    Jonah
    Participant

    Hey Jason, this is very strange… What version of The Events Calendar and WordPress are you running? I would first suggest reinstalling both. Second, is there any code in your theme or a plugin that could be removing the events.css? Try disabling all plugins except for The Events Calendar and checking again and try switching to the default Twenty Eleven theme to see if that fixes it… Let me know what you find.

    #13116
    Jason
    Participant

    @Jonah

    I Figured it out. I looked at your included templates and realized that you’re using the singleton method of querying the post type and declaring $post as a global var. Still puzzling why using the wp loop would give me different results. Oh well.

    #13118
    Jonah
    Participant

    Hi Jason, glad you figured it out. If there’s anything else we can help you with let us know.

    #975040
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘events.css’ is closed to new replies.