Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Coupe WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Guide du débutant : Comment antidater vos publications WordPress

Récemment, un de nos utilisateurs/utilisatrices nous a demandé s’il était possible d’antidater ses publications WordPress. La réponse est OUI. WordPress vous permet de modifier les dates des publications que vous écrivez. Vous pouvez publier une publication avec la date et l’heure actuelles, la dater rétroactivement à une date et une heure passées, ou vous pouvez même planifier des publications qui seront publiées dans le futur. Dans cet article, nous allons vous afficher comment antidater vos publications WordPress.

Back Date your WordPress Blog Posts

Tutoriel vidéo

Subscribe to WPBeginner

Si vous n’aimez pas la vidéo ou si vous avez besoin de plus d’instructions, alors continuez à lire.

Commencez par modifier la publication que vous souhaitez antidater dans votre zone d’administration WordPress.

Sur l’écran de l’éditeur de l’article, sous la boîte méta Publier, vous verrez l’option de publier l’article immédiatement. Juste à côté, il y a un lien de modification. En cliquant sur le lien de modification, vous afficherez les liens de date et d’heure de la publication.

Edit a post's date and time in WordPress

Les Réglages de la date et de l’heure vous permettent de choisir n’importe quelle date et heure dans le passé ou dans le futur. Choisir une date et une heure futures vous permet de planifier la publication à cette date.

Scheduling a post in WordPress

En revanche, si vous choisissez une date et une heure passées, la date sera mise à jour et la publication sera modifiée dans les pages d’archives de votre site. Par exemple, si vous modifiez le mois d’un billet de juin à janvier, il apparaîtra sur la page des archives mensuelles de janvier, même si vous venez de le publier. La publication apparaîtra également en conséquence sur la page de la liste de tous les messages dans la zone d’administration.

A newly added back dated post appearing at the bottom

Cette fonction est particulièrement utile lorsque vous souhaitez publier un article, mais que vous ne voulez pas qu’il apparaisse sur la page d’accueil de votre site. Vous pouvez simplement le dater à une date antérieure à celle de la dernière publication sur la page d’accueil de votre site.

Comment afficher la date de la dernière mise à jour ?

Certains utilisateurs/utilisatrices pensent qu’ils devraient retirer les dates de leurs blogs pour faire croire aux moteurs de recherche que leur contenu n’est pas sensible au temps et qu’il est toujours frais.

Nous ne sommes pas du tout d’accord avec cette opinion. Cela n’aide pas au référencement de votre site, et c’est terrible pour l’expérience des utilisateurs/utilisatrices. Consultez notre article sur les raisons pour lesquelles vous ne devriez pas retirer les dates de vos publications de blog WordPress pour plus d’informations sur ce Sujet.

Chez WPBeginner, nous affichons la dernière date de mise à jour d’un article au lieu de la date de publication. Les dates de dernière mise à jour sont particulièrement utiles pour les sites dont le contenu est régulièrement mis à jour. Voici comment afficher la dernière date de mise à jour sur vos publications de blog WordPress.

Sowing last updated date in WordPress

Emplacement du code qui affiche la date et l’heure de la publication dans les fichiers de votre thème (généralement dans loop.php ou publication unique.php). Remplacez-le ensuite par ce code :

Last updated on <time datetime="<?php the_modified_time('Y-m-d'); ?>"><?php the_modified_time('F jS, Y'); ?></time>

Nous espérons que cet article vous a aidé à apprendre comment antidater les publications WordPress. Vous pouvez également consulter notre guide sur l’affichage des dates relatives dans WordPress.

Si vous avez aimé cet article, veuillez vous abonner à notre chaîne YouTube pour obtenir des tutoriels vidéo sur WordPress. Vous pouvez également nous trouver sur Twitter et Facebook.

Divulgation : Notre contenu est soutenu par les lecteurs. Cela signifie que si vous cliquez sur certains de nos liens, nous pouvons gagner une commission. Consultez comment WPBeginner est financé, pourquoi cela compte et comment vous pouvez nous soutenir. Voici notre processus éditorial.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

L'ultime WordPress Toolkit

Accédez GRATUITEMENT à notre boîte à outils - une collection de produits et de ressources liés à WordPress que tous les professionnels devraient avoir !

Reader Interactions

65 commentairesLaisser une réponse

  1. Syed Balkhi

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Dendi

    have you automate plugin to back date my wordpress post ?

    • WPBeginner Support

      We do not have a specific plugin for backdating posts automatically at the moment.

      Administrateur

  3. tom riddle

    ery useful, thanks! Question: if I update with a date in the past, the post will move into the corresponding archive month. How does it affect Google Analytics stats?

    • WPBeginner Support

      It should not have a major effect on your site’s SEO.

      Administrateur

  4. Jess Reilly

    Is there a way to backdate assets uploaded to the media library? Can’t see an edit button next to the dates. Thanks.

    • WPBeginner Support

      Not one we would recommend at the moment.

      Administrateur

  5. george

    Hi,

    thanks for the information.
    I am in search to find how to not permit the user to backdating. Is it possible somehow?

    Kind Regards,

  6. Kelly

    Hello! I did exactly what the video show. However, when I publish my post, it show the backdate and the current date. What am I doing wrong?

    • WPBeginner Support

      Your theme may have custom styling, you would want to reach out to the support for your specific theme and they should be able to assist.

      Administrateur

  7. Yolanda Ridge

    Since switching my site from Wordpress.com to Wordpress.org, my blog entries now show date of publication and date of creation. Any suggestions on how to fix this? Thanks.

    • WPBeginner Support

      That would be determined by your theme rather than the platform your site is on. If you reach out to your theme’s support they should be able to assist.

      Administrateur

  8. Michelle

    We’re reviewing some very old blog posts on our site. There are some posts that are still relevant or will be with some minor editing, that we don’t necessarily want to re-publish, but we want them to appear more current by having a more recent date. Can we change the date on the post to be a date in the more recent past without triggering the RSS Feed as having a new post? If it is possible, is it wise to do so, SEO wise?

  9. Karen

    Hello,
    If I am just going start my WP blog, can I backdate a post to prior to the date I started the blog site? For example: I start my new blog Jan 5th 2020, can I have my posts start in June 2019? I want to add lots of value and posts but don’t want it to appear that I just started my blog now. Is this possible in WP?
    Thank you.

    • WPBeginner Support

      Yes, if you wanted to do that you certainly could :)

      Administrateur

  10. Felicity

    Thank you for this. Very helpful.

    • WPBeginner Support

      You’re welcome, glad our guide was helpful :)

      Administrateur

  11. Philip Chen

    Hi, I have a question, will backing date or editing Publish Date to a more recent date affect SEO? I mean search engines may know the real publish date of a post, and may view the action of adjusting date as cheating. Or I’m just too suspicious? Thanks!

    • WPBeginner Support

      If you are updating the post to a newer date rather than back dating then it can bee bad for your SEO.

      Administrateur

  12. Rahul Rai

    If I want to update my old post and change the publish date to current date…will that post display new date in google search result? Or should i depend on last updated feature which btw doesn’t show on top of my category bcz of old publish time ?

    Thank you

    • WPBeginner Support

      You would want to reach out to the support for your theme for replacing the published date with the last updated date to have google no longer be able to find the publish date.

      Administrateur

  13. Nidhal Mah

    Is this feature available on free domain WordPress, or it is about a premium account?

    • WPBeginner Support

      Our tutorials are for WordPress.org sites but you should still be able to do this on WordPress.com

      Administrateur

  14. Phil Smart

    How can I sort posts like I can select categories from a dropdown? : author, timestamp, event date, published date.

  15. Brian Yap

    I have switched to Wordpress 5.1.1. I have a family history blog and I put the posts back when the event actually happened. So I was just entering my father’s graduation in 1959. But the new editor would not let me put in a year before about 1970. I switched back to the old editor as you describe in this blog and the problem went away. But I prefer the new editor. I do not know how to raise this as a bug/feature request.

    • WPBeginner Support

      For dates before January 1st 1970 you would want to use a custom field to state the date rather than backdating using this method due to a limit in PHP

      Administrateur

  16. Kristi Ambrose

    What I want to know is IF I can update the internal time or internal Hemisphere.

    Something changed with the most recent update – when I asked it to schedule a post for 8:00am it would post at 8:00am. Now it’s posting it at 4:00am.

    • WPBeginner Support

      For setting your time zone you would want to check under Settings>General in your site settings.

      Administrateur

  17. Sander

    How would this work on a bbpress forum page? I have added topics and replies (so are they custom posts?) recently and backdated them to, for example, September 2018 (it’s currently arch 5 2019).

    When I view the Forum topics page, I see posts I just updated that have the September published dates. There are indeed more recently dated replies (from late February 2019). Those do not show first.

    Any help with this much appreciated.

    • WPBeginner Support

      For reordering replies in those, you would want to reach out to bbpress’ support for their recommended method and they should be able to assist.

      Administrateur

  18. Mark

    Thanks from me … just what I was after

    • WPBeginner Support

      Glad our article could help :)

      Administrateur

  19. Susan Taunton

    Is this still going to be possible with the Gutenberg editor?

  20. Sandi

    This is exactly what I did, and while it says scheduled to publish on the date I chose in 2017, it still has the blog post set as a draft?

  21. Jack

    I am very interested in this topic because I have been migrating a lot of legacy content from another CMS into Word Press, and prefer to use the original publish date.

    I am able to change the publish date easily, but I have encountered one problem. After I re-publish my articles they show the posted date and not the original published date. This is problematic because my theme is showing the republished article as a new article, even if the original publication date is from five years ago. Is there a way I can get the published article to show the original publication date only. This could be confusing for my subscribers.

  22. Hassan

    this is a great website for beginners, i always visit this site whenever i want to learn anything about wordpress.

  23. regii blue

    is this article still available? I mean, if I edit an existing article, is the publish date going to be changed?

    • Haitham Alnaqeb

      No it should not be changed unless you edit the date, too.
      Hopefully, I understood your question right.

  24. Anant Anand Gupta

    Please tell me if i back date my post, will the images i have embedded in the post will also get backdated ?

  25. Narinder kumar

    Thanks for sharing the great article I am really confused how to change my already published article date after reading your post I know that I am using the last date instead of publishing date it’s really helped me.

  26. Mandy

    Thanks for the great article! Many times I’ve rescheduled posts forward, but, never thought of the advantage of back-dating them. I do have a question about rescheduling, if you don’t mind: Several of my blogs have received excellent comments, and when I rescheduled them forward the blog post showed that there were comments (say, 4) but, then no comments were displayed. I tried to copy and paste in the comments and author’s name into the new post comments section but, this didn’t work.

    Is there any solution to this? Would the same problem happen with back-dating?

    Thanks so much for your help!

  27. Chidex

    Wow! This is exactly what i needed. Thanks for this post, it really helped me alot.

  28. Sravani

    Hi WP Beginner,

    I’m a big fan of your blog. Thank you for this post. I started a blog in 2010. And there are approx 100 articles till 2015. It is an education blog. So I wrote approx 2000 posts and backdated them, so that everyday from the starting day of the blog has 1 post. I use google adsense. Now I have fear that is this legal or illegal. I didn’t copy any other blog. But I’m afraid of adsense suspending me because of backdating.

    Shall I keep them like that or shall I change these posts to 2016, in which I wrote all those posts?

  29. Abhijit badgujar

    Hi, I front dated my post vut it is not showing on my website. Can you please tell me why?

    ex: I have a post published on 2nd January and I updated it today again, so I have changed the published to 5th Jan, so it should technically show inn today’s post on my site but it is not. Can you help me?

  30. Lana

    Hmm.. my wordpress page looks different than the on in the video. It’s white not dark gray and with much less options on the left of the screen.

  31. Si Retu

    Hi thanks again for the post… However is there any plugin that can help me to rearrange the date of the posts subsequently?

    For example, I have 150 posts, then I want to reset the date for all post, each day contains 2 posts.

    So today 2 post, yesterday 2 post, and so on

    I also can change the number of 2 if maybe I want to set 3 post for each day. Is it possible and there is a plugin suitable for that?

    If not, do you mind if you create a tutorial for that since my blog is evergreen type and I use old post highliter to recycle the date.

    Thanks before…

  32. Niktar

    Any bad SEO impact for publishing in back date?

  33. Jane Smith

    I have tried this but, for some reason, I only have a few selected previous dates to choose from (1-Jan, 2-Feb, 3-Mar, 4-Apr etc). Any ideas on how I can have free access to previous dates?

  34. Jenny

    Ah, great. Quite obvious really, but wasn’t sure if they would let you back-date. I am a journalist and wanting to publish old articles I’ve written, preferrably back-date them to the day they were printed, so this option is wonderful

  35. Gayle

    Super helpful – thank you for posting!

  36. Barney Davey

    Hi, thanks for all the useful info you publish. This article/video is a good example. Quick question. If I add some backdated posts can I keep them from being published on my RSS feed?

  37. John

    And the most amazing thing is that you can even give a post a date before the internet existed :)

  38. ken cooper

    In your recent article « Beginner’s Guide: How to Back Date Your WordPress Posts » in the section « How to Show Last Updated Date » you say the following:

    ———————————————————————-
    Locate the code that shows the post’s date and time in your theme files (usually in loop.php or single.php). Next replace it with this code:

    1 Last updated on <time datetime=" »>

    We hope this article helped you learn how to back date WordPress posts….
    ———————————————————————-

    I would like to strongly disagreed with this concept! I have NEVER agreed with putting code in the theme files because when you update the theme it is gone and you have to redo the code – IF you remember to. To me this is trouble that is waiting to happen and it WILL happen. However, I suppose the code could go into a child theme but usually the child theme is created to handle style.css and finctions.php. But I suppose the loop.php or single.php could go into the child theme?

    Thanks – Ken Cooper

    • WPBeginner Support

      Your Child Theme can have any template that your Parent Theme has. You can make this change into your child theme.

      Administrateur

    • Pat

      If one does not have a ChildTheme… I am using only 2014 default WordPress theme with pulugins, can I type code literally at the very bottom of the post being updated that provides the updated date jargon to satisfy the Google search for last updated dates? There seems to be no plugins that accomplish this.

  39. Catherine

    Very useful, thanks! Question: if I update with a date in the past, the post will move into the corresponding archive month. How does it affect Google Analytics stats?

Laisser une réponse

Merci d'avoir choisi de laisser un commentaire. Veuillez garder à l'esprit que tous les commentaires sont modérés selon notre politique de commentaires, et votre adresse e-mail ne sera PAS publiée. Veuillez NE PAS utiliser de mots-clés dans le champ du nom. Ayons une conversation personnelle et significative.