New to Translating WordPress? Read through our Translator Handbook to get started. Hide
| Prio | Original string | Translation | — |
|---|---|---|---|
| ↑ | Display a relative date (e.g. "4 days ago"). | You have to log in to add a translation. | Details |
Original untranslated |
|||
| ↑ | Relative Date | You have to log in to add a translation. | Details |
Original untranslated |
|||
| Installation Instructions | You have to log in to add a translation. | Details | |
Original untranslated |
|||
| Please visit the <a href="https://github.com/dartiss/relative-date" title="Github">Github page</a> for the latest code development, planned enhancements and known issues. | You have to log in to add a translation. | Details | |
Original untranslated
Please visit the <a href="https://github.com/dartiss/relative-date" title="Github">Github page</a> for the latest code development, planned enhancements and known issues.
CommentFound in description paragraph. You have to log in to edit this translation. |
|||
| For example, the following would give the age of a child born on 1/1/2010, using a comma separator and displaying the output to 2 levels… | You have to log in to add a translation. | Details | |
Original untranslated
For example, the following would give the age of a child born on 1/1/2010, using a comma separator and displaying the output to 2 levels…
CommentFound in description paragraph. You have to log in to edit this translation. |
|||
| You can also provide a second date parameter, again in a Unix format date. If this is specified then the output will be the difference between the 2 dates that you’ve provided. | You have to log in to add a translation. | Details | |
Original untranslated
You can also provide a second date parameter, again in a Unix format date. If this is specified then the output will be the difference between the 2 dates that you’ve provided.
CommentFound in description paragraph. You have to log in to edit this translation. |
|||
| No parameters are required and if none are specified then it will simply create a relative date for the current post or page based on how old it is. However, you can specify a Unix format date (all dates specified must be in Unix format). If one is supplied then the difference will be between that and the current date. | You have to log in to add a translation. | Details | |
Original untranslated
No parameters are required and if none are specified then it will simply create a relative date for the current post or page based on how old it is. However, you can specify a Unix format date (all dates specified must be in Unix format). If one is supplied then the difference will be between that and the current date.
CommentFound in description paragraph. You have to log in to edit this translation. |
|||
| Adding the code to your theme | You have to log in to add a translation. | Details | |
Original untranslated
Adding the code to your theme
CommentFound in description header. You have to log in to edit this translation. |
|||
| Anyway, if you want to try it, head into your Administration screen and select Settings -> General. Near the bottom you should find a new option named "Use Relative Dates". Tick this box and then click on "Save Settings". Your blog dates should now show as relative dates. | You have to log in to add a translation. | Details | |
Original untranslated
Anyway, if you want to try it, head into your Administration screen and select Settings -> General. Near the bottom you should find a new option named "Use Relative Dates". Tick this box and then click on "Save Settings". Your blog dates should now show as relative dates.
CommentFound in description paragraph. You have to log in to edit this translation. |
|||
| Please bear in mind, however, that this will use default depth and divider settings and, depending on how your theme outputs it, the result may not make sense (depending on whether the original call hard-codes any before/after text or passes it as a parameter, as it should do). | You have to log in to add a translation. | Details | |
Original untranslated
Please bear in mind, however, that this will use default depth and divider settings and, depending on how your theme outputs it, the result may not make sense (depending on whether the original call hard-codes any before/after text or passes it as a parameter, as it should do).
CommentFound in description paragraph. You have to log in to edit this translation. |
|||
| If editing your theme isn't something you're comfortable with then you can achieve an automatic conversion. | You have to log in to add a translation. | Details | |
Original untranslated
If editing your theme isn't something you're comfortable with then you can achieve an automatic conversion.
CommentFound in description paragraph. You have to log in to edit this translation. |
|||
| In most cases you'll probably use this plugin to display a post time... | You have to log in to add a translation. | Details | |
Original untranslated
In most cases you'll probably use this plugin to display a post time...
CommentFound in description paragraph. You have to log in to edit this translation. |
|||
| If you're happier changing your theme then this is definitely the best way to do it as you can tweak the output to just how you'd like it! To use, simply call either <code>get_relative_date</code> or <code>relative_date</code> - the first will return the relative date and the second will output it. | You have to log in to add a translation. | Details | |
Original untranslated
If you're happier changing your theme then this is definitely the best way to do it as you can tweak the output to just how you'd like it! To use, simply call either <code>get_relative_date</code> or <code>relative_date</code> - the first will return the relative date and the second will output it.
CommentFound in description paragraph. You have to log in to edit this translation. |
|||
| Output Formats | You have to log in to add a translation. | Details | |
Original untranslated |
|||
| Voila! It's ready to go. | You have to log in to add a translation. | Details | |
Original untranslated
Voila! It's ready to go.
CommentFound in installation paragraph, faq paragraph. You have to log in to edit this translation. |
|||
Export as
Comment
Short description.