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

---

Søg plugins

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://s.w.org/plugins/geopattern-icon/post-restrictor.svg)

# Post Restrictor

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

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

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

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

## Beskrivelse

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

## Installation

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’

## FAQ

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.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Post Restrictor” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

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

[Oversæt “Post Restrictor” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/post-restrictor)

### Interesseret i udvikling?

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

## Ændringslog

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

## Meta

 *  Version **1.2**
 *  Senest opdateret **13 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 3.4.2. eller højere **
 *  Testet op til **3.5.1.**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/post-restrictor/)
 * Tags
 * [access](https://da.wordpress.org/plugins/tags/access/)[admin](https://da.wordpress.org/plugins/tags/admin/)
   [members](https://da.wordpress.org/plugins/tags/members/)[pages](https://da.wordpress.org/plugins/tags/pages/)
   [posts](https://da.wordpress.org/plugins/tags/posts/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/post-restrictor/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

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

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

## Bidragsydere

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

## Support

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

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

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](http://Donate%20using%20Bitcoins,%20send%20to%20bitcoin%20address%201FwP7t5LrWLeoFxstDGT1zw1fiWBmuJgK9)