Simple plugin to add deadlines for posts and list posts with upcoming deadlines. Can be…
Author: | Timi Wahalahti (profile at wordpress.org) |
WordPress version required: | 4.6 |
WordPress version tested: | 4.9.8 |
Plugin version: | 1.0.0 |
Added to WordPress repository: | 19-10-2018 |
Last updated: | 20-10-2018
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 1 |
Plugin URI: | https://wordpress.org/plugins/post-deadlines |
Total downloads: | 1 496 |
Active installs: | 10+ |
Click to start download
|
FAQ
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 ๐
ChangeLog
1.0.0
- 2018-09-27
- Initial release