• Hi all,

    I am using the Busiprof theme and the Yoast Seo Plugin. In Yoast settings, I desactivated the date in the meta description of the blog posts. However, Google still shows the date of the posts in the meta description in the search engine results.

    Is it possible to remove those dates ? Do I need to change the code ?

    Thanks,

    Maxime

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi maximebizeau,

    Thanks for contacting us!

    To remove the dates you have to add custom CSS code.
    Go to Appearance >> Customize >> Custom CSS and add the below CSS code:

    .entry-date{
    	display: none !important;
    }

    I hope it will work for you.

    Let me know for any confusion!

    Thanks
    Rishabh

    Thread Starter maximebizeau

    (@maximebizeau)

    Hi Rishabh,

    Thank you for your answer ! I will try to add this in the CSS code.

    However, I have the following in the PHP code of my website :

    <div class="entry-meta">
    <span class="entry-date"><a href="<?php the_permalink(); ?>"><time datetime=""><?php the_time('M j,Y');?></time></a></span>

    Will it not conflit with what I will add in the CSS ?

    Many thanks,

    Maxime

    Hi,

    Can you please share a screenshot. Where you want to remove the date.
    So we can see and assist you better.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to remove dates of blog posts appearing in the meta description ?’ is closed to new replies.