Title: ContentProtector &#8211; password protect your page, post or text
Author: Anton
Published: <strong>7. januar, 2025</strong>
Last modified: 7. januar, 2025

---

Søg plugins

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

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/contentprotector/assets/icon-256x256.png?rev=3218554)

# ContentProtector – password protect your page, post or text

 Af [Anton](https://profiles.wordpress.org/antonphp/)

[Download](https://downloads.wordpress.org/plugin/contentprotector.1.0.zip)

[Forhåndsvisning i realtid](https://da.wordpress.org/plugins/contentprotector/?preview=1)

 * [Detaljer](https://da.wordpress.org/plugins/contentprotector/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/contentprotector/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/contentprotector/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/contentprotector/#developers)

 [Support](https://wordpress.org/support/plugin/contentprotector/)

## Beskrivelse

**ContentProtector** is a lightweight and flexible plugin that allows you to protect
your WordPress content with passwords. You can protect an entire post or page, or
just a specific portion of the content.

### Features

 * **Global Protection**: Set a global password for all posts or pages.
 * **Partial Content Protection**: Use a shortcode to protect only a specific part
   of your content.
 * **Customizable**: Easy to set up with a clean and intuitive admin interface.
 * **Secure**: Uses WordPress Nonces and cookies for secure password handling.

### How It Works

 1. Use the shortcode `[cpwp_protect password="your_password"]` to protect an entire
    post or page.
 2. Use `[cpwp_protect_content password="your_password"]` to protect only a portion
    of your content.

Example for partial content protection:
 `html [cpwp_protect_content password=”pass”]
This content is protected by a password. Enter the password to view it. [/cpwp_protect_content]

## Skærmbilleder

[⌊Admin settings page with configuration options.⌉⌊Admin settings page with configuration
options.⌉[

Admin settings page with configuration options.

[⌊Password protect block⌉⌊Password protect block⌉[

Password protect block

## Installation

Download the plugin and upload the contentprotector folder to the /wp-content/plugins/
directory. Activate the plugin through the “Plugins” menu in WordPress. Go to the
ContentProtector menu in the WordPress dashboard to configure settings.

## FAQ

### Can I use different passwords for different posts or content?

Yes! Each shortcode instance can have its own password.

### What happens if a user enters the wrong password?

The plugin will show an error message and prompt the user to try again.

### Can I use this plugin on a multisite installation?

Yes, ContentProtector works perfectly on WordPress multisite.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“ContentProtector – password protect your page, post or text” er open source-software.
Følgende personer har bidraget til dette plugin.

Bidragsydere

 *   [ Anton ](https://profiles.wordpress.org/antonphp/)

[Oversæt “ContentProtector – password protect your page, post or text” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/contentprotector)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/contentprotector/), 
tjek [SVN repository](https://plugins.svn.wordpress.org/contentprotector/), eller
abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/contentprotector/)
via [RSS](https://plugins.trac.wordpress.org/log/contentprotector/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.0

Initial release.

## Meta

 *  Version **1.0**
 *  Senest opdateret **1 år siden**
 *  Aktive installationer **2.000+**
 *  WordPress-version ** 5.8 eller højere **
 *  Testet op til **6.7.5**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/contentprotector/)
 * Tags
 * [content-protection](https://da.wordpress.org/plugins/tags/content-protection/)
   [password](https://da.wordpress.org/plugins/tags/password/)[Password Protect](https://da.wordpress.org/plugins/tags/password-protect/)
   [protection](https://da.wordpress.org/plugins/tags/protection/)[restrict content](https://da.wordpress.org/plugins/tags/restrict-content/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/contentprotector/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

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

[Se alle anmeldelser.](https://wordpress.org/support/plugin/contentprotector/reviews/)

## Bidragsydere

 *   [ Anton ](https://profiles.wordpress.org/antonphp/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/contentprotector/)