Title: Secure post with link
Author: Jakub Klapka
Published: <strong>2 Tetor, 2016</strong>
Last modified: 2 Mars, 2019

---

Kërkoni te shtojca

![](https://ps.w.org/secure-post-with-link/assets/banner-772x250.png?rev=1507563)

Kjo shtojcë **s’është testuar me 3 hedhjet e rëndësishme të fundit në qarkullim 
të WordPress-it**. Mund të mos e mirëmbajnë më, ose mundet të mos mbulohet më dhe
mund të ketë probleme përputhshmërie, kur përdoret me versione më të freskët të 
WordPress-it.

![](https://ps.w.org/secure-post-with-link/assets/icon-256x256.png?rev=1507563)

# Secure post with link

 Nga [Jakub Klapka](https://profiles.wordpress.org/lapak/)

[Shkarkim](https://downloads.wordpress.org/plugin/secure-post-with-link.1.2.3.zip)

 * [Hollësi](https://sq.wordpress.org/plugins/secure-post-with-link/#description)
 * [Shqyrtime](https://sq.wordpress.org/plugins/secure-post-with-link/#reviews)
 *  [Instalim](https://sq.wordpress.org/plugins/secure-post-with-link/#installation)
 * [Zhvillim](https://sq.wordpress.org/plugins/secure-post-with-link/#developers)

 [Asistencë](https://wordpress.org/support/plugin/secure-post-with-link/)

## Përshkrim

This plugin adds new status for posts (or pages/custom post types) called “Secured
with link”. If you select this status, that specific post wouldn’t be accessible
on its standard URL anymore, but you have to access it on URL with random token 
in it. This URL is displayed on post edit screen in administration.

#### Configuration

For now, there is no administration screen yet. To configure plugin, you can inject
your changes to plugin configuration array from your theme or plugin. Just put this
code into _functions.php_ file in your theme:

    ```
    add_filter( 'lumi.secure_post_with_link.config', function( $config ){
        $config[ 'allowed_post_types' ] = [ 'post', 'page' ];
        $config[ 'url_identifier' ] = 'sec';
        // ... Other $config variables
        return $config;
    } );
    ```

Preferably, don’t include lines with attributes, which you don’t want to change.

These are attributes _(with defaults)_, which you can change this way:

 * **allowed_post_types** _([ ‘post’ ])_ List of post types, which should be affected
   by this plugin. Use array notation like: `[ 'post', 'page', 'custom_type' ]`.
 * **secured_meta_name** _(‘\_secured\_with\_link\_token’)_ Name of meta, which 
   stores post token. You can change that in case of conflicts with themes or other
   plugins.
 * **url_identifier** _(‘s’)_ Part of URL before token, which identifies secured
   posts.
 * **token_length** _(4)_ Length of random token. With default generator, length
   is in bytes!
 * **use_openssl** _(true)_ If plugin should use cryptographically secure random
   generator, or less-secure PHP functions. (See below)
 * **assets_url** _(Defaults to [plugin URL]/assets)_ URL for static assets (like
   Javascripts), in case, you want to use your assets for some reason.
 * **translations_dir** _(Defaults to [Plugin path]/lang)_ You can change path, 
   where plugin looks for translation files. If you want to translate plugin, you
   should **not** use this setting, but create standard translation in _wp-content/
   languages_ folder.

In case, you have changed any settings after plugin installation, deactivate and
reactivate plugin, so all changes are correctly applied.

#### Compatibility

 * For now, you need to use WP URL Rewriting for plugin to work correctly
 * Plugin should work with PHP 5.4, but at least PHP 5.6 is highly recommended. 
   I’m sorry, but I won’t support older, insecure and slow versions of PHP.
 * By default, plugin uses OpenSSL library to generate cryptographically secure 
   random tokens. If your hosting provider don’t have OpenSSL set up, you can use
   configuration variable: `$config[ 'use_openssl' ] = false` to use less-secure
   method of token generating. This should still be secure enough for most use cases.

#### Planned features

 * Administration page
 * Regenerate token
 * Role management – users with privileges should be able to access post without
   token

#### Developers

Plugin is also hosted on [Github](https://github.com/jakub-klapka/wp-secure-post-with-link).

## Foto ekrani

 * [[
 * URL with token
 * [[
 * Status setting

## Instalim

Unzip files to **secure-post-with-link** folder in your wp-plugins.

## Shqyrtime

Për këtë shtojcë s’ka shqyrtime.

## Kontribues & Zhvillues

“Secure post with link” është software me burim të hapur. Në këtë shtojcë kanë dhënë
ndihmesë personat vijues.

Kontribues

 *   [ Jakub Klapka ](https://profiles.wordpress.org/lapak/)

[Përkthejeni “Secure post with link” në gjuhën tuaj.](https://translate.wordpress.org/projects/wp-plugins/secure-post-with-link)

### Ju intereson zhvillimi?

[Shfletoni kodin](https://plugins.trac.wordpress.org/browser/secure-post-with-link/),
shkarkoni [depon SVN](https://plugins.svn.wordpress.org/secure-post-with-link/),
ose pajtohuni përmes [RSS-je](https://plugins.trac.wordpress.org/log/secure-post-with-link/?limit=100&mode=stop_on_copy&format=rss)
te [regjistri i zhvillimeve](https://plugins.trac.wordpress.org/log/secure-post-with-link/).

## Regjistër ndryshimesh

#### 1.2.3

 * Add Norwegian language (props [Alexander Zeiher](https://github.com/axal90))

#### 1.2.2

 * Fix plugin behavior for internal Page post type

#### 1.2.1

 * Fix release process

#### 1.2

 * Tested with WP 4.9
 * Fix comments posting on secured posts
 * Fix few admin links to secured pages

#### 1.1

 * Compatibility fix with WP Super Cache (secured posts were not cleared from cache
   on updates)

#### 1.0

 * Initial version with base functionality

## Të tjera

 *  Version **1.2.3**
 *  Përditësuar së fundi më **7 vjet më parë**
 *  Instalime aktive **10+**
 *  Version WordPress-i ** 4.5 ose më i madh **
 *  E provuar deri me **4.9.29**
 *  Gjuhë
 * [English (US)](https://wordpress.org/plugins/secure-post-with-link/)
 * Etiketa
 * [hide](https://sq.wordpress.org/plugins/tags/hide/)[link](https://sq.wordpress.org/plugins/tags/link/)
   [post](https://sq.wordpress.org/plugins/tags/post/)[private](https://sq.wordpress.org/plugins/tags/private/)
   [secure](https://sq.wordpress.org/plugins/tags/secure/)
 *  [Pamje e Thelluar](https://sq.wordpress.org/plugins/secure-post-with-link/advanced/)

## Vlerësime

S’është parashtruar ende ndonjë përshtypje.

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

[Shihni krejt shqyrtimet](https://wordpress.org/support/plugin/secure-post-with-link/reviews/)

## Kontribues

 *   [ Jakub Klapka ](https://profiles.wordpress.org/lapak/)

## Asistencë

Keni diçka për të thënë? Ju duhet ndihmë?

 [Shihni forum asistence](https://wordpress.org/support/plugin/secure-post-with-link/)