How to Remove Timestamps from Home/Posts ?

Discussion in 'WordPress' started by samazgor, Sep 23, 2013.

  1. #1
    I use twentythirteen theme in my blog (link). I am unable to find the solution to remove the Timestamps from home page or post page.

    Can anybody help me ?
     
    samazgor, Sep 23, 2013 IP
  2. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    406
    Best Answers:
    21
    Trophy Points:
    295
    #2
    Add this to custom CSS
    .entry-meta .date {
    display: none;
    }

    hope that helps,
    Nigel
     
    Nigel Lew, Sep 23, 2013 IP
    urock_ltd likes this.
  3. samazgor

    samazgor Notable Member

    Messages:
    173
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    230
    #3
    thanx, your css is helpful but i don't want to hide. i want to remove the anchor that's why i was searching Timestamps . anyway i got the code.
     
    samazgor, Sep 23, 2013 IP
  4. urock_ltd

    urock_ltd Active Member

    Messages:
    172
    Likes Received:
    13
    Best Answers:
    2
    Trophy Points:
    80
    Digital Goods:
    1
    #4
    Great!!!!!!
    I was also looking for this solution,
    it works,
    I hope this answer will help for others also..
     
    urock_ltd, Oct 7, 2013 IP
  5. navin_bvr

    navin_bvr Active Member

    Messages:
    211
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    90
    #5
    In the theme's functions.php file look for function twentythirteen_entry_date( $echo = true ) this should be in line 363 and change it to function twentythirteen_entry_date( $echo = false )

    Edited previous answer as this one is better :)
     
    navin_bvr, Oct 14, 2013 IP
  6. samazgor

    samazgor Notable Member

    Messages:
    173
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    230
    #6
    thanx for the information. your code works fine.
     
    samazgor, Oct 22, 2013 IP