WordPress.org

Hong Kong 香港中文

  • 佈景主題
  • 外掛
  • News
  • Support
  • About
  • 重要通知
  • WordPress 常見問題
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

For Your Eyes Only

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

For Your Eyes Only

由Fumiki Takahashi
下載
  • 詳情
  • 評價
  • 安裝
  • 開發
支援

描述

This plugin adds a block to your block editor.
This block changes its display depending on a current user’s capability.

  • You can set capability for block.
  • If a current user has a capability for the block, its content will be replaced.
  • Or else, block is displayed as log in link.
  • This block is an inner block, so you can nest any blocks inside it. Convert it to a reusable block for your productivity.

See screenshot for how block will be displayed.

This plugin use REST API to convert block content, so you can use it with cached WordPress.
Even if you use CDN like CloudFront or Cloudflare, this plugin displays proper contents for each users.

For performance enhancement, Cookie Tasting is recommended.
It decrease server access including REST API by checking COOKIE value before accessing to server side script.

螢幕截圖

  • You get a new block to restrict non-members.

Blocks

This plugin provides 1 block.

  • Restricted Block

安裝

  1. Upload the plugin files to the /wp-content/plugins/for-your-eyes-only directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. You get new block named Restricted Block on Block Editor.

常見問題

How to Contribute

We host our code on Github, so feel free to send PR or issues.

評價

There are no reviews for this plugin.

貢獻者及開發者

“For Your Eyes Only” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者
  • Fumiki Takahashi
  • TAROSKY INC.
  • Hametuha INC.

For Your Eyes Only 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 For Your Eyes Only 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

修改日誌

1.1.0

  • Ownership is now changed. Thanks to @hametuha for taking over this plugin.
  • Add dynamic mode. This works as PHP rendering.

1.0.1

  • Add auto deploy.

1.0.0

  • First Release.

其它

  • Version 1.1.5
  • Last updated 9 個月之前
  • Active installations 少於10
  • WordPress version 6.1 or higher
  • Tested up to 6.6.2
  • PHP version 7.2 or higher
  • Languages

    English (US) 及 Japanese.

    翻譯成你的語言

  • Tags
    gutenbergloginmembershiprestrict
  • 進階顯示

評分

No reviews have been submitted yet.

Add my review

See all reviews

貢獻者

  • Fumiki Takahashi
  • TAROSKY INC.
  • Hametuha INC.

支援

有話想說?需要協助?

檢視支援論壇

  • 關於我們
  • 最新消息
  • 寄存
  • 隱私權
  • 展示網站
  • 佈景主題
  • 外掛
  • 區塊版面配置
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Hong Kong 香港中文

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • 訪問我們的 Facebook 專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
代碼就是詩歌。