Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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 event

    But I want to get:
    Home / Agenda / title event

    On the event home page I get:
    Home / Evenementen / Evenementen

    But I want to get:
    Home / Agenda

    I’m using the Event Calendar Pro with Enfold for the first time, I’m not sure what I’m doing wrong…

    Best regards, Annelies

    #748682

    Hey 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,
    Yigit

    #749855

    Hi Yigit,

    That doesn’t do anything… do you have an idea why?

    Best regards, Annelies

    #751541

    Hi,
    It’s working on my end, please try refreshing your cache (F5)

    Best regards,
    Mike

    #752220

    Hi 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

    #752254

    Hi,

    Can you please create a temporary admin login and post it here privately so we can look into it?

    Best regards,
    Yigit

    #752258

    Thanks Yigit!
    See the private content…

    Best regards, Annelies

    #754882

    Hey!

    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,
    Ismael

    #767365

    Hi Ismael,

    Do you know why this isn’t working? I’ve added the right stuf in the fields…
    See the screendump….

    Best Regards, Annelies

    #769782

    Hi,

    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

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.