Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #82558
    Masac
    Member

    Hey guys!

    Im trying to remove the date that shows up in the Google SERPs for every post I publish.

    I already removed the date, author etc on the posts using this code:

    .entry-author-link,
    .entry-permalink,
    .entry-date,
    .entry-meta {
    	display: none;
    }
    

    But it’s still showing in the SERPs. How can I remove it there as well?

    Thanks for any help

    #82578
    Pratik
    Participant

    Hi @Masac,
    Can you please post in your site url too?

    #82591
    Masac
    Member

    Hey Pratik,

    sure, its http://kinderwagen-paradies.de

    #82638
    Pratik
    Participant

    hi @Masac,
    Sorry, but it has been difficult because of a different language. CAn you remove that CSS and let me know in which page the issue is?

    We need to build a child theme and make customization there to completely remove it.

    Regards,
    Pratik

    #82690
    Masac
    Member

    I activated a child theme now and removed the CSS I postet previously.

    Now the date and author (above the post) and “published in category xyz” (below the post) shows on all posts again which I already removed before with the CSS code. I want to remove this AND the date that shows in the Google Search results.
    Here is an example url: http://kinderwagen-paradies.de/bergsteiger-capri-test/

    Another thing I would like to fix: The Homepage Headline and the Footer are wider than the content (only on large screen). I don’t know why, didn’t change anything there. That’s the reason why I had the whole site in fullwidth in the first place. Would be great if you have a solution for this as well.

    I appreciate your input and effort Pratik! Thanks!

    #82708
    Pratik
    Participant

    HI @Masac,
    Thank you for removing the code. Now to remove those entry data completely, add following code in your child theme’s functions.php.

    
    /**
     * Override Parent themes header meta to show nothing
     */
    function catcheverest_header_meta() {
    	return;
    }
    
    /**
     * Override Parent themes footer meta to show nothing
     */
    function catcheverest_footer_meta() {
    	return;
    }
    

    Now, what these functions will do is override the parent themes functions that return meta data to show no data.

    Let me know if this works out or not.

    About the Wider Content of Homepage Headline and Footer, it is because of Easy Bootstrap Shortcodes Plugin. Try deactivating this plugin. The issue will go away.

    Let me know how everything goes.

    Regards,
    Pratik

    #82752
    Masac
    Member

    Hey Pratik,

    The Code works perfectly. Some posts still show the date in SERPs but I think Google didn’t crawl them yet and still shows the old one. It’s all good I guess. Thanks a lot.

    About the footer/headline width: Ahh alright if that’s the problem I’ll just set the site to fullwidth again.

    Anyway, thanks for the code and instructions!

    Regards
    Masac

    #82766
    Pratik
    Participant

    Hi Masac,
    Glad everything worked out. If you liked our theme and support, please leave a review at https://wordpress.org/support/view/theme-reviews/catch-everest.

    Thanks,
    Pratik

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Removing posts date in Google SERPs’ is closed to new replies.