Thanks Shufflehound. You guys are the best.
For those who might come across the same problem, change this line in the above code:
$wp_post_types[$post_type]->labels->name = __( '<Your shop name here>', 'woocommerce');
Hey Shufflehound,
Those links worked perfectly. Took me a bit to find what to change in the custom breadcrumb code, but you change this line (for any users who have the same problem):
$html .= '<span class="item-current item-archive"><span class="bread-current bread-archive">' . __( 'Produktai', 'jevelin' ) . '</span></span>';
Change ‘Produktai’ to whatever you want your store name to display as in your breadcrumb.
I now have another issue that’s related (shown in attachments). My store displays the breadcrumb correctly, but products will display the wrong parent breadcrumb. Clicking the “incorrect” breadcrumb will still take you back to the store with the correct name.
Anything I might need to change in that custom breadcrumb function?
Thanks,
Billy
Hi Shufflehound,
I’d like the breadcrumb and page title to be consistent with the page name <<my company>> Store.
Thanks,
Billy
Hey Shufflehound,
I’ve added both a <!–more–> tag and directly added an excerpt, yet I still get the same issue. I think the way the blog is generated takes directly from the contents.
Thanks,
Billy
Hey Shufflehound,
Is this planned to be fixed? The background-color
was set to the Accent Hover Color under Customise > Styling. Being set to opaque and black by default is a very strange change.
This “fix” only works for certain elements. It doesn’t work for image galleries (opacity set to 1), and also applies the set opacity to the icon (which was previously opaque).
Thanks,
Billy
Hey Mike,
I’ve found the cause of the issue. Attached below are some the rules which are causing this to happen. Someone keeps slipping in bogus !important;
rules into the stylesheet for no reason. This was the same type of mistake causing the white mobile sticky header.
If you add CSS to your child theme, e.g.:
.sh-overlay-style1 { opacity: 0.5 !important; background-color: cyan !important; }
it should go back to normal.
Edit: This CSS is a start. Still not working properly.
Hope that helps,
Billy
Hi,
Thanks for your reply. I was hoping I wouldn’t need to resort to copying the header.php
in case of theme updates, but that solution works perfectly.
Thanks!
Billy