Title: Postr For Nostr
Author: joelmelon
Published: <strong>26 spalio, 2023</strong>
Last modified: 12 sausio, 2026

---

Ieškoti įskiepiuose

![](https://ps.w.org/postr-for-nostr/assets/banner-772x250.png?rev=2984216)

![](https://ps.w.org/postr-for-nostr/assets/icon-256x256.jpg?rev=2984216)

# Postr For Nostr

 Autorius [joelmelon](https://profiles.wordpress.org/joelmelon/)

[Parsisiųsti](https://downloads.wordpress.org/plugin/postr-for-nostr.1.0.5.zip)

 * [Informacija](https://lt.wordpress.org/plugins/postr-for-nostr/#description)
 * [Atsiliepimai](https://lt.wordpress.org/plugins/postr-for-nostr/#reviews)
 *  [Diegimas](https://lt.wordpress.org/plugins/postr-for-nostr/#installation)
 * [Kūrimas](https://lt.wordpress.org/plugins/postr-for-nostr/#developers)

 [Pagalba](https://wordpress.org/support/plugin/postr-for-nostr/)

## Aprašymas

Share your WordPress Posts to Nostr with Postr For Nostr 🫂

### Features

 * This plugin **works only with NIP-07 browser extensions**. No need to save your
   private key in WordPress.
 * Add your taxonomy terms to the note as tag type `t`.
 * Manage relays before postring.

### Demo

A demo WordPress installation with Postr For Nostr is available [here](https://postr-for-nostr.joelstuedle.ch/).

### Usage

Logged in users will find a `Post to Nostr` button in the admin column actions (
where the `Quick Edit` action is located).

If you want to provide Postr For Nostr to your visitors, simply place a button somewhere
in your template. Make sure to add the `postr-for-nostr` class, `data-post-id` and`
data-post-type` attribute as shown below.
 `<button type="button" class="postr-for-
nostr" data-post-id="[ID]" data-post-type="[POST_TYPE]">Share</button>`

### Filters

**Post Type Filter**

Per default `post`, `page` and all registered custom post types will be allowed 
to be nostr postred. The allowed post types are filterable with a filter hook:
 `
add_filter( 'postr_for_nostr_post_types', function( $post_types ) { // unset('post_type');
return $post_types; }, 10, 1 );

### Vendors

 * nbd-wtf/nostr-tools: https://github.com/nbd-wtf/nostr-tools

### License

Use this code freely, widely and for free. Provision of this code provides and implies
no guarantee.
 Please respect the GPL v3 licence, which is available via http://
www.gnu.org/licenses/gpl-3.0.html

## Ekrano nuotraukos

[⌊A preview of postring to Nostr with Postr For Nostr.⌉⌊A preview of postring to
Nostr with Postr For Nostr.⌉[

A preview of postring to Nostr with Postr For Nostr.

[⌊The Post to Nostr button in the WordPress admin column actions.⌉⌊The Post to Nostr
button in the WordPress admin column actions.⌉[

The Post to Nostr button in the WordPress admin column actions.

## Diegimas

 1. Upload the `postr-for-nostr` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the `Plugins` menu in WordPress.

## Atsiliepimai

Įskiepis neturi atsiliepimų.

## Programuotojai ir komandos nariai

“Postr For Nostr” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti
toliau.

Autoriai

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

[Išverskite “Postr For Nostr” į savo kalbą.](https://translate.wordpress.org/projects/wp-plugins/postr-for-nostr)

### Domina programavimas?

[Peržiūrėkite kodą](https://plugins.trac.wordpress.org/browser/postr-for-nostr/),
naršykite [SVN repozitorijoje](https://plugins.svn.wordpress.org/postr-for-nostr/),
arba užsiprenumeruokite [kodo pakeitimų žurnalą](https://plugins.trac.wordpress.org/log/postr-for-nostr/)
per [RSS](https://plugins.trac.wordpress.org/log/postr-for-nostr/?limit=100&mode=stop_on_copy&format=rss).

## Pakeitimų istorija

#### 1.0.5

 * Deal with HTML entities while getting post data.

#### 1.0.4

 * Fix nostr-tools breaking changes 😑

#### 1.0.3

 * Build update. Fetch user relay list (kind 10002) to postr to nostr.

#### 1.0.2

 * Fix issue: Postr for Nostr window URL is wrong when WordPress is installed in
   subdirectory.

#### 1.0.1

 * Compatibility check. Adapt internationalization improvements in 6.7 – load textdomain
   on `init` and fix `get_plugin_data`.

#### 1.0.0

 * Initial version.

## Metainformacija

 *  Version **1.0.5**
 *  Atnaujinta **prieš 6 mėnesiai**
 *  Aktyvių instaliacijų **10+**
 *  Ištestuota iki **6.9.4**
 *  PHP versija ** 7.4 ar naujesnė **
 *  Kalba
 * [English (US)](https://wordpress.org/plugins/postr-for-nostr/)
 * Žymos
 * [nostr](https://lt.wordpress.org/plugins/tags/nostr/)[sharing](https://lt.wordpress.org/plugins/tags/sharing/)
   [social](https://lt.wordpress.org/plugins/tags/social/)
 *  [Daugiau](https://lt.wordpress.org/plugins/postr-for-nostr/advanced/)

## Įvertinimai

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/postr-for-nostr/reviews/)

## Autoriai

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

## Pagalba

Turite pastabų? Reikia pagalbos?

 [Peržiūrėti pagalbos forumą](https://wordpress.org/support/plugin/postr-for-nostr/)

## Paremkite

Galbūt norite padėti plėtoti šį įskiepį?

 [ Paremti įskiepio kūrimą ](https://postr-for-nostr.joelstuedle.ch/)