توضیحات
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.
عکسهای صفحه
بلوکها
این افزونه 1 بلوک ارائه میدهد.
- Restricted Block
نصب
- Upload the plugin files to the
/wp-content/plugins/for-your-eyes-only
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- 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.
نقد و بررسیها
نقد و بررسیای برای این افزونه یافت نشد.
توسعه دهندگان و همکاران
“For Your Eyes Only” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.
مشارکت کنندگان“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.