Title: p5 : Plenty of Perishable Passwords for Protected Posts
Author: Cyril Batillat
Published: <strong>23 juni 2013</strong>
Last modified: 20 mei 2014

---

Plugins zoeken

![](https://ps.w.org/p5/assets/banner-772x250.png?rev=730937)

Deze plugin **is niet getest met de laatste 3 grotere versies van WordPress**. Mogelijk
wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

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

# p5 : Plenty of Perishable Passwords for Protected Posts

 Door [Cyril Batillat](https://profiles.wordpress.org/cyrilbatillat/)

[Download](https://downloads.wordpress.org/plugin/p5.1.4.zip)

 * [Details](https://nl.wordpress.org/plugins/p5/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/p5/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/p5/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/p5/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/p5/)

## Beschrijving

By default, WordPress can protect each post with one and only password. This plugin
gives you the possibility to assign multiple passwords on each post, with an expiration
date.

## Schermafbeeldingen

[⌊A protected post with multiple passwords⌉⌊A protected post with multiple passwords⌉[

A protected post with multiple passwords

## Installatie

 1. Upload plugin folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Specify WordPress timezone on General Settings screen (/wp-admin/options-general.
    php). If possible, choose a real timezone (eg ‘Europe/London’) which may be more
    accurate than offsets (‘+2:00’) in some cases.
 4. Be sure that your template files use the WordPress function to protect your content:
 5.  See [WordPress codex](https://codex.wordpress.org/Using_Password_Protection) for
    more info.

## FAQ

  What happens when a password expire ?

The password is deleted from the database, so it is no longer attached to your post.

  Expired passwords aren’t deleted. Why ?

The plugin use WordPress cron feature to periodically delete expired passwords. 
Please make sure this functionnality is working on your WordPress installation. 
[WP-Cron Control](https://wordpress.org/plugins/wp-cron-control/) plugin is a good
way to see what’s happening with the cron.

  My post is no longer protected. Why ?

In WordPress, a post is protected as long as it has a password attached. When all
the post passwords have expired, the post is no longer protected. It’s as simple
as that.
 To keep a post protected, assign it a password without an expiration date.

  Are my already defined passwords conserved after installation ?

Yes.

  Are my password-protected posts still protected when I deactivate/uninstall p5
plugin ?

Yes. After deactivation or uninstallation, your posts are still protected with the
first password that was attached to each of them.

  My password is supposed to be expired, but I still can see my protected content

Be sure that the timezone is well defined in /wp-admin/options-general.php

  Does this plugin provide some hooks ?

Yes. Actually these actions are defined :

 1. p5_insert_password, called after insertion of a new password
 2. p5_update_password, called after password update
 3. p5_save_password, called indifferently after p5_insert_password or p5_update_password.
 4. p5_delete_password, after a password has been deleted

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“p5 : Plenty of Perishable Passwords for Protected Posts” is open source software.
De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

 *   [ Cyril Batillat ](https://profiles.wordpress.org/cyrilbatillat/)

[Vertaal “p5 : Plenty of Perishable Passwords for Protected Posts” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/p5)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/p5/), haal de [SVN repository](https://plugins.svn.wordpress.org/p5/)
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/p5/)
via [RSS](https://plugins.trac.wordpress.org/log/p5/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.4

 * Fixed bug on cookie expiration date, due to difference of timezone between WordPress
   and the client
 * Minor improvements for WP UI
 * Updated jQuery Timepicker Addon

#### 1.3

Get ready for languages packs (WP 3.7.1 feature)

#### 1.2

Workaround to url_to_postid getting bugged. (see https://core.trac.wordpress.org/
ticket/19744)
 The post ID was not retrieved on custom post types.

#### 1.1

Use CSS scope on jQuery UI datetime picker to avoid collisions

#### 1.0

First release

## Meta

 *  Versie **1.4**
 *  Laatst geüpdatet **12 jaar geleden**
 *  Actieve installaties **40+**
 *  WordPress versie ** 3.5 of nieuwer **
 *  Getest t/m **3.9.40**
 *  Taal
 * [English (US)](https://wordpress.org/plugins/p5/)
 * Tags
 * [expiration](https://nl.wordpress.org/plugins/tags/expiration/)[password](https://nl.wordpress.org/plugins/tags/password/)
   [protected posts](https://nl.wordpress.org/plugins/tags/protected-posts/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/p5/advanced/)

## Waarderingen

 5 van 5 sterren.

 *  [  5 5 sterren beoordelingen     ](https://wordpress.org/support/plugin/p5/reviews/?filter=5)
 *  [  0 4 sterren beoordelingen     ](https://wordpress.org/support/plugin/p5/reviews/?filter=4)
 *  [  0 3 sterren beoordelingen     ](https://wordpress.org/support/plugin/p5/reviews/?filter=3)
 *  [  0 2 sterren beoordelingen     ](https://wordpress.org/support/plugin/p5/reviews/?filter=2)
 *  [  0 1 sterren beoordelingen     ](https://wordpress.org/support/plugin/p5/reviews/?filter=1)

[Je beoordeling](https://wordpress.org/support/plugin/p5/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/p5/reviews/)

## Bijdragers

 *   [ Cyril Batillat ](https://profiles.wordpress.org/cyrilbatillat/)

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/p5/)