सामुग्रीवर जा
WordPress.org

मराठी

  • थीम
  • प्लगइन
  • बातम्या
  • मद्दत
  • वर्डप्रेस बद्दल
  • मराठी कार्यसंघ
  • संपर्क करा
  • वर्डप्रेस मिळवा
वर्डप्रेस मिळवा
WordPress.org

Plugin Directory

For Your Eyes Only

  • प्लगइन सादर करा
  • माझे आवडते
  • लॉग इन
  • प्लगइन सादर करा
  • माझे आवडते
  • लॉग इन

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 decreases server access including REST API by checking COOKIE value before accessing to server side script.

Hooks

Display Customization

  • fyeo_tag_line – Customize the default tagline displayed to users without capability. %s will be replaced with login URL.
  • fyeo_login_url – Replace the login URL. Default is wp_login_url().
  • fyeo_redirect_url – Customize redirect URL after login. Receives post object as second argument.
  • fyeo_redirect_key – Change query parameter key for redirect. Default is redirect_to.
  • fyeo_enqueue_style – Whether to enqueue default theme style. Return false to disable.

    Capability Control

  • fyeo_capabilities_list – Customize available capabilities list shown in block settings.

  • fyeo_default_capability – Change default capability. Default is read.
  • fyeo_user_has_cap – Override capability check result. Receives $has_cap, $capability, $user.

    Rendering

  • fyeo_default_render_style – Set default rendering style. Return dynamic for PHP rendering, empty string for async.

  • fyeo_can_display_non_public – Allow displaying restricted content for non-public posts. Receives $post object.

    REST API

  • fyeo_minimum_rest_capability – Control REST API access. Return false to deny access.

स्क्रीनशॉट

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

ब्लॉक्स

हे प्लगइन 1 ब्लॉक प्रदान करते

  • Restricted Block This block will be displayed only for specified users.

स्थापना

  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.

समीक्षा

ह्या प्लगइनसाठी कोणतेही समीक्षण नाही.

योगदानकर्ते आणि विकसक

“For Your Eyes Only” हे मुक्त स्रोत सॉफ्टवेअर आहे. पुढील लोक या प्लगइनच्या निर्मितीत योगदान केले आहे.

योगदानकर्ते
  • Fumiki Takahashi
  • TAROSKY INC.
  • Hametuha INC.

“For Your Eyes Only” 1 लोकॅलमध्ये भाषांतरित केले आहे. अनुवादकांना त्यांच्या योगदानाबद्दल धन्यवाद.

भाषांतर करा “For Your Eyes Only” तुमच्या भाषेत.

विकासातील आग्रह?

कोड ब्राउझ करा, SVN संग्रहालय तपासा, किंवा विकास लॉग च्या RSS द्वारे सदस्यता घ्या.

बदलांची यादी

1.2.1

  • Bump PHP and WordPress requirements.
  • Arranged tranpilation structure.

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.

मेटा

  • आवृत्ती 1.2.3
  • शेवटचा अद्यतन 4 महिने पूर्वी
  • सक्रिय स्थापना 10 पेक्षा कमी
  • वर्डप्रेस आवृत्ती 6.6 किंवा मोठा
  • परीक्षित केले आहे 6.9.4
  • PHP आवृत्ती 7.4 किंवा मोठा
  • भाषा

    English (US) आणि Japanese.

    तुमच्या भाषेत भाषांतर करा

  • टॅग्ज:
    loginmembershiprestrict
  • प्रगत दृश्य

मूल्यांकन

अजून कोणतीही पुनरावलोकने सबमिट केलेली नाहीत.

Your review

सर्व पुनरावलोकने पहा

योगदानकर्ते

  • Fumiki Takahashi
  • TAROSKY INC.
  • Hametuha INC.

समर्थन

काहीतरी सांगायचं आहे का? मदतीची आवश्यकता आहे का?

समर्थन फोरम पहा

  • बद्दल
  • बातम्या
  • होस्टिंग
  • गोपनीयता
  • शोकेस
  • थीम्स
  • प्लगिन्स
  • पॅटर्नस्
  • शिका
  • सहाय्य
  • विकासक
  • WordPress.tv ↗
  • सहभागी व्हा
  • कार्यक्रम
  • दान करा ↗
  • भविष्यासाठी पाच
  • WordPress.com ↗
  • मॅट ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

मराठी

  • आमच्या X (एक्स) (पूर्वीचे ट्विटर) खात्याला भेट द्या
  • आमच्या ब्लूस्की खात्याला भेट द्या.
  • Visit our Mastodon account
  • आमच्या थ्रेड्स खात्याला भेट द्या.
  • आमच्या फेसबुक पेजला भेट द्या
  • आमच्या इंस्टाग्राम खात्याला भेट द्या
  • आमच्या लिंक्डइन खात्याला भेट द्या
  • आमच्या टिकटॉक अकाउंटला भेट द्या.
  • आमच्या यूट्यूब चॅनेलला भेट द्या
  • आमच्या टंबलर खात्याला भेट द्या.
कोड कविता आहे
The WordPress® trademark is the intellectual property of the WordPress Foundation.