Title: A Long Time Ago
Author: amielucha
Published: <strong>23 de enero de 2014</strong>
Last modified: 23 de enero de 2014

---

Buscar plugins

Este plugin **no se ha probado con las últimas 3 versiones mayores de WordPress**.
Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas 
de compatibilidad cuando se usa con las versiones más recientes de WordPress.

![](https://s.w.org/plugins/geopattern-icon/a-long-time-ago.svg)

# A Long Time Ago

 Por [amielucha](https://profiles.wordpress.org/amielucha/)

[Descargar](https://downloads.wordpress.org/plugin/a-long-time-ago.zip)

 * [Detalles](https://es.wordpress.org/plugins/a-long-time-ago/#description)
 * [Valoraciones](https://es.wordpress.org/plugins/a-long-time-ago/#reviews)
 *  [Instalación](https://es.wordpress.org/plugins/a-long-time-ago/#installation)
 * [Desarrollo](https://es.wordpress.org/plugins/a-long-time-ago/#developers)

 [Soporte](https://wordpress.org/support/plugin/a-long-time-ago/)

## Descripción

A Long Time Ago is a WordPress plugin that replaces the default post time (for example:«
Posted on 01/01/2011 at 11:11») with «Posted x time ago» (examples: «Just now», «
2 hours ago», «Yesterday», «on Thursday», «3 weeks ago», «1 year ago»).

Enjoy!

#### Features Include:

 * Translation-ready. Includes English, Polish and Spanish.
 * `[time_ago]` shortcode allowing to place the time within posts and plugins.
 * ISO-formatted `<time>` HTML element
 * special cases: «just now» and «yesterday»

#### Bonus:

 * Function improving display of weekdays when using Polish language

## Instalación

 1. Upload `long-time-ago` folder to the `/wp-content/plugins/` directory or go to 
    your WordPress Admin Panel -> Plugins -> Add New -> Upload (`wp-admin/plugin-install.
    php?tab=upload`)
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Use `time_ago()` to place the _posted on_ date in your templates or `get_time_ago()`
    to retrieve it. You can also use the `[time_ago]` shortcode.

## FAQ

  How do I retrieve/display the formatted date?

 * To echo the date within the theme use `<?php time_ago() ?>`.
 * To retrieve the date to a variable use `<?php get_time_ago() ?>`.
 * To display it within content or in visual editors use the `[time_ago]` shortcode.

  How do I replace the *posted on* date format in my theme?

Various themes use different methods to display the «posted on» date.

For themes based on _\_s_ such as _twentyfourteen_ you can replace all instances
of `twentyfourteen_posted_on()` (names vary from theme to theme but chances are 
it will be called themename_posted_on()) appearing across the theme with `time_ago()`.

You will most likely find the function in the following template files: content.
php, content-single.php etc.

## Reseñas

No hay valoraciones para este plugin.

## Colaboradores y desarrolladores

«A Long Time Ago» es un software de código abierto. Las siguientes personas han 
colaborado con este plugin.

Colaboradores

 *   [ amielucha ](https://profiles.wordpress.org/amielucha/)

[Traduce «A Long Time Ago» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/a-long-time-ago)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/a-long-time-ago/) ,
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/a-long-time-ago/)
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/a-long-time-ago/)
por [RSS](https://plugins.trac.wordpress.org/log/a-long-time-ago/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 0.1

 * Initial release. Includes English, Polish and Spanish translations.

## Meta

 *  Versión **0.1**
 *  Última actualización **hace 13 años**
 *  Instalaciones activas **10+**
 *  Versión de WordPress ** 3.0.1 o superior **
 *  Probado hasta **3.7.41**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/a-long-time-ago/)
 * Etiquetas:
 * [date](https://es.wordpress.org/plugins/tags/date/)[time](https://es.wordpress.org/plugins/tags/time/)
   [timestamp](https://es.wordpress.org/plugins/tags/timestamp/)[yesterday](https://es.wordpress.org/plugins/tags/yesterday/)
 *  [Vista avanzada](https://es.wordpress.org/plugins/a-long-time-ago/advanced/)

## Valoraciones

 4 de 5 estrellas.

 *  [  1 valoración de 5 estrellas     ](https://wordpress.org/support/plugin/a-long-time-ago/reviews/?filter=5)
 *  [  0 valoraciones de 4 estrellas     ](https://wordpress.org/support/plugin/a-long-time-ago/reviews/?filter=4)
 *  [  1 valoración de 3 estrellas     ](https://wordpress.org/support/plugin/a-long-time-ago/reviews/?filter=3)
 *  [  0 valoraciones de 2 estrellas     ](https://wordpress.org/support/plugin/a-long-time-ago/reviews/?filter=2)
 *  [  0 valoraciones de 1 estrellas     ](https://wordpress.org/support/plugin/a-long-time-ago/reviews/?filter=1)

[Tu valoración](https://wordpress.org/support/plugin/a-long-time-ago/reviews/#new-post)

[Ver todas las reseñas](https://wordpress.org/support/plugin/a-long-time-ago/reviews/)

## Colaboradores

 *   [ amielucha ](https://profiles.wordpress.org/amielucha/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/a-long-time-ago/)