Title: Last Updated Shortcode
Author: Luke Mlsna
Published: <strong>13 ເມສາ 2012</strong>
Last modified: 1 ມັງກອນ 2016

---

ຄົ້ນຫາປລັກອິນ

ປລັກອິນນີ້ **ຍັງບໍ່ທັນໄດ້ຮັບການທົດສອບກັບ WordPress 3 ເວີຊັນຫຼັກຫຼ້າສຸດ**. ມັນອາດຈະ
ບໍ່ໄດ້ຮັບການເບິ່ງແຍງ ຫຼື ສະໜັບສະໜູນອີກຕໍ່ໄປ ແລະ ອາດມີບັນຫາການເຮັດວຽກຮ່ວມກັນເມື່ອ
ໃຊ້ກັບ WordPress ເວີຊັນທີ່ໃໝ່ກວ່າ.

![](https://s.w.org/plugins/geopattern-icon/last-updated-shortcode.svg)

# Last Updated Shortcode

 ໂດຍ [Luke Mlsna](https://profiles.wordpress.org/bitacre/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/last-updated-shortcode.1.0.1.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/last-updated-shortcode/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/last-updated-shortcode/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/last-updated-shortcode/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/last-updated-shortcode/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/last-updated-shortcode/)

## ຄຳອະທິບາຍ

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

 * This plugin’s readme.txt file was generated by the [bitacre Readme Generator](http://shinraholdings.com/project/readme-gen/)
   for WordPress Plugins.

### Support

 * [Plugin Homepage](http://shinraholdings.com/plugins/last-updated-shortcode)
 * [plugins@shinraholdings.com](https://lo.wordpress.org/plugins/last-updated-shortcode/plugins@shinraholdings.com?output_format=md)

### Donations

[Donations](http://shinraholdings.com/donate) are graciously accepted to support
the continued development and maintenance of this and other plugins. We currently
accept Paypal and kind words.

## ພາບໜ້າຈໍ

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

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

## ການຕິດຕັ້ງ

 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.

## ຄຳຖາມທີ່ພົບເລື້ອຍ

  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](https://codex.wordpress.org/Formatting_Date_and_Time).
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!

## ການຣີວິວ

![](https://secure.gravatar.com/avatar/11eeb5b45071837d6be8986ff47663bb32a7d5daa8c8d49ebfcf70fb9222e45c?
s=60&d=retro&r=g)

### 󠀁[Working fine with WP 4.9.8](https://wordpress.org/support/topic/working-fine-with-wp-4-9-8/)󠁿

 [fjordkommission](https://profiles.wordpress.org/fjordkommission/) 8 ຕຸລາ 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.

![](https://secure.gravatar.com/avatar/91007eed81499da5d41498d94aed3a6ba662b0fda5a56f2367f5f3247c76ee6f?
s=60&d=retro&r=g)

### 󠀁[Perfect!](https://wordpress.org/support/topic/perfect-5322/)󠁿

 [hbirdofinet](https://profiles.wordpress.org/hbirdofinet/) 19 ສິງຫາ 2018

Works great, easy to customize wording, exactly what I was looking for. Thanks!

![](https://secure.gravatar.com/avatar/e87d2ba5b2989d9b3687fd6bee8908746738e70efbe8952f0a1cda6722f9fefe?
s=60&d=retro&r=g)

### 󠀁[A must have for legal pages, terms of use, etc.](https://wordpress.org/support/topic/a-must-have-for-legal-pages-terms-of-use-etc/)󠁿

 [trishahdee](https://profiles.wordpress.org/trishahdee/) 30 ເມສາ 2017

So simple to use. I install this on every site I create where there are legal pages
like: terms of use, privacy policy, etc.

![](https://secure.gravatar.com/avatar/b43daf14c44480892097fd2bbb8e015722ab17f8d769a92b388a4cfad8fd745b?
s=60&d=retro&r=g)

### 󠀁[It works!](https://wordpress.org/support/topic/it-works-1178/)󠁿

 [Roman Neverov](https://profiles.wordpress.org/roman_neverov/) 3 ມີນາ 2017

Great plugin to output information about site activity! Thank you!

![](https://secure.gravatar.com/avatar/6c7e1967cfda73eb916330f2c3410df42e013c2073c7bbec3b6a598ba5259903?
s=60&d=retro&r=g)

### 󠀁[Just fine!](https://wordpress.org/support/topic/just-fine-9/)󠁿

 [John](https://profiles.wordpress.org/dsl225/) 3 ກັນຍາ 2016

Many thanks for this straight forward, simple and efficient plugin!

![](https://secure.gravatar.com/avatar/cd9fe2656183cbff7e11be8d6fdb9611be819bd87819570372eb4bb971a98003?
s=60&d=retro&r=g)

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-3262/)󠁿

 [amitgrkg](https://profiles.wordpress.org/amitgrkg/) 3 ກັນຍາ 2016

Works Perfect…

 [ ອ່ານການຣີວິວທັງໝົດ 10 ລາຍການ ](https://wordpress.org/support/plugin/last-updated-shortcode/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Last Updated Shortcode” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມ
ໃນການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ Luke Mlsna ](https://profiles.wordpress.org/bitacre/)

[ແປ “Last Updated Shortcode” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/last-updated-shortcode)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/last-updated-shortcode/),
ກວດເບິ່ງ [ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/last-updated-shortcode/),
ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/last-updated-shortcode/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/last-updated-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 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.

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **1.0.1**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **11 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **800+**
 *  ເວີຊັນ WordPress ** 2.8 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **4.4.34**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/last-updated-shortcode/)
 * ແທັກ
 * [display](https://lo.wordpress.org/plugins/tags/display/)[echo](https://lo.wordpress.org/plugins/tags/echo/)
   [last](https://lo.wordpress.org/plugins/tags/last/)[shortcode](https://lo.wordpress.org/plugins/tags/shortcode/)
   [time](https://lo.wordpress.org/plugins/tags/time/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/last-updated-shortcode/advanced/)

## ການໃຫ້ຄະແນນ

 5 ຈາກທັງໝົດ 5 ດາວ.

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 10 ລາຍການ     ](https://wordpress.org/support/plugin/last-updated-shortcode/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/last-updated-shortcode/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/last-updated-shortcode/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/last-updated-shortcode/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/last-updated-shortcode/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/last-updated-shortcode/reviews/#new-post)

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/last-updated-shortcode/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ Luke Mlsna ](https://profiles.wordpress.org/bitacre/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/last-updated-shortcode/)

## ບໍລິຈາກ

ເຈົ້າຕ້ອງການສະໜັບສະໜູນການພັດທະນາຂອງປລັກອິນນີ້ບໍ່?

 [ ບໍລິຈາກໃຫ້ປລັກອິນນີ້ ](http://shinraholdings.com/donate)