Forum Replies Created
-
AuthorPosts
-
Nico
MemberYou are welcome Marlene!
I’d like to show the subcategory events in their respective subcategories only, and not in the parent category.
Sure, try this updated version of the snippet instead:
/* Tribe subcategory nav for photo view */
function tribe_add_subcategories ( ) {global $wp_query;
// bail if the function is not defined or we are not in photo view or if no event category is set
if ( !function_exists('tribe_is_photo') || !tribe_is_photo() || !isset( $wp_query->query_vars[ Tribe__Events__Main::TAXONOMY ] ) ) return false;$termparent = get_queried_object();
$termchildren = get_term_children( $termparent->term_id, Tribe__Events__Main::TAXONOMY );// bail if no children
if ( empty($termchildren) ) return false;// display children
echo '- ';
- ' . $term->name . '
foreach ( $termchildren as $child ) {
$term = get_term_by( 'id', $child, Tribe__Events__Main::TAXONOMY );
echo '';
}
echo '';
}
add_action( 'tribe_events_after_the_title', 'tribe_add_subcategories' );
Would it be possible to give each subcategory a featured image so that they can be displayed in the same way as the events?
Yes, this functionality can be added with a plugin: Category and Taxonomy Image, Easy Taxonomy Images, Taxonomy Images, etc.
Please let me know if there’s anything else I can do for you,
Best,
NicoNico
MemberHey Barbara,
Thanks for getting in touch! I’ll help you here…
The solution actually the same, you just have to change the class name for the RSVP one:
/*
* Add RSVP tickets form to event listings
*/
if ( class_exists( Tribe__Tickets__RSVP ) ) {
add_action ( 'tribe_events_after_the_content', array( Tribe__Tickets__RSVP::get_instance(), 'front_end_tickets_form' ), 10 );
}
Please let me know if this works for you,
Best,
NicoNico
MemberHey Kate,
Thanks foe reaching out to us!
Unfortunately our plugins do not support recurring events with tickets 🙁
We are actively working on this feature and it’s actually close to lunch! It was originally intended to be included in the next release coming out next month, but chances are it will be pushed a bit and be included in the release after this one, before the end of the year.
Until this is out and tested, the behaviour will be funky and not consistent. So I’d recommend breaking events into single instances and add each event tickets with individual stock levels. For the whole series you can create a new product and manage the stock level manually, which I know is not the most practical solution.
Please let me know about it,
Best,
NicoNico
MemberHi there @tech4life,
Thanks for getting in touch! I can help you on this…
First let me say you are right and the article needs an edit to make this clearer. I’ve reached out to the article author to highlight this issue, thanks for pointing this out!
The code in the article should go in the theme’s (or child theme’s) functions.php file. If you are using Avada, you shouldn’t edit the theme’s file directly but use a Child Theme to store customizations and keep them safe from being overwritten by future updates of the theme. You can read more about this here → Child Themes. So if you haven’t yet, create a child theme and past the code in it’s functions.php file.
Please let me know if the above helps,
Best,
NicoAugust 18, 2016 at 5:18 pm in reply to: Exclude events, venues, organizers from inline link search #1153457Nico
MemberHi there,
Thanks for getting in touch with us! Interesting question here 🙂
I’ve googled a bit and hopefully there’s a filter to modify this query! Try pasting the snippet below in your theme’s (or child theme’s) functions.php file:
/* Tribe remove post types from editor link builder */
function tribe_remove_post_types_from_link_builder( $query ) {// bail if the events calendar is not active
if ( !class_exists( 'Tribe__Events__Main' ) ) return false;$remove_post_types = array(
Tribe__Events__Main::POSTTYPE,
Tribe__Events__Main::VENUE_POST_TYPE,
Tribe__Events__Main::ORGANIZER_POST_TYPE
);foreach( $remove_post_types as $post_type ) {
$key = array_search( $post_type, $query['post_type'] );
if( $key ) {
unset( $query['post_type'][$key] );
}
}return $query;
}
add_filter( 'wp_link_query_args', 'tribe_remove_post_types_from_link_builder' );
Please let me know if this works for you,
Best,
NicoNico
MemberHi there Stanislas,
Thanks for reaching out and for the kind words about our products 🙂
The image size by default in events is ‘full’ which is actually the image original size (read more about it here: Post Thumbnails). So you can just upload the image in a smaller size or use a snippet to override the output of the function tribe_event_featured_image which is the one that handles the featured image for single event pages.
Please let me know if the above helps,
Best,
NicoNico
MemberHola @Vdv_al,
Gracias por ponerte en contacto con nosotros! Este foro es unicamente para problemas con las traducciones por lo cual la ayuda que podemos brindar en la configuracion del sitio con WPML es limitada para los usuarios que no tienen una licencia. De todas maneras vamos a intentarlo!
Primero que nada, por lo que veo Valenciano no es una opcion dentro de los idiomas de WordPress, estoy en lo correcto o me estoy perdiendo de algo?
Están en las dos carpetas de lenguajes. Sin embargo,y aunque llego a poder ver las cadenas (strings) de traducción y en teoría estas se añaden. No veo que en la página se traduzcan, solo he visto que se traduzcan unas que hice manualmente previo a importar de los archivos .po.
No soy un gran experto en WPML lamentablemente, no entiendo bien lo que describis aca. Podrias darme algunos detalles mas? Por que no traducir las cadenas en un programa como Poedit y despues importarlas ya traducidas?
Además, no sé por qué, cuando estoy en la página por defecto en español del calendario, no me aparece el switch de idiomas y solo puedo acceder a la página en valenciano si escribo la URL manualmente.
Estas probando con un theme default como TweentySixteen? De que manera / con que seteos estas incluyendo el switch?
Saludos,
NicoAugust 18, 2016 at 4:31 pm in reply to: Prevent from taking Authorship when editing community #1153442Nico
MemberHi there Ryan,
Thanks for getting in touch with us! I’ll help you here…
Can you please let me know what user role are you assigning to new users in your site (WP-Admin > Settings > General > New User Default Role)? I’ll try to reproduce on my end hence investigate a possible fix. I’ve googled a bit about it but cannot find any firm solution so I’ll have to run some tests.
Regarding the code sent, I understand you use that as workaround for now, right? Does it work as intended?
Please let me know about it,
Best,
NicoAugust 18, 2016 at 4:03 pm in reply to: How to include Mobile numbers to Attendees Report and Export? #1153430Nico
MemberHi there Tac,
Thanks for getting in touch with us! I’ll help you here…
Can you please tell me a bit more about your site set-up?
Event organisers are asking to have access to mobile numbers and they should be able to export from their front end.
The above suggests you are using Community Tickets on the site is that correct?
This mobile number is what we capture from Billing Page when a buyer buys ticket.
You mean the Phone field under Billing in checkout, right?
Please let me know about it,
Best,
NicoAugust 18, 2016 at 1:04 pm in reply to: Ticket Fieldsets option not showing when adding or editing an event #1153345Nico
MemberThanks for following up Sam! This is quite strange and I’m not seeing any bug reports I can relate to it, so I’ll need you to troubleshoot this a bit so we can detect what is generating this issue.
First of all, 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.
Are there any JavaScript errors visible in the console when you load up the edit event page? (Using your browser to diagnose JavaScript errors)
Also, are you adding tickets to Events or are you adding them to another post type like Posts or Pages?
Thanks,
NicoNico
MemberHey Thomas,
Thanks for the patience while I worked on a temp fix for this 🙂
Try pasting the following snippet in your theme’s (or child theme’s) functions.php file:
https://gist.github.com/niconerd/dad3e11d5d6baae0acf0af07be0b7746
The explanation of why this is happening is pretty technical, but basically the element with the listener (that indicates the page to scroll up) is being replaced after initial load, and the listener is not being re-set. I’ve created a bug ticket so this can get fixed by our devs.
Please let me know if the work around works for you,
Best,
NicoNico
MemberThanks for following up Ken! Sorry to hear this is still a pain for you 🙁
As a last try, I disabled qtranslate for “portfolio” and created another ticket in portfolio type
The ones to disable are tribe_wooticket, tribe_rsvp_attendees, ticket-meta-fieldset and tribe_rsvp_tickets, probably products too, which are all disabled. It seems that the plugin qTranslate-X is not respecting the post_types settings and that’s something to highlight if you decide to contact their support team.
Also, I notice something funky in your screenshot → https://cloudup.com/cSK-XTgA54R Is the preferix OrderID- something you configured? I don’t see it in my order screen so not sure about it.
Also, do you have any idea of changing from qtranslate to wpml? will it involve a lot of re-work?
I’m not sure about it, Do you have your content in more than one language and need to migrate that? If you don’t I guess it’s just setting the plugins up as shown in Setting up The Events Calendar with WPML and Creating translations for events using WPML.
Best,
NicoAugust 18, 2016 at 9:44 am in reply to: there is publishing all events or some while on a fan page, at the same time ? #1153233Nico
MemberHola Juan,
Ahora en Español va mejor 🙂
Puedo publicar directamente desde evencalendar a mi fanpage en facebook
Esto no es posible el plugin de Facebook solo sirve para importar eventos, no para exportarlos desde el sitio a Facebook.
Por favor decime si hay algo mas en lo que pueda ayudar,
Saludos,
NicoPS: elimine los adjuntos para que esa información no sea públicamente visible. Gracias por enviarlos! la próxima vez solo recorda estar logueado al momento de postear en el foro.
August 18, 2016 at 9:28 am in reply to: Does Eventbrite Tickets plugin display private events? #1153152Nico
MemberHi there Corey,
Thanks for getting in touch with us and for your interest in EventBrite tickets plugin 🙂
You actually can import private events, although the tickets form won’t display for the event unless you make it public! Do you think this might work for you? Maybe you can have a link to the EventBrite event and indicate users to follow the link to book tickets.
Please let me know if the above answers your question,
Best,
NicoNico
MemberHi there @wheretogokiddo,
Thanks for getting in touch with us! I can help you here…
Default limit for events in venue pages is 100, although you can modify this with the following code:
/* Tribe, limit events in single venue pages */
add_filter( 'tribe_events_single_venue_posts_per_page', function (){ return 10; } );
Place the code above in your theme’s (or child theme’s) functions.php file and it will change the limit. Please note that this won’t generate pagination, it will just limit the max of events shown.
If you intention is to have a ‘show all option’ it can be added via JS (hide/show event divs) or by creating a link to the same page with a query string to ignore the new limit.
Please let me know if this helps,
Best,
Nico -
AuthorPosts
