-
AuthorPosts
-
October 18, 2016 at 11:54 pm #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 tomorrowAny ideas?
October 19, 2016 at 3:51 pm #701387October 19, 2016 at 5:14 pm #701435HI
Here it is…
October 19, 2016 at 9:09 pm #701517Hi!
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,
YigitOctober 19, 2016 at 10:30 pm #701552Hi
It worked half way :D
I would like to have the bread crumb as the URL is… See private content
October 20, 2016 at 1:54 pm #701855Hi,
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,
YigitOctober 20, 2016 at 4:49 pm #701991HI
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
October 20, 2016 at 8:29 pm #702074Hi!
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!
YigitOctober 20, 2016 at 8:58 pm #702087Shore, here is a temp account:
October 20, 2016 at 9:22 pm #702094Hi!
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,
YigitOctober 21, 2016 at 9:14 am #702233Hi
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?
October 21, 2016 at 2:07 pm #702395 -
AuthorPosts
- The topic ‘Bread crumb problems’ is closed to new replies.