Remove post dates from showing in google SERP (infoway)

Discussion in 'Infoway WordPress Theme' started by superevent, May 18, 2014.

  1. superevent

    superevent Guest

    Joined:
    Apr 11, 2014
    Messages:
    37
    Likes Received:
    0
    Hi Ink themes,

    I have made a website in infoway theme and I have already removed the date, author etc. on posts so these are not showing on the website. However the dates on the posts are stills showing in google SERP.

    Now do I remove this?

    site:www.superlej.dk



     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to single.php present in your theme directory and remove the code given below

    Code:
       <ul class="post_meta">
                  <li class="post_date"><span></span>&nbsp;&nbsp;
                    <?php the_date('Y-m-d'); ?>
                  </li>
                  <li class="posted_by">&nbsp;&nbsp;<span>By</span>&nbsp;&nbsp;
                    <?php the_author_posts_link(); ?>
                  </li>
                  <li class="post_category">&nbsp;&nbsp;<span>Posted in</span>&nbsp;&nbsp;
                    <?php the_category(', '); ?>
                  </li>
                </ul>

    Use same process for blog.php also.



    Thanks & Regards
    Gourav Shrivastava
     
  3. christinahills

    christinahills New Member

    Joined:
    Jul 26, 2012
    Messages:
    9
    Likes Received:
    0
    Location:
    San Diego, CA
    If you wanted to also remove the category of the blog posts, what would you do?
     
  4. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160

    Hello Christina,

    For blog page

    Code:
    .content-bar .post .post_meta .post_category {
    display:none;
    }
    For single page
    Code:
    .content-bar .post.single .post_meta .post_category {
    display: none;}
    Thanks & Regards
    Nitesh Raghuwanshi
     

Share This Page