tunyk
Forum Replies Created
-
Forum: Plugins
In reply to: [Speculative Loading] More examples of using the filterThank you! Awesome
Me too.
Elementor is triggering Avast Antivirus for me as well, for Script:SNH-gen [Trj].
Avast mentions these URL:
/wp-content/plugins/elementor/assets/js/common-modules.min.js?ver=3.22.3
no
It seems that I understood the problem, the problem with non-standard display of categories.
For example, displaying product categories through Elementor, namely the WooCommerce Product Categories widget. With this display of categories, the option to hide empty categories hides only categories where there are no products at all, but for some reason ignores categories where all categories are out of stock and Catalog visibility: Hidden
This issue is resolved in the categories widget in the sidebar. There is even a standard option for this – Hide empty categories (when using it, categories with no products are hidden, where all products with product_visibility = exclude-from-catalog and if all products in the category are out of stock (and the option – Hide is activated in the settings products from the catalog are out of stock).
If I’m not mistaken, this is the branch where it was introduced https://github.com/woocommerce/woocommerce/issues/25375
However, what I’m writing about is not about the widget, but about the display of categories and subcategories on the store’s main page, archive (category) pages.
What I reported can be considered a bug in the plugin, because it is fixed in the widgets, but not in the places I’m talking about
Website https://amrita.club/
https://imgur.com/a/1Z9ncti (Rank Math code and screen of Blog main page settings)
I had to set the Canonical URL field so that there was the correct code:
- Language versions of the main pages of the site (if I do not set it manually, then the main domain without the language slug is substituted)
- For https://amrita.club/en/ – https://amrita.club/en/
- For https://amrita.club/ru/ – https://amrita.club/ru/
- The blog is now set to have no error in the code
- For https://amrita.club/blog/ – https://amrita.club/ (if I do not set this value, it is generated https://amrita.club/blog/blog/)
- For https://amrita.club/en/en-blog/ – https://amrita.club/ (if I do not set this value, it is generated https://amrita.club/en/en-blog/en/en-blog/)
- For https://amrita.club/ru/ru-blog/ – https://amrita.club/ (if I do not set this value, it is generated https://amrita.club/ru/ru-blog/ru/ru-blog/)
I also noticed that for the main pages of the ru and en versions of the site, they are not substituted in the link rel=”canonical” and meta property=”og:url”, but the main page https://example.com/. But I was able to fix this by changing the link when editing pages in the Canonical URL field.
My guess is that the Polylang compatibility code you suggested is not working correctly
And Content AI, please add the Ukrainian language to it
Forum: Plugins
In reply to: [WooCommerce] I can’t change Cart page in 7.2.2 version@xue28 No. The bug was confirmed. Selector fields do not work correctly. WordPress 6.1.1, WooCommerce 7.2.2
Topic on GitHub: https://github.com/woocommerce/woocommerce/issues/36291#issuecomment-1375646829