Title: Post Deadlines
Author: Timi Wahalahti
Published: <strong>19 ຕຸລາ 2018</strong>
Last modified: 20 ຕຸລາ 2018

---

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

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

![](https://s.w.org/plugins/geopattern-icon/post-deadlines.svg)

# Post Deadlines

 ໂດຍ [Timi Wahalahti](https://profiles.wordpress.org/sippis/)

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

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

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

## ຄຳອະທິບາຍ

This plugin allows you to set deadline for posts and list posts with upcoming deadlines
via shortcode.

Plugin is intended to be used with [P2 theme](https://p2theme.com/) or [o2 plugin](https://geto2.com/),
but can also work without it – only P2/o2 spesific functionality is datepicker field
added to frontend post submit area. Datepicker for setting deadline is also available
in classic editor and Gutenberg.

Plugin also automatically adds deadline to the end of `the_content` output if deadline
is set. List of posts with upcoming deadlines are cached to transients to reduce
amount of databse queries in large scale sites.

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

Installing “Post Deadlines” can be done either by searching for “Post Deadlines”
via the “Plugins > Add New” screen in your WordPress dashboard, or by using the 
following steps:

 1. Download the plugin via WordPress.org
 2. Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress
    dashboard
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

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

  How I can set deadline for post?

Post deadline can be set via datepicker in classic editor or Gutenberg from meta
box labeled “Post deadline”. If you are running P2 theme or o2 plugin, deadline 
can be set from datepicker in front end post submit area also.

  How to list posts with upcoming deadlines?

Just use shortcode `[upcoming_post_deadlines]` somewhere in your content! If you
want to change the order so that post with latest deadline is first, add attribute`
order="DESC"` to shortcode.

  Can I use my own template for shortcode?

Yes! From plugin files copy `views/shortcode-list-upcoming-deadlines-php` to your
theme root with name `post-deadlines-shortcode-list-upcoming.php` and then just 
modify the template to suit your needs.

  My list of posts with upcoming dedline isn’t updating!

Oh snap! Plugin stores upcoming deadlines in transients to reduce amount of databse
queries in large scale sites. Probably something is stuck and you should manually
delete those transients from `wp_options` table or in-memory cache like Redis.

Transient are named like `posts_with_deadline_YYYYMMDD_ASC/DESC`.

  Can I change the behavior of this plugin?

Of course, but it needs some basic knowledge about PHP and WordPress hooks. This
plugin does not have any settings page, only thing you can do without touching the
code is chaning the post order in shortcode.

If you know your PHP and WordPress hooks, look throught `post-deadlines.php` file
and find what you need 🙂

## ການຣີວິວ

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

### 󠀁[Works like a charm](https://wordpress.org/support/topic/works-like-a-charm-1707/)󠁿

 [Vladimir Vassilev](https://profiles.wordpress.org/vloo/) 25 ພຶດສະພາ 2020

As old as this plugin it is, it still works just as expected on latest version of
WordPress and P2 🙂

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

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

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

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

 *   [ Timi Wahalahti ](https://profiles.wordpress.org/sippis/)

[ແປ “Post Deadlines” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/post-deadlines)

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

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

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

#### 1.0.0

 * 2018-09-27
 * Initial release

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

 *  ເວີຊັນ **1.0.0**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **7 ປີ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **10+**
 *  ເວີຊັນ WordPress ** 4.6 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **4.9.29**
 *  ເວີຊັນ PHP ** 5.2.4 ຫຼື ສູງກວ່າ **
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/post-deadlines/)
 * ແທັກ
 * [deadline](https://lo.wordpress.org/plugins/tags/deadline/)[O2](https://lo.wordpress.org/plugins/tags/o2/)
   [p2](https://lo.wordpress.org/plugins/tags/p2/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/post-deadlines/advanced/)

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

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

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

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

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

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

 *   [ Timi Wahalahti ](https://profiles.wordpress.org/sippis/)

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

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

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