wisenilesh Posted December 12, 2018 Report Share Posted December 12, 2018 I want to hide the published date from Google search results? How can I do that? Link to comment Share on other sites More sharing options...
Support Pratik.d Posted December 13, 2018 Support Report Share Posted December 13, 2018 Hello, Thank you for contacting MyThemeShop today. You can use below filter code to remove the dates added by our plugin: add_filter( 'rank_math/opengraph/facebook/article_published_time', '__return_false' ); add_filter( 'rank_math/opengraph/facebook/article_modified_time', '__return_false' ); add_filter( 'rank_math/opengraph/facebook/og_updated_time', '__return_false' ); Looking forward to helping you. Thank you. 🏁Rank #1 on Google With our WordPress SEO Plugin. ⚡Score a 💯on PageSpeed and Dominate Search Rankings. ✏ Editing theme files? Please create a child theme to make your changes update-proof. Link to comment Share on other sites More sharing options...
wisenilesh Posted December 13, 2018 Author Report Share Posted December 13, 2018 Where I should add this code? Link to comment Share on other sites More sharing options...
Support Jitendraa Posted December 13, 2018 Support Report Share Posted December 13, 2018 Hello, You need to add the code at the end of your theme's functions.php file. Hope that helps. Thank you. 🏁Rank #1 on Google With our WordPress SEO Plugin. ⚡Score a 💯on PageSpeed and Dominate Search Rankings. ✏ Editing theme files? Please create a child theme to make your changes update-proof. Link to comment Share on other sites More sharing options...
wisenilesh Posted December 18, 2018 Author Report Share Posted December 18, 2018 Will it do the same functions as this plugin: https://wordpress.org/plugins/date-exclusion-seo-plugin/ I do not want to show up the published date on Google Search meta description Link to comment Share on other sites More sharing options...
Support Montgomerie Posted December 18, 2018 Support Report Share Posted December 18, 2018 Hello, No, that is manipulation and should not be done. That plugin updates the published/last updated date of a post, and without updating the content of a post, Google might penalize a website. Hope that helps. If you have any further question(s), please let us know. Thank you. 🏁Rank #1 on Google With our WordPress SEO Plugin ⚡Score a 💯on PageSpeed and Dominate Search Rankings. ✏ Editing theme files? Please create a child theme to make your changes update-proof. Link to comment Share on other sites More sharing options...
wisenilesh Posted December 24, 2018 Author Report Share Posted December 24, 2018 Sorry for the delayed response. I got your point but can you please tell me what is the function of the code which you gave me above? Link to comment Share on other sites More sharing options...
Support Montgomerie Posted December 24, 2018 Support Report Share Posted December 24, 2018 Hello, We would need the name of the theme you are using so we can provide the code accordingly. Please stay advised that if you are using a 3rd party theme, you would need to ask the theme's author to provide you the code to remove the dates from the single posts. Do not hide them with just CSS, remove them using a PHP function/filter. Looking forward to helping you. Thank you. 🏁Rank #1 on Google With our WordPress SEO Plugin ⚡Score a 💯on PageSpeed and Dominate Search Rankings. ✏ Editing theme files? Please create a child theme to make your changes update-proof. Link to comment Share on other sites More sharing options...
wisenilesh Posted December 24, 2018 Author Report Share Posted December 24, 2018 I am using Pinstagram theme of MyThemeShop Link to comment Share on other sites More sharing options...
Sam Posted December 24, 2018 Report Share Posted December 24, 2018 Hello, Please open the theme options panel and disable these options: Theme Options >> General Settings >> Meta Info to Show (Disable date in this option) Theme Options >> Single Posts >> Meta Info to Show(Disable date in this option) Theme Options >> Single Posts >> Date in Comments (Select 'Off') These options will remove all the instances of dates from your website and after a couple of days, when Google crawls your website, the date should be removed from the search results. Please stay advised, it is up to Google to decide whether they honor the request of removing the dates or not as Google's bots can always check the last updated date from the Sitemaps. Hope this helps. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts