이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

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 or o2 plugin, 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

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 🙂

후기

모든 1 평가 읽기

기여자 & 개발자

“Post Deadlines”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Post Deadlines”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.0

  • 2018-09-27
  • Initial release