前言介紹
- 這款 WordPress 外掛「Postr For Nostr」是 2023-10-25 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2025-02-12,距離現在已有 82 天。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
nostr | NIP-07 | social | sharing |
內容簡介
- 外掛名稱:Postr For Nostr
- 功能:
- 只能與NIP-07瀏覽器擴展一起使用,不需要在WordPress中保存私鑰。
- 可將稅目分類添加到記事中作為標籤。
- 在postring之前管理中繼站。
- 透過此連結可以使用Postr For Nostr的WordPress示範安裝。
- 使用方法:
- 登錄用戶可以在管理列操作中找到「Post to Nostr」按鈕(位於「快速編輯」操作旁邊)。
- 如果您想為訪問者提供Postr For Nostr,只需在模板的任意位置放置一個按鈕。請確保按照下面的示例添加「postr-for-nostr」類、「data-post-id」和「data-post-type」屬性。
- 可透過「Post Type Filter」篩選器選擇要進行nostr postring的帖子類型。
- nbd-wtf/nostr-tools:供應商連結。
- 請尊重GPL v3許可證,可透過http://www.gnu.org/licenses/gpl-3.0.html獲取。
問題與答案:
1. Postr For Nostr是什麼?
- Postr For Nostr是一個WordPress外掛,可將WordPress帖子分享到Nostr。
2. Postr For Nostr需要什麼條件?
- Postr For Nostr僅與NIP-07瀏覽器擴展配合使用,不需要在WordPress中保存私鑰。
3. 我該如何添加稅目分類到評論?
- 您可以將稅目分類添加到評論中作為標籤,將其類型設置為「t」。
4. 如何在WordPress中使用Postr For Nostr?
- 登錄的用戶可以在管理操作欄中找到「Post to Nostr」按鈕,點擊該按鈕即可分享該帖子到Nostr。如果要提供給訪問者使用,只需在模板中加入一個按鈕,並添加特定的類和屬性。
5. 如何過濾要進行Nostr postring的帖子類型?
- 可以使用「Post Type Filter」篩選器進行帖子類型的過濾。
6. 請問可找到Postr For Nostr的供應商連結嗎?
- 可以在nbd-wtf/nostr-tools的GitHub連結找到Postr For Nostr的供應商資訊。
7. Postr For Nostr的使用有任何限制嗎?
- 使用此代碼可以自由、廣泛且免費。代碼的提供和使用不提供和意味著擔保。請遵守GPL v3許可證。
原文外掛簡介
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.
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.
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
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Postr For Nostr」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.0.2 | trunk |
延伸相關外掛(你可能也想知道)
Nostr Verify 》總結:Nostr Verify 是一個 WordPress 外掛,可以透過 NIP-05 在 Nostr 上進行實名認證。, , 問題與答案:, , 問題:什麼是 Nostr Verify?, 答案:Nostr Ver...。
easyNostr-Nip05 》總結:使用這個外掛可以讓你的 WordPress 成為 Nostr NIP-05 端點伺服器,並新增一個使用者設定檔專門放置 Nostr 的公鑰,必須以十六進制格式輸入。轉換 Nost...。
Nostrtium 》總結:Nostrtium 外掛讓你可以從 WordPress 發佈到 Nostr,並提供基本的 Nostr 設置和信箱,供使用者在 WordPress 文章編輯頁面使用。使用者可以在信箱中自由...。
YEGHRO Nostr Login 》總結:這款外掛允許使用者使用 Nostr 進行登錄。, , 問題與答案:,
- ,
- 問題:這個外掛的功能是什麼?,
- ,
- 問題:這個外掛的功能是什麼?,