[英]How to remove date from Google Search meta description?
To eliminate the date display on the Yoast SEO plugin add this to the theme's functions.php
file:要消除Yoast SEO插件上的日期显示,请将其添加到主题的
functions.php
文件中:
add_filter( 'wpseo_show_date_in_snippet_preview', false);
OR或者
add_filter( 'wpseo_show_date_in_snippet_preview', '__return_false' );
Would you please add above code in your active theme functions.php
?你能在你的活动主题
functions.php
添加上面的代码吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.