Google automatically decides what to display in the preview in the search results based on criteria that are not publicly defined. Their documentation states:
Snippets are automatically created from page content. Snippets are designed to emphasize and preview the page content that best relates to a user’s specific search. This means that Google Search might show different snippets for different searches.
Snippets are primarily created from the page content itself. However, Google sometimes uses the meta description HTML element if it might give users a more accurate description of the page than content taken directly from the page.
Source: https://developers.google.com/search/docs/appearance/snippet
The meta description should therefore be understood as a recommendation to Google, not as a requirement that “you must use this for every result”.
If you want to know more about this, ask in the Google Search Console forum: https://support.google.com/webmasters/community?hl=en or consult an SEO expert. You may also find more information in the Yoast support forum: https://wordpress.org/support/plugin/wordpress-seo/
@threadi thank you for clarifying about meta interpreted by google.
So how can I hide the word “Description” in product site?
K.
-
This reply was modified 4 months, 3 weeks ago by
maxikamil.
That depends on the theme and, if used, the page builder you are using. Its template is used for the output. My recommendation would be to contact the support team for the theme or page builder you are using.
@threadi
It’s Storefront v: 4.6.0.
I just took a look at that. Storefront uses WooCommerce’s own functions to display product data via tabs. The label “Description” comes from WooCommerce itself via their tabs and uses a WooCommerce-specific template for it. I see the following options for removing this text from your website:
- Via CSS:
#tab-description h2 { display: none } – Disadvantage: may still be read by Google.
- Via PHP hook:
add_filter( 'woocommerce_product_description_heading', function() { return ''; });
- Overlay the WooCommerce template
single-product/tabs/description.php using a child theme. See: https://developer.wordpress.org/themes/advanced-topics/child-themes/
Alternatively, as already mentioned, contact your theme’s support team: https://wordpress.org/support/theme/storefront/