-
AuthorPosts
-
February 14, 2017 at 1:55 pm #746888
Hi there great Kriesi team…
I was wondering how I can fix the issue that I’m having with my breadcrumbs.
I get on a event-page:
Home / Agenda / Evenementen / Evenementen / title eventBut I want to get:
Home / Agenda / title eventOn the event home page I get:
Home / Evenementen / EvenementenBut I want to get:
Home / AgendaI’m using the Event Calendar Pro with Enfold for the first time, I’m not sure what I’m doing wrong…
Best regards, Annelies
February 17, 2017 at 10:45 pm #748682Hey Annelies,
Please try adding following code to Functions.php file in Appearance > Editor
add_filter( 'avia_breadcrumbs_args', 'avia_breadcrumbs_args_mod', 10, 1 ); function avia_breadcrumbs_args_mod( $args ) { if(tribe_is_event()){ $args['show_categories'] = false; $args['show_posts_page'] = false; } return $args; }
Best regards,
YigitFebruary 21, 2017 at 10:32 am #749855Hi Yigit,
That doesn’t do anything… do you have an idea why?
Best regards, Annelies
February 24, 2017 at 7:04 pm #751541February 27, 2017 at 10:45 am #752220Hi Mike,
Thanks for your support, but how is it possible that the permalink is ok, but the breadcrumbs are different?
See screendump.Hope to hear from you.
Best regards, Annelies
February 27, 2017 at 2:22 pm #752254Hi,
Can you please create a temporary admin login and post it here privately so we can look into it?
Best regards,
YigitFebruary 27, 2017 at 2:28 pm #752258Thanks Yigit!
See the private content…Best regards, Annelies
March 3, 2017 at 7:50 am #754882Hey!
You can change the events slug in the Events > Settings panel. Look for the following fields:
Event URL slug URL slug for individual events
Regards,
IsmaelMarch 27, 2017 at 12:17 pm #767365Hi Ismael,
Do you know why this isn’t working? I’ve added the right stuf in the fields…
See the screendump….Best Regards, Annelies
March 31, 2017 at 8:44 am #769782Hi,
The breadcrumb in the calendar page of our installation is correct. I’m not sure why it is duplicated in yours. Please try to add this in the functions.php file to remove the duplicated item.
function is_tribe_calendar() { $is_tribe_page = false; // detect if we're on an events calendar page if (tribe_is_month() || !is_tax() || tribe_is_past() || tribe_is_week() || tribe_is_day()) { $is_tribe_page = true; } return $is_tribe_page; } add_filter('avia_breadcrumbs_trail', 'avia_breadcrumbs_args_mod', 10, 2); function avia_breadcrumbs_args_mod($trail, $args){ if(is_tribe_calendar()) { unset($trail[0]); } return $trail; }
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.