Forum Replies Created
-
AuthorPosts
-
Jonah
ParticipantHi David,
The first thing I would suggest would be to increase the amount of PHP memory on the server for your site. Have you tried this? Here’s a link to a few different ways to accomplish this: http://www.dailyblogging.org/wordpress/increase-wordpress-memory-limit/
I hope that helps but let me know if you need anything else.
– Jonah
Jonah
ParticipantHi Ben,
What I would suggest doing is using a custom query and passing in a start/end date so you can get your range of dates. If you look at our documentation on tribe_get_events (https://theeventscalendar.com/support/documentation/the-events-calendar-template-tags-general-functions/#functiontribe_get_events) the second query example shows how you can pass in a start/end date to affect the query. That should get you going in the right direction.
I hope that helps but let me know if you need anything else.
– Jonah
August 29, 2012 at 11:14 am in reply to: Change Events Calendar Admin Form Strings using a function #24298Jonah
ParticipantHi Brian,
What I would suggest is to modify the language files for the changes you need to make. Instructions are provided here: https://theeventscalendar.com/faq/can-i-change-the-language-that-the-content-of-my-calendar-appears-in-on-the-site/
I hope that helps but let me know if you need anything else.
– Jonah
August 29, 2012 at 11:05 am in reply to: Events admin/back-end view backwards (farthest first) #24296Jonah
ParticipantHi Ryan,
That’s a great question and I’m not sure the answer myself. I’m going to check with a developer to see how easy this is. Sit tight and I’ll get back to you ASAP.
Thanks,
JonahJonah
ParticipantHi Wayne/Marc,
You’ll want to use pre_get_posts for this. Here’s a snippet that should do what you need, just modify the category slug to your category:
add_action( 'pre_get_posts', 'exclude_events_category' );
function exclude_events_category( $query ) {if ( $query->query_vars['eventDisplay'] == 'upcoming' && !is_tax(TribeEvents::TAXONOMY) || $query->query_vars['eventDisplay'] == 'past' && !is_tax(TribeEvents::TAXONOMY) && $query->query_vars['eventDisplay'] != 'month' && $query->query_vars['post_type'] == TribeEvents::POSTTYPE && !is_tax(TribeEvents::TAXONOMY) && empty( $query->query_vars['suppress_filters'] ) ) {
$query->set( 'tax_query', array(
array(
'taxonomy' => TribeEvents::TAXONOMY,
'field' => 'slug',
'terms' => array('2012'),
'operator' => 'NOT IN'
)
)
);
}return $query;
}
I hope that helps but let me know if you need anything else.– Jonah
August 29, 2012 at 10:58 am in reply to: Query Events that are in specific Category or Venue? #24294Jonah
ParticipantHi Michael,
Take a look at this snippet, it should be what you need, make sure to change the category slug and the venue ID: https://gist.github.com/3514001
I hope that helps but let me know if you need anything else.
– Jonah
Jonah
ParticipantHi Leland,
Sorry for the delay in getting a response on this. You can change these labels without hacking core files, all you have to do is create your own language translations. The strings to translate are in the PRO files and here are instructions on what to do: https://theeventscalendar.com/faq/can-i-change-the-language-that-the-content-of-my-calendar-appears-in-on-the-site/
I hope that helps and let me know if you need anything else!
– Jonah
Jonah
ParticipantHi Jonny,
Not sure how to do this myself so I’m pushing it up the ladder again. Sorry for the delay. I should have an answer for you in the next day or two.
Thanks for your patience.
– Jonah
Jonah
ParticipantOoops, code got cut off, let me try this again: https://www.sourcedrop.net/pgOd7a0717131
Jonah
ParticipantHi Larry,
You can add this before the end of your html head tag and this will force IE to always use the latest rendering engine and disable compatibility mode:
I hope that helps!
– Jonah
Jonah
ParticipantHi Jen,
We are working on better compatibility with WPML so I really appreciate you posting this. I’ve updated the ticket dealing with the WPML stuff but at this point we are still working on this and do not have an eta when it will be done.
Thanks,
JonahAugust 28, 2012 at 11:52 am in reply to: Calendar page title shows title of an event (continued) #24235Jonah
ParticipantHi Philipp,
The instructions are different from theme to theme but yes if you have a child theme, you’ll want to first make a copy of page.php and then use the conditional code to override the display of the title in the template. So as an example if this is what you have:
$page_title = ss_framework_get_custom_field(‘ss_page_title’) ? ss_framework_get_custom_field(‘ss_page_title’) : get_the_title(); ?
You would want to replace it with something like this:
if( tribe_is_month() && !is_tax() ) { // The Main Calendar Page
echo 'Events Calendar';
} elseif( tribe_is_month() && is_tax() ) { // Calendar Category Pages
echo 'Events Calendar';
} elseif( tribe_is_event() && !tribe_is_day() && !is_single() ) { // The Main Events List
echo 'Events List';
} else {
$page_title = ss_framework_get_custom_field(‘ss_page_title’);
ss_framework_get_custom_field(‘ss_page_title’) : get_the_title();
}
Looks like the code you pasted got a little chopped up but hopefully that gives you the right idea…Cheers,
JonahJonah
ParticipantHi Larry,
It looks like this is only happening with IE9 in compatibility mode, it renders fine when not in that mode. Can you check to see if you have this enabled and disable it if so?
Thanks,
JonahJonah
ParticipantHi Thomas and Tim,
Sorry to hear about the issues and delay in response. We’ve had some issues with notifications lately and they should be resolved. My apologies for the delay and inconvenience.
The incorrect title is a conflict with your theme. We do our best to account for all the theming variations out there but there are so many that we cannot guarantee compatibility in all cases. There are a couple of things you can do though:
1. Try changing the Events Template setting in Events > Settings > Template to the Default Events Template if it’s not already set that way.
2. If that doesn’t work or you don’t want to change the template and you’re using the Default Page Template for the above option you’ll need to find in your theme where the title for pages is being set (i.e. the head_text div) and override this when on event related pages. You can use the following conditional tags to detect when on certain event related pages: https://gist.github.com/2415009
I hope that helps but let me know if you need anything else with this.
Regards,
JonahJonah
ParticipantAhh, I gotcha now. The plugin should automatically use the excerpt if one exists. If one doesn’t exist, then it will use the full content. If you want to auto generate excerpts there are a few plugins out there that do this. Here is one: http://wordpress.org/extend/plugins/auto-excerpt-everywhere/
I hope that helps but let me know if you need anything else.
– Jonah
-
AuthorPosts
