Tagged: breadcrumb, events calendar
-
AuthorPosts
-
January 27, 2017 at 11:06 pm #739621
Hello, I saw the thread at: https://kriesi.at/support/topic/events-calendar-breadcrumb-shows-events-twice/ and tried everything listed but that didn’t solve the issue. What else can I do?
Thank you for your excellent support team!
February 1, 2017 at 8:45 am #741074Hey rlhinirv57!
Thank you for using Enfold.
Please add this in the functions.php file:
add_filter( 'avia_breadcrumbs_trail', 'avia_breadcrumbs_trail_mod', 50, 2 ); function avia_breadcrumbs_trail_mod( $trail, $args ) { if ( is_archive('tribe_events') && $trail['trail_end'] == 'Events') { unset($trail[1]); } return $trail; }Cheers!
IsmaelFebruary 1, 2017 at 9:14 pm #741450Thanks Ismael,
Any particular place that should be added? And, is it okay to add this in a child theme function file?
Asking because I did add this snippet in the functions.php file of my child theme and got a white screen of death the moment I saved the document and navigated away. Fortunately I had a backup copy and FTP access so I re-uploaded the previous functions.php file and the site was immediately restored.
Kind regards,
Rhonda-
This reply was modified 8 years, 9 months ago by
rlhinirv57. Reason: needed to add more information about the issue
February 7, 2017 at 9:28 am #743744Hi,
Please copy the code directly from this forum, not from your email. Yes, you can add it in the child theme’s functions.php file.
Best regards,
IsmaelFebruary 7, 2017 at 6:17 pm #744001Thanks, Ismael – that worked! Apparently, there was an extra space or something introduced previously, which resulted in the php error. My host thought the issue might have been a result of updating the version of php, but obviously not.
Best regards,
RhondaFebruary 9, 2017 at 5:35 am #744591 -
This reply was modified 8 years, 9 months ago by
-
AuthorPosts
- The topic ‘More Events Calendar Breadcrumb issues’ is closed to new replies.
