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

Expiring Posts

설명

This plugin adds functionality to expire a post on a given date.

This plugin currently only works with the classical editor.

It does this by adding a new “Expires” date field in the Publish box.

By default posts don’t expire, but you can add a date instead.

Once that date is reached, the post is marked as expired and is no longer visible to the end user.

Dev Notes

  • Dev occurs via https://github.com/ivankruchkoff/wp-expiring-posts
  • the new post status is expired
  • a filter called exp_disable_expiration_for_this_post exists to disable this feature on a per-post basis.

스크린샷

  • By default a post never expires.
  • But you can add a date instead.

FAQ

If I enable this plugin, what will happen to my existing posts?

Nothing, the posts current post state will remain unchanged.

Will I be able to see expired posts?

Yes, they will be visible in the expired view within the post entry list for your post type.

Will this plugin work with custom post types too?

Yes.

If I have a post set to expire and I use the filter to disable expiry for a speicific post, what happens?

When the exp_disable_expiration_for_this_post filter is used, the UI for control post expiry will not be shown, and the post will not expire. In other words, the filter overrides post expiration.

후기

2023년 2월 16일
Ótimo plugin, obrigado. Gostaria de saber como faço habilitar em somente um tipo de postagem especifica? <font style="vertical-align: inherit;"><font style="vertical-align: inherit;">Outra dúvida é como faço para já deixar demarcado o campo "nunca expira" como padrão ? Pois a expiração é um requisito da minha publicação e não pode ser esquecido(site de vagas de emprego).</font></font> Edit: Sou Leigo em programação mas a questão da checkbox já ficar desmarcada como padrão eu consegui resolver alterando a linha 342 para: <input type="checkbox" name="exp-enable" <?php checked( false ); ?> id="exp-enable" value="never" /> Agora só preciso fazer com que a expiração seja habilitada somente em uma tipo de postagem específica.
2019년 11월 4일
Thank you for the plugin. Why it is not working when we choose a time like 10 min. later? Ex. Current time Nov 4 2019 15:00 and set to expire Nov 4 2019 15:10 Post expires right away without waiting for 10 min. 2. question is there a shortcode to echo expiration date on the post?
모든 2 평가 읽기

기여자 & 개발자

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

기여자

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

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

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