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

---

Søk i utvidelser

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

Denne utvidelsen **har ikke blitt testet mot noen av de siste 3 hovedutgivelsene
av WordPress**. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan
ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

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

# ContentProtector – password protect your page, post or text

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

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

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

 * [Detaljer](https://nb.wordpress.org/plugins/contentprotector/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/contentprotector/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/contentprotector/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/contentprotector/#developers)

 [Brukerstøtte](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]

## Skjermbilder

[⌊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

## Installasjon

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.

## Ofte stilte spørsmål

### 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.

## Vurderinger

Det er ingen omtaler av denne utvidelsen.

## Bidragsytere og utviklere

«ContentProtector – password protect your page, post or text» er programvare med
åpen kildekode. Følgende personer har bidratt til denne utvidelsen:

Bidragsytere

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

[Oversett «ContentProtector – password protect your page, post or text» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/contentprotector)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/contentprotector/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/contentprotector/),
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/contentprotector/)
med [RSS](https://plugins.trac.wordpress.org/log/contentprotector/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.0

Initial release.

## Meta

 *  Versjon **1.0**
 *  Sist oppdatert **2 år siden**
 *  Aktive installasjoner **2 000+**
 *  WordPress-versjon ** 5.8 eller nyere **
 *  Testet opp til **6.7.5**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/contentprotector/)
 * Stikkord
 * [content-protection](https://nb.wordpress.org/plugins/tags/content-protection/)
   [password](https://nb.wordpress.org/plugins/tags/password/)[Password Protect](https://nb.wordpress.org/plugins/tags/password-protect/)
   [protection](https://nb.wordpress.org/plugins/tags/protection/)[restrict content](https://nb.wordpress.org/plugins/tags/restrict-content/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/contentprotector/advanced/)

## Vurderinger

No reviews have been submitted yet.

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

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

## Bidragsytere

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

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/contentprotector/)