1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Howto turn off the date in wordpress articles?

Discussion in 'Blogging' started by ingredible, Mar 31, 2011.

  1. ingredible

    ingredible Junior Member

    Joined:
    Sep 11, 2010
    Messages:
    183
    Likes Received:
    25
    Hi I want to know if it is possible to turn off the date function in published wordpress articles. So it looks like a static html page - And that in Google the search results don't show up as "Posted on 02-04-09..."
     
  2. Autumn

    Autumn Elite Member

    Joined:
    Nov 18, 2010
    Messages:
    2,197
    Likes Received:
    3,042
    Occupation:
    I figure out ways to make money online and then au
    Location:
    Spamville
    Edit your template files and remove the calls to the date related functions. Look in wp-content/themes/yourtheme and edit single.php, index.php, archive.php, category.php and whatever other pages you want to remove the date from.

    Normally the function you want to remove is the_time(). Just replace it with a   so you don't mess up the spacing of your theme.
     
  3. kokoloko75

    kokoloko75 Elite Member

    Joined:
    Jan 1, 2011
    Messages:
    1,628
    Likes Received:
    1,938
    Occupation:
    Design director
    Location:
    Paris (France)
    [​IMG]

    Beny
     
    • Thanks Thanks x 1
  4. Autumn

    Autumn Elite Member

    Joined:
    Nov 18, 2010
    Messages:
    2,197
    Likes Received:
    3,042
    Occupation:
    I figure out ways to make money online and then au
    Location:
    Spamville
    Is that gvim? :)
     
  5. kokoloko75

    kokoloko75 Elite Member

    Joined:
    Jan 1, 2011
    Messages:
    1,628
    Likes Received:
    1,938
    Occupation:
    Design director
    Location:
    Paris (France)
    Oops, my English is not good enough to understand this sentence...
    "givm" what ?

    Beny
     
    Last edited: Mar 31, 2011
  6. kokoloko75

    kokoloko75 Elite Member

    Joined:
    Jan 1, 2011
    Messages:
    1,628
    Likes Received:
    1,938
    Occupation:
    Design director
    Location:
    Paris (France)
    Aaah ! Google Image helped me to understand you ! lol :S
    No it's Notepad++...

    ;)

    Beny
     
  7. ingredible

    ingredible Junior Member

    Joined:
    Sep 11, 2010
    Messages:
    183
    Likes Received:
    25
    hm doesn't change anything .. maybe I do something wrong?
     
  8. kokoloko75

    kokoloko75 Elite Member

    Joined:
    Jan 1, 2011
    Messages:
    1,628
    Likes Received:
    1,938
    Occupation:
    Design director
    Location:
    Paris (France)
    You didn't forget to empty your cache ?

    Beny
     
  9. darkdk

    darkdk Newbie

    Joined:
    Dec 1, 2009
    Messages:
    27
    Likes Received:
    5
    Also check our single / page.php on the off chance it's in there for you.

    CTRL+F "Time" and "Date"
     
  10. efwebs

    efwebs Regular Member

    Joined:
    Aug 9, 2010
    Messages:
    424
    Likes Received:
    137
    Home Page:
    There are some plugins like "date exclusion" that will remove it, but it only works for me on some themes. If it doesn't, I go in and do it manually as the others have suggested.
     
  11. darkdk

    darkdk Newbie

    Joined:
    Dec 1, 2009
    Messages:
    27
    Likes Received:
    5
    I'd do it manually if possible. The less PHP calls and plugins the better.