Home › Forums › WoodMart support forum › Problem with H1 product category on woodmart layout and Filter Everyting
Problem with H1 product category on woodmart layout and Filter Everyting
- This topic has 14 replies, 3 voices, and was last updated 1 month, 1 week ago by
Artem Temos.
-
AuthorPosts
-
April 10, 2025 at 7:14 pm #653200
ya.predkoParticipantHello. I have problem with output H1 product category afler filtering. In Filter Everything seo rules set H1 template like a “Category+brand” (Aquariums Juwel). I using Woodmart layout builder for categories.
But after filtering i see default category name. https://aqua-deco.com.ua/product-category/akvariumy-uk/komplekty-uk/brand-eheim-uk/On another theme its work.
i find this:
Displaying SEO entities depends on the hooks your active theme uses.We can only provide you with a list of hooks that are used for certain SEO entities:
// For SEO title
add_filter( ‘wp_title’, array( $this, ‘wpTitle’ ), 15 );
// For the Meta description
add_action( ‘wp_head’, array( $this, ‘filtersWpHead’ ), 1 );
// For H1 title one of these hooks
add_filter( ‘woocommerce_page_title’, array( $this, ‘seoH1’), -5 );
add_filter( ‘get_the_archive_title’, array( $this, ‘seoH1’), -5 );
add_filter( ‘post_type_archive_title’, [$this, ‘seoH1’], -5 );
add_filter( ‘elementor/utils/get_the_archive_title’, [$this, ‘seoH1’], -5 );Check your page template responsible for showing the products on the needed page with filters and look for those hooks.
April 11, 2025 at 2:23 pm #653392
Luke NielsenKeymasterHello,
Could you please explain in more detail what exactly should be with the title after filtering? Do you mean that after the title, the brand’s title should also be shown? https://prnt.sc/RqokRF_sd0x3
Thank you for your time. Looking forward to hearing back from you!
Kind Regards
April 11, 2025 at 3:37 pm #653424
ya.predkoParticipantYes. In seo rules of filter plugin I can set h1, title, description. And structure of filtered product page.
April 11, 2025 at 4:23 pm #653432
Luke NielsenKeymasterHello,
May I disable the Archive Layout and check how it works without it?
I await your response.
Kind Regards
April 11, 2025 at 4:34 pm #653443
ya.predkoParticipantYes
April 11, 2025 at 4:43 pm #653447
Luke NielsenKeymasterHello,
Could you please clarify on which themes you tested it?
Also, may I enable the default Storefront theme for testing?
Kind Regards
April 12, 2025 at 9:20 pm #653675
ya.predkoParticipantYes. It’s theme Flatsome on another shop.
April 14, 2025 at 3:35 pm #653901
Luke NielsenKeymasterHello,
Now it works well on my end – https://prnt.sc/OmIJubsngYJv
Clear the cache on your end and check how it works for you.
Kind Regards
April 14, 2025 at 3:42 pm #653908
ya.predkoParticipantGreat! It’s working, thanks.
What was the problem?April 14, 2025 at 4:01 pm #653916
Luke NielsenKeymasterHello,
We just resaved the Widget’s settings and it started to work.
Thank you for your time.
Kind Regards
April 14, 2025 at 8:17 pm #653979
ya.predkoParticipantI’m angry!
Why do you constantly have to check your support? Why can’t you just do it normally? You installed the main theme by default, not the child theme as before, which is why all the additional functions and styles from the child theme were not implemented… After switching to the child theme, the headers don’t work again! Are you kidding me??????April 14, 2025 at 8:40 pm #653980
ya.predkoParticipantBut thanks to your negligence, I discovered that the conflicting code is the code in the child function.php which displayed the missing products at the end of the list.
///product out of stock to end/// add_filter('posts_clauses', 'order_by_stock_status'); function order_by_stock_status($posts_clauses) { global $wpdb; // only change query on WooCommerce loops if (is_woocommerce() && (is_shop() || is_product_category() || is_product_tag() || is_product_taxonomy())) { $posts_clauses['join'] .= " INNER JOIN $wpdb->postmeta istockstatus ON ($wpdb->posts.ID = istockstatus.post_id) "; $posts_clauses['orderby'] = " istockstatus.meta_value ASC, " . $posts_clauses['orderby']; $posts_clauses['where'] = " AND istockstatus.meta_key = '_stock_status' AND istockstatus.meta_value <> '' " . $posts_clauses['where']; } return $posts_clauses; }
Now the question is how to do it in another way, because in the theme settings such a function is marked as deprecated
April 15, 2025 at 9:53 am #654089
Luke NielsenKeymasterHello,
I apologize for any inconvenience you have experienced.
This option is marked as experimental rather than deprecated. This means the feature is still being actively developed and refined. While it’s available for you to use, we cannot guarantee its complete stability or compatibility with third-party plugins. https://monosnap.com/file/wT2LX7wDDFU6r0qqxD6iSfhiuwY6GM
Kind Regards
April 16, 2025 at 7:41 pm #654750
ya.predkoParticipantWhere is my all wigets?? Why you started regeneration of image??? My hoster block my sites after over limits of regeneration…. What a F*****?????
April 17, 2025 at 9:10 am #654825
Artem TemosKeymasterHello,
We didn’t touch your website and didn’t run images regeneration.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register