Este plugin no ha sido probado con ninguna las 3 últimas versiones principales de WordPress. Puede que ya no se mantenga o no tenga soporte, y puede que tenga problemas de compatibilidad cuando se utiliza con versiones más recientes de WordPress.

Last Updated Shortcode

Descripción

Creates the [lastupdated] shortcode to display the date and/or time of the last update to a post or page. If used without any arguments, it will display the date in the format configured in the Settings > General tab. It supports several optional arguments: format, before, and after. These options allow you to change how the date/time is formatted and if anything should appear before or after the date/time is displayed.

Readme Generator

Ayuda

Donations

Donations are graciously accepted to support the continued development and maintenance of this and other plugins. We currently accept Paypal and kind words.

Capturas de pantalla

  • The default text that will be displayed when using the shortcode with no arguments [lastupdated].

Instalación

  1. Download the latest zip file and extract the last-updated-shortcode directory.
  2. Upload this directory inside your /wp-content/plugins/ directory.
  3. Activate ‘Literal Shortcode’ on the ‘Plugins’ menu in WordPress.
  4. Insert the shortcode in a post or page to return the date/time it was last modified.

FAQ

What is the shortcode?

You can use either [lastupdated] or [lastupdate], they both work identically.

What formatting options can I use

You can use any of the special date variables listed at this WordPress codex page. If you want to insert plain text (like the word “at” for instance) escape each letter with a backslash, \l\i\k\e \t\h\i\s.

How do I insert this in theme files?

Just wrap the shortcode in <?php do_shortcode( ); ?>. So to get the default display, just insert <?php do_shortcode( [lastupdated] ); ?>

Why did you make this?

Everyone likes a good shortcode!

Can I change the shortcode?

Yes, just open last-updated-shortcode.php and add or change what text you want to trigger the shortcode in on of the arrays near the bottom. If this gets any kind of popularity, I’ll make that easier by adding an options page.

Can you add this feature I just thought of?

Can I? Yes. Will I? Yes, if I think it would be a helpful addition. I’m trying to keep things clean and simple, but there’s always room for improvement, so let me know if you think a feature is lacking!

Reseñas

8 de Octubre de 2018
Although it hasn’t been updated in years, this plugin is still working fine, even with WordPress 4.9.8. Through the Editor in the Appearance menu (“Design” in the German edition of WP) you can directly edit the plugin’s PHP file where you can set the text you wish to be displayed. Never worry about keeping your blog posts marked as updated. Simple and effective. Five stars all the way.
19 de Agosto de 2018
Works great, easy to customize wording, exactly what I was looking for. Thanks!
3 de Marzo de 2017
Great plugin to output information about site activity! Thank you!
3 de Septiembre de 2016
Many thanks for this straight forward, simple and efficient plugin!
Leer los 10 comentarios

Colaboradores & Desarrolladores

“Last Updated Shortcode” es software de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

Traduce “Last Updated Shortcode” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN, o suscríbete al registro de desarrollo por RSS .

Historial de cambios

1.0.1

  • Purely cosmetic update for WordPress 4.4

1.0.0

  • First released version.
  • There may still be bugs, but I can’t find any.