Title: Post Restrictor
Author: CygnusH33L
Published: <strong>14. november 2012</strong>
Last modified: 31. januar 2013

---

Søk gjennom innstikk

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

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

# Post Restrictor

 Av [CygnusH33L](https://profiles.wordpress.org/cygnush33l/)

[Last ned](https://downloads.wordpress.org/plugin/post-restrictor.zip)

 * [Detaljar](https://nn.wordpress.org/plugins/post-restrictor/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/post-restrictor/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/post-restrictor/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/post-restrictor/#developers)

 [Hjelp](https://wordpress.org/support/plugin/post-restrictor/)

## Skildring

Plugin for restricting posts from public view that are posted in a category called«
private», Does this by requiring the user to be logged in to view.

To use just create a category called «private» then any posts posted into this category
will be hidden from public view (not logged in users).

## Installasjon

This section describes how to install the plugin and get it working.

 1. Upload `PostRestrictor.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the «Plugins» menu in WordPress
 3. Create a category called «private»
 4. post your «private» posts into the category «private»

## Vanlege spm.

Q: Can I change what category is hidden?

A: Yes, however this can only be achieved by editing the plugins source code.

Q: Does this plugin hide posts from the category private on every page (e.g. front
page, single post view, category view etc)

A: Yes this plugin takes effect on every page.

## Omtalar

There are no reviews for this plugin.

## Bidragsytarar og utviklarar

“Post Restrictor” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ CygnusH33L ](https://profiles.wordpress.org/cygnush33l/)

[Omset “Post Restrictor” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/post-restrictor)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/post-restrictor/), 
sjekk [SVN-lageret](https://plugins.svn.wordpress.org/post-restrictor/) eller abonner
på [utviklingsloggen](https://plugins.trac.wordpress.org/log/post-restrictor/) med
[RSS](https://plugins.trac.wordpress.org/log/post-restrictor/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.0

This is the first released version

#### 1.1

Added collision check – CygnusH33L
 Added comments – CygnusH33L

#### 1.2

Fixed major issue with hidding posts in widgets (sidebar), plugins and single page
view. – CygnusH33L

## Om

 *  Version **1.2**
 *  Last updated **13 år sidan**
 *  Active installations **10+**
 *  WordPress version ** 3.4.2. eller nyare **
 *  Tested up to **3.5.1.**
 *  Language
 * [English (US)](https://wordpress.org/plugins/post-restrictor/)
 * Tags
 * [access](https://nn.wordpress.org/plugins/tags/access/)[admin](https://nn.wordpress.org/plugins/tags/admin/)
   [members](https://nn.wordpress.org/plugins/tags/members/)[pages](https://nn.wordpress.org/plugins/tags/pages/)
   [posts](https://nn.wordpress.org/plugins/tags/posts/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/post-restrictor/advanced/)

## Vurderingar

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/post-restrictor/reviews/)

## Contributors

 *   [ CygnusH33L ](https://profiles.wordpress.org/cygnush33l/)

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](https://wordpress.org/support/plugin/post-restrictor/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://Donate%20using%20Bitcoins,%20send%20to%20bitcoin%20address%201FwP7t5LrWLeoFxstDGT1zw1fiWBmuJgK9)