Forum Replies Created
-
AuthorPosts
-
Jonah
ParticipantHi Annette,
Unfortunately I don’t believe this is possible or at least I don’t know of an easy way to accomplish it. The easiest way to do this would be to manually link to the month with events like: http://www.yoururl.com/events/2012-06 – you could easily do this through the WordPress custom menus screen. The only downside is you would need to manually update that link but that should be doable if you only have events running 6 months of the year.
I hope that helps!
Cheers,
JonahMay 21, 2012 at 11:00 am in reply to: Tribe_get_events malfunctioning when using transients API #19456Jonah
ParticipantHey Jesse,
I’m not sure if this has been implemented or not but would you please post your code somewhere else so we can read it? http://postie.org / http://pastebin.com / http://gist.github.com
Thanks,
JonahJonah
ParticipantHi Peter,
We don’t offer any built in functionality for filtering so you would need to code this on your own. You can easily create custom fields for your events via Settings > The Events Calendar > Additional Fields but then you would need to add the special functionality for filtering from those fields.
Good luck!
Jonah
ParticipantHi Kelly,
I guess I don’t fully understand what you’re trying to do… Are you trying to query the next 5 events and that’s it?
Jonah
ParticipantThanks for your vote Sheila, we understand this is an important feature and will consider it for an upcoming feature 🙂
I’m closing out this thread since it’s becoming quite long. If anyone wants to continue the discussion on it, please open up a new thread.
Jonah
ParticipantHi Javier,
It looks like you’ve got some PHP errors somewhere in your theme. Unfortunately you’ll need to sort these out yourself as I have no idea what the problem could be. When making customizations its best to make one at a time and verify nothing broke with your changes. That way, when you make a change and notice things are not working you know that it was probably something with that change that caused the problem.
I hope that helps!
Cheers,
JonahJonah
ParticipantHi Javier,
To modify the loop you’ll want to use: http://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts
Cheers,
JonahJonah
Participant@Jeremy, that’s brilliant, thanks for sharing!
@David, you’re going to want to modify the RSS template to use: tribe_get_event_link() instead of get_permalink() or the_permalink()Cheers,
JonahJonah
ParticipantHi Craig,
Unfortunately we do not offer custom reoccurrence patterns that do not follow a pattern right now. This may be a feature we’ll introduce in a future version though.
I’m not sure what your question is about Community needing to be idiot proof. Can you please clarify?
Thanks,
JonahJonah
ParticipantHi Jim,
The ecp-page-template.php file can be modified and if you do modify put it in an ‘events’ folder inside your theme.
Have you tried changing the Events Template setting in Settings > The Events Calendar > Template? There you can force the plugin to use your themes page.php template instead of ecp-page-template.php
Maybe that will help? You’re likely going to need to use some conditional logic to determine the sidebar situation on different events pages. I’ve put together some conditional wrappers covering the primary event related pages so this should help you: https://gist.github.com/2415009
Cheers,
JonahJonah
ParticipantHey Jim, make sure that the ‘events’ folder is in your theme folder not the ‘themes’ folder for WordPress 🙂
Jonah
ParticipantHi Jim,
For some reason your changes are not taking effect. I tested the code you put in single.php and it looks and works ok for me. So, in your main theme folder you created an ‘events’ folder and put the modified single.php file in there? Do you have a child theme installed? If so, you would want to create the ‘events’ folder in it… If you provide me FTP credentials I can login and take a look at what you’ve got on the server. You can email to jonah [at] tri [dot] be
Cheers,
JonahJonah
ParticipantHey Javier,
In my previous post you would just need to modify the CSS. When on a particular event category page you should have .events-category-{your-category-slug} as one of the body tag classes which will allow you to create declaration in your CSS like:
.events-category-{your-category-slug} .event-title {
color: #ccc;
}
… or for individual events each one is appended with a .cat_{your-category-slug} class that you can create CSS declarations for to style them individually.Any CSS could either go in your themes style.css file or the /wp-content/plugins/the-events-calendar/resources/events.css (make a copy and place in an ‘events’ folder in your theme first).
So, you don’t necessarily have to modify any PHP to get category specific styling.
To answer your other questions in more detail:
1. There is no specific PHP file for categories in the views folder. These files are more general templates used for the main event views on the website.
2. You only need to create an ‘events’ folder in your theme if you’re changing any of the /wp-content/plugins/the-events-calendar/views or /wp-content/plugins/events-calendar-pro/views files or the /wp-content/plugins/the-events-calendar/resources/events.css file.
3. The events post type is ‘tribe_events’ and the taxonomies used are ‘tribe_events_cat’, ‘tribe_venue’ and ‘tribe_organizer’.
I hope that helps!
Cheers,
JonahJonah
ParticipantHi Yancy,
As a workaround what about using something like: http://wordpress.org/extend/plugins/admin-menu-editor/ – to hide the Posts menu option for contributors? It’s not ideal but it should work.
– Jonah
Jonah
ParticipantHere’s a few different conditional wrappers that should help give you some ideas: https://gist.github.com/2415009
Event categories are taxonomies so you would just need to pass in the taxonomy name into the is_tax function to test for specific cats.
Good luck!
-
AuthorPosts
