Forum Replies Created
-
AuthorPosts
-
Nico
MemberHi there Fred,
Thanks for reaching out to us on this!
There are a couple of ways of doing this:
- Link to category: simply create a link to the category, https://www.primeeducation.com.au/events/category/category_name.
- Category colors plugin: this handy plugins adds a category navigation before the calendar, check it out!
- Filter events via snippet: if you want to limit all event views to one or more categories, just paste the snippet below into the theme’s functions.php file and be sure to input your event category slug:
/*
* Just show events from categories "meetup" and "shindig" from list and month views
*/
function tribe_exclude_events_category( $wp_query ) {
// Slugs for the categories you wish to show
$include_cats = array('meetup', 'shindig');
// Include all posts on admin views
if ( is_admin() ) return $wp_query;
// Join with current tax query if set
if (is_array($wp_query->tax_query)) {
$tax_query = $wp_query->tax_query;
} else {
$tax_query = array();
}
// Setup the tax query to include terms from the tribe_events_cat taxonomy
$tax_query[] = array(
'taxonomy' => 'tribe_events_cat',
'field' => 'slug',
'terms' => $include_cats
);
if (
tribe_is_event_query()
// && !is_single() // Uncomment to allow directly viewing an individual event page
// && !is_tax() // Uncomment to allow directly viewing the category page
) {
$wp_query->set('tax_query', $tax_query);
}
return $wp_query;
}
add_action( 'pre_get_posts', 'tribe_exclude_events_category', 100, 1 );
Please let me know if this answers your question,
Best,
NicoMay 31, 2016 at 7:51 am in reply to: Events page theme title same as uncategorized blog post #1120638Nico
MemberHi Derek,
Thanks for getting in touch!
If the theme is generating this title to include in the page, then you should reach out to them (or refer to their docs) to see if there’s a way to filter/override the generated title value for a given page (like the calendar homepage). It seems they have some conditionals in place that are wrongly concluding that the calendar page is a category archive page.
Can you please follow-up with the theme name and version? Also if you have a URL to see this on your site it might help.
Best,
NicoNico
MemberHey Sylvie,
Thanks for reaching out and for your interest in our products 🙂
The number of events is not limited to 10. You can select the amount of events shown per page page in WP-Admin > Events > Settings > General > Number of events to show per page and set whatever value works for your project.
Please let me know if I can help with anything else,
Best,
NicoNico
MemberHi Hal,
Thanks for reaching out to us on this! I can help you getting this right 🙂
You can select the amount of events shown per page page in WP-Admin > Events > Settings > General > Number of events to show per page. Some themes also have an option to limit the number of posts in archive pages, which affects our views as well. Best way to check on this is to switch to a default WordPress theme (like TweentySixteen) temporarily and see how many events are getting listed per page.
Please let me know if this helps,
Best,
NicoNico
MemberHi Lars,
Thanks for reaching out to us, and sorry to hear about this issue.
Can you please let me know when are you seeing this error? Seems like a minor issue but we can take a look into it and try to fix it.
Also, Can you please follow the steps described in our Testing for conflicts guide? This way we can see if this is a problem in our plugin or a conflict with the theme or other installed plugins.
Please let me know about it,
Best,
NicoNico
MemberHi Dan,
Thanks for reaching out to us! And thanks for the follow-up as well, it looks like you have this under control 🙂
Just be sure to test this extensively, to see if it has some undesired side-effect. Other than that it seems to be a clean workaround!
Please let me know if there’s anything else I can do for you,
Best,
NicoNico
MemberHi Brandon,
Thanks for reaching out to us and for your interest in our products 🙂
Recurring events is a feature of Events Calendar PRO and it isn’t included in Community Events add-on. If you have PRO installed, users will see the options for recurring events in the Community Submission form 🙂
Please let me know if there’s anything else I can help you with,
Best,
NicoNico
MemberThanks for following-up Yuri!
1) I’m using Russian language. And its translate all fine except this (FOR).
It looks like this translation is pending approval. Unfortunately there’s nothing we can do to make it move along. A “translator editor” for Russian has to approve that string.
For now you can use the following code to “force” a translation:
function tribe_custom_theme_text ( $translations, $text, $domain ) {$custom_text = array('%1$s for %2$s' => '%1$s за %2$s');
if((strpos($domain, 'tribe-') === 0 || strpos($domain, 'the-events-') === 0) && array_key_exists($text, $custom_text) ) {
$text = $custom_text[$text];
}return $text;
}
add_filter('gettext', 'tribe_custom_theme_text', 20, 3);
2) I also send you scan of this currency symbol. So I’m trying to put there letter P (as closest symbol to rouble currency). But after save its still shows me $.
I found a recently logged bug in our backlog regarding settings caching and not saving correctly (we should release a fix for this soon). Changing the $ symbol for P works on my end. Can you try saving the symbol a couple of times, also refreshing the settings page might show the updated value.
Please let me know about those,
Best,
NicoNico
MemberGlad to hear this is working now! Thanks for sharing the final code Ajay 🙂
I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.
Best,
NicoNico
MemberThis reply is private.
May 26, 2016 at 6:10 pm in reply to: Filter Bar not filtering events with additional fields #1119544Nico
MemberThanks Joanna!
It does sounds strange! 1 GB is a lot!!! Please read some considerations about performance here.
We do have a very large calendar of events, however we’d like to know why it needs such a huge amount of RAM?
Can you please note how many events are there in the calendar? Do you see the same in the staging / development / local environment?
You might reach to the hosting company to see if they can identify slow queries. Also, deactivating plugins and theme one by one and rechecking the site might be a good way to identify the bottleneck. Maybe it’s a conflict between two plugins or a more complex combination.
Please keep me posted on this,
Best,
NicoNico
MemberHi there Yuri,
Thanks for reaching out to us! I’ll help you here…
Can you please send a screenshot of the “Events FOR May” to see how it displays? Also, which language are you using in your site? Are you using The Events Calendar along with any of the premium add-ons?
Regarding the currency symbol you can just go to WP-Admin > Events > Settings > General > Default currency symbol and change it! Have you done that?
Please let me knwo about it,
Best,
NicoMay 26, 2016 at 3:33 pm in reply to: Add Event / Import RSS programmatically with tribe_create_event #1119453Nico
MemberWow great work digging into the code and getting this working! I wasn’t aware those were required as well thanks for pointing this out. I’ll make a note to check on this and amend the docs if necessary.
About the plugin it does sounds super useful if you polish the code and decide to publish it please let us know about it!
Please let me know if we are good to close this ticket and thanks again for bringing this up!
Best,
NicoMay 26, 2016 at 3:22 pm in reply to: Settings to opt out of frontend attendee list is NOT hidden if attendee list is #1119440Nico
MemberThanks for understanding Modar and sorry for the trouble until this get fixed.
I’m setting the status of this thread as ‘Pending Fix’ so we can give you a heads up when this is fixed!
Best,
NicoNico
MemberThanks for following up Yuri! We made some changes since version 3.9.1, theme authors should keep up with these small changes if they support integration with out product. I insist on this because we cannot support theme specific issues, just issues within our code. As stated before I’ll try to help you out anyway as long as they are quick/easy fixes…
2) Yes, I realized all the steps, but it did not help. All the more so with the plugin version 3.9.1 is no such problem, Picture 7.
To get the datepicker to display above all other elements add this CSS snippet to you theme stylesheet or via Simple Custom CSS plugin:
.datepicker {
z-index: 10 !important;
}
3) Same! All the more so with the plugin version 3.9.1 is no such problem, Picture 8.
Can you retry with the code above. Again, these are things were our help is limited as the look and feel is modified by the template your site uses…
4) This site is now working in the closed mode, I write data to enter the private message. Clarification: other screen elements (e.g. menu header) overlap Datepicker to, when it displayed (version 3.9.1).
Just add this snippet as explained for #2:
article#post-area {
overflow: visible;
}
7) I am willing to make changes to templates, tell me the details.
Perfect, please review the themer’s guide first. Once you are familiarized with the templates override method, you should make a copy of the templates to edit in your theme (or child theme), for example for list view you should work with the following template:
Copy wp-content/plugins/the-events-calendar/src/views/list/single-event.php over to wp-content/themes/your-theme/tribe-events/list/single-event.php and edit line 70:
" class="tribe-events-read-more" rel="bookmark"> »
You’ll just need to remove the & raquo; part.
Please let me know how this goes,
Best,
Nico -
AuthorPosts
