Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #262677

    What code and where do I add it to stop Google from adding a date to my search results

    #263000

    I have the same question. I looked at the data for one of my posts in Google Webmaster Tools’ “Fetch as Google” tool and could see where the date was being displayed for the post. I removed the following code from the loop-index.php file:

    echo “<time class=’date-container minor-meta updated’
    $markup>”.get_the_time(get_option(‘date_format’)).”</time>”;
    echo “<span class=’text-sep text-sep-date’>/</span>”;

    I emptied all caches (I use W3 Total Cache) and used the Fetch as Google tool again and the date no longer appeared. I assume this will work, but will have to wait and see how Google reacts. In the mean time, I just want to make sure that this is the correct thing to do? Or is there another preferred method? Basically, I want to make sure I’m not breaking things!

    Thanks for the support, guys!!

    #263011

    Hello!

    This is more of a WordPress issue rather than a theme one, but try the following:

    Cheers!
    Josue

    #327285

    I realize this is an old post, but it still applies.

    I want to remove the date from the Google search snippet results for pages only – not blog posts. The above settings adjustment for a blank custom date affects everything, including blog posts.

    So… how do we remove the date from pages only in Google results?

    #327310

    Hi!

    As far as I know pages don’t add in a date. Not sure where Google would be pulling it from and checking on my own personal site running Enfold I’m not getting dates in my results.

    Regards,
    Devin

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.