Home › Forums › Calendar Products › Events Calendar PRO › events.css
- This topic has 10 replies, 4 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
January 6, 2012 at 7:51 am #12937
Jason
ParticipantI’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?
January 6, 2012 at 12:49 pm #12961Rob
MemberHey 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.
January 7, 2012 at 2:38 pm #12990Jonah
ParticipantHi 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,
JonahJanuary 9, 2012 at 5:57 am #13014Jason
ParticipantJanuary 9, 2012 at 5:59 am #13015Jason
ParticipantI 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
January 9, 2012 at 6:14 am #13016Jason
Participant…forgot about paste bin
Template being called : event-template.php (http://pastebin.com/uS6X3urW)
include file : single.php (http://pastebin.com/Y7nAB1WB)January 9, 2012 at 4:39 pm #13062Rob
MemberThanks Jason. This is helpful; Jonah should be able to comment directly from here.
January 9, 2012 at 5:01 pm #13074Jonah
ParticipantHey 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.
January 10, 2012 at 6:16 am #13116Jason
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.
January 10, 2012 at 9:13 am #13118Jonah
ParticipantHi Jason, glad you figured it out. If there’s anything else we can help you with let us know.
July 2, 2015 at 5:00 pm #975040Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘events.css’ is closed to new replies.
