Forum Replies Created
-
AuthorPosts
-
Jonah
ParticipantHi Jennifer,
Event categories use the same template views as regular event pages and all you need to do is throw in some conditional code to check if you are on a particular category for whatever view you want to affect.
if( is_tax('tribe_events_cat','celebrations') ) ) {
//execute whatever code you want for the "celebrations" category slug
}
You might want to checkout our themer’s guide for more information on theming and template views: https://theeventscalendar.com/themers-guide-to-the-events-calendar/Does that help?
– Jonah
June 25, 2012 at 11:23 am in reply to: Can the “Upcoming Events” appearing on the bottom of the event page be removed? #21154Jonah
ParticipantHi Lydia,
You would basically just remove both of those lines completely. Let me know whether or not that works.
– Jonah
Jonah
ParticipantHi Lydia,
To remove the address block, you can remove lines 74-84 in the original /wp-content/plugins/the-events-calendar/views/single.php – take a look at that file for reference of what to remove in your modified version because the line numbers will be different.
– Jonah
Jonah
ParticipantCan you guys please share exactly how you are creating the menu/theme locations and the code you are using in your templates to call the menus?
Thanks,
JonahJune 24, 2012 at 8:29 pm in reply to: CSS edits needed, default Events Page template interaction with theme #21137Jonah
ParticipantHi James,
It seems like your best bet is going to be to use the Default Events Template, I’m not quite sure why the Default Page Template is not working but it must be some incompatibility with your theme.
What you’ll need to do to get up and running with the Default Events Template is one of two options.
1. Add Before & After HTML in Settings > The Events Calendar > Template and include the particular markup (wrapper div’s) from your theme to wrap the calendar. You can likely find this in your theme’s page.php template. Look for what’s missing in the markup when you inspect the page.
2. Edit /wp-content/plugins/the-events-calendar/views/ecp-page-template.php by making a copy and placing in an ‘events’ folder in your theme. Then, do the same thing in that file. Add the necessary HTML wrappers particular to your theme to get the calendar wrapped nicer.
I hope that helps!
– Jonah
Jonah
ParticipantHi Andrew,
I’m not quite sure why this isn’t working for you although it probably has something to do with it being inside the loop. Unfortunately we do not have the resources to be able to support customization like this so you’re on your own. One thing that might help you is the Debug Bar (http://wordpress.org/extend/plugins/debug-bar/) and Debug Bar Extender (http://wordpress.org/extend/plugins/debug-bar-extender/) plugins to help you troubleshoot the current query and variables.
Good luck and please do post back here if you have any success!
Thanks,
JonahJune 23, 2012 at 10:18 am in reply to: Can the “Upcoming Events” appearing on the bottom of the event page be removed? #21107Jonah
ParticipantHi Lydia,
The prev/next events at the bottom of individual events is in /wp-content/plugins/the-events-calendar/views/single.php (or in your overridden single.php file in an ‘events’ folder in your theme). Lines 109 & 111 are the lines to work with.
Does that help?
– Jonah
Jonah
ParticipantSweet! Let us know if there’s anything else you need with this.
– Jonah
Jonah
ParticipantHi Tony,
You are going to want to use native WordPress functions for this since this doesn’t have much to do with our plugin. You can get the URL path of an image with: http://codex.wordpress.org/Function_Reference/wp_get_attachment_url
I hope that helps, let us know if you need anything else with this.
– JonahJonah
ParticipantHi Phil,
Did you follow all the steps outlined here: https://theeventscalendar.com/faq/can-i-change-the-language-that-the-content-of-my-calendar-appears-in-on-the-site/
– Jonah
Jonah
ParticipantHi Jesse,
Have you seen this: https://theeventscalendar.com/queries-and-pagination/
Does that help?
– Jonah
Jonah
ParticipantHi Jesse,
Unfortunately we don’t have this capability right now but I’ve noted this as a potential feature we add in a future version of the Community Events plugin. For now you would need to figure out something on your own. If you do, please let us know as this would likely benefit other users.
Thanks,
JonahJonah
ParticipantHi Michelle,
I’ve taken another look at this and am stumped. It still looks like it’s got to be your theme that’s applying this extra styling but I’m not positive. I’ve asked one of our other devs to take a look and will get back to you on this ASAP.
Stay tuned,
JonahJune 22, 2012 at 2:00 pm in reply to: Displaying Events in Search or Category or Taxonomy results pages #21081Jonah
ParticipantHey Caleb,
The technique I provided back in January was a little outdated and in most all cases where you want to modify the query on any page you will want to use the pre_get_posts hook in WordPress. I would suggest looking at WordPress’ documentation on this: http://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts
One example of this in action is this Gist to exclude a category from the calendar page: https://gist.github.com/2142161 – you could pretty easily modify this to add or change the condition to check if you are on the category results page and pass in post_type query params to bring in event posts with the ‘tribe_events’ post type.
Does that help?
– JonahJonah
ParticipantHi Mark,
The problem here is that the Community Events plugin is loading a stylesheet for jQuery UI which is applying styles to jQuery UI elements your theme is using. I’m going to check with the other developers to see what the best method for remedying this is. I know we could just override the styles to reset things but it may be better to actually remove the jQuery UI stylesheet loaded by our plugin unless you’re on the page where it’s needed by our plugin.
I’ll get back to you ASAP on this. Thanks for your patience.
– Jonah
-
AuthorPosts
