I have ECP and the latest version of Enfold. The breadcrumb is showing the events page twice when you are in an event. See attached url. Not sure if this is something pulling from Enfold or if I need to check with ECP. There is a breadcrumb trail head and end that I tried to hide using css but on all the other pages, it does not pull them in twice and hides one or the other. Please advise.
Thanks,
Hi,
Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
Josue
yes, thanks
Hi,
Can you please hand me a temporary FTP / SFTP account? post it here as a private reply.
Regards,
Josue
Well, right now it’s breaking my site. I am getting these errors. Not sure if you changed anything but here is what I am getting
[01-Dec-2015 21:16:07 UTC] PHP Parse error: syntax error, unexpected ‘}’ in /home/anderson/public_html/wp-content/themes/enfold/framework/php/class-breadcrumb.php on line 257
please let me know asap when this is fixed, we need to get back into the site to continue working to get this live. Cannot access anything. If there is something I can do in the meantime to at least get back into the site, please let me know. Thanks for your help
Hey!
Thanks for the access, the error is fixed now, i’m checking the breadcrumb issue now.
Best regards,
Josue
thanks, any word yet? Appreciate the help.
Hey!
Check it now, i added this to your child theme functions.php:
add_filter('tribe_events_register_event_type_args', function($args) {
$args['has_archive'] = false;
return $args;
});
Enfold was taking both the /events/ slug and the /events/ archive in consideration for the breadcrumb trail so disabling one of those seems to do the trick.
Regards,
Josue
excellent! Thanks so much!!