How to get rid of the date on from of the description tag?

Discussion in 'Search Engine Optimization' started by caden315, Nov 14, 2013.

  1. #1
    Hello

    When I search for my website sportsplays.com in Google I see date of 2009 in front of the description. How do I get this removed? It isn't from a post as we don't have posts.

    Also we just moved websites to this domain about a month ago. Our website gets a ton of traffic so I would think this should go away soon

    Any help on this would be greatly appreciated.

    Travis
     
    caden315, Nov 14, 2013 IP
  2. blogdum

    blogdum Well-Known Member

    Messages:
    538
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    100
    #2
    Just find this code in your website.

    <?php the_time(‘M j, Y’);?>, Under: <?php the_category(‘,’)?></div>
    PHP:
    and replace it with the below one

    <script language=”javascript” type=”text/javascript”> document.write(‘<?php the_time(‘j’) ?>’); </script> <?php the_time(‘M Y’) ?> , Under: <?php the_category(‘,’)?> </div>
    PHP:
     
    blogdum, Nov 23, 2013 IP
  3. caden315

    caden315 Active Member

    Messages:
    549
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #3
    That only works for wordpress websites... our isn't a wordpress website
     
    caden315, Nov 27, 2013 IP
  4. Josh Hughbanks

    Josh Hughbanks Active Member

    Messages:
    33
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    53
    #4
    This is a simple fix. Remove this code from your footer and it should go away in time.

    <p>This document was last updated on March 9, 2009.</p>

    Edit- This was actually inside your Terms of Service, not your footer.
     
    Josh Hughbanks, Nov 27, 2013 IP
    steveb likes this.
  5. jean shelton

    jean shelton Banned

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #5
    I presume you mean the whole line containing the tags and date, and not just the tags and date individually. If so:

    .entry-meta{
    display: none;
    }
     
    jean shelton, Jun 17, 2015 IP