Hi,
are you using multisite and do you want to only disable the breadcrumb from the supersite front page? Please share your website URL also.
Yes, I’m using multisite, and I only wish for the breadcrumbs to be disabled on the front page of the main site. I wish for breadcrumbs to show on the front page of sub-sites only.
My site is not yet live, only localhost.
Thank you.
Hi,
Sorry but without seeing the site, I’m unable to inspect and write the correct code.
Seriously? How does that make a difference?
All I’m asking is for the code to override the if statement in the oceanwp -> inc -> breadcrumbs.php file shown in the first post, so instead it’s something like the below code.
Beginning to feel like you just couldn’t be bothered with most of the support questions here. Not the first time you’ve dismissed a simple support question.
// Return if breadcrumbs are disabled.
if ( ! oceanwp_has_breadcrumbs()
|| is_main_site() && is_front_page() ) {
return;
}