Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #700955

    Hi

    I have permalinks showing just /%postname%/ but the bread crumbs on a post is very weird…

    URL: http://www.domain.com/guest-experience-tomorrow/
    BC: Home/The guest experience of tomorrow / Blog / Trends and insights / The guest experience of tomorrow

    Any ideas?

    #701387

    Hi Magnus,

    I think we will need that login :-)

    Best regards,
    Rikard

    #701435

    HI

    Here it is…

    #701517

    Hi!

    Please add following code to Functions.php file in wp-content/themes/enfold-child/functions.php file

    add_filter( 'avia_breadcrumbs_args', 'avia_breadcrumbs_args_mod', 10, 1 );
    function avia_breadcrumbs_args_mod( $args ) {
    if(is_single()){
    	$args['show_categories'] = false;
    	$args['show_posts_page'] = false;
    	}
    	return $args;
    }

    If that does not help, please elaborate on the changes you would like to make :)

    Regards,
    Yigit

    #701552

    Hi

    It worked half way :D

    I would like to have the bread crumb as the URL is… See private content

    #701855

    Hi,

    Please use the code as following instead

    
    add_filter( 'avia_breadcrumbs_args', 'avia_breadcrumbs_args_mod', 10, 1 );
    function avia_breadcrumbs_args_mod( $args ) {
    if(is_single()){
    	$args['show_posts_page'] = false;
    	}
    	return $args;
    }

    Best regards,
    Yigit

    #701991

    HI

    I added it to the child theme functions file but it don’t work on posts… (URL is right but not the Bread Crumb)

    Any other ideas? :D

    #702074

    Hi!

    Can you please post FTP logins here privately as well? Also, please show us the example breadcrumbs, so we can make sure to be on the same page :)

    Cheers!
    Yigit

    #702087

    Shore, here is a temp account:

    #702094

    Hi!

    I added following code to bottom of Style.css file of your child theme

    .single .breadcrumb-trail span.sep:nth-child(3), .single .breadcrumb-trail span.sep:nth-child(3) + span:nth-child(4) {
        display: none;
    }

    Please review your website now :)

    Regards,
    Yigit

    #702233

    Hi

    Thnx, it works now.

    Is this a “bug” that Enfold will address in a updated version so I can remove the entries from the function file and the css?

    #702395

    Hi,

    You are welcome!

    We will let our devs know about it so they can do further testings.

    Let us know if you have any other questions or issues and enjoy your weekend!

    Best regards,
    Yigit

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Bread crumb problems’ is closed to new replies.