به محتویات بروید
WordPress.org

فارسی (افغانستان)

  • پوسته‌ها
  • افزونه‌ها
  • اخبار
  • درباره
  • Contact
  • دریافت وردپرس
دریافت وردپرس
WordPress.org

Plugin Directory

Conditional Block Visibility

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

Conditional Block Visibility

توسط Sanad Qazi
دانلود
  • جزئیات
  • نقد و بررسی‌ها
  • نصب
  • توسعه
پشتیبانی

توضیحات

Conditional Block Visibility allows you to manage the visibility of blocks based on:
– User Roles: Show or hide blocks for specific roles like Administrator, Editor, Subscriber, etc.
– Login Status: Display blocks only for logged-in or logged-out users.
– Device Type: Control visibility for desktop, tablet, and mobile devices.

This plugin provides an easy-to-use interface in the block editor for adding visibility conditions to blocks, without requiring custom code.

Features

  • Dynamic User Roles: Automatically adapts to any custom roles added by other plugins.
  • Flexible Conditions: Combine multiple conditions for precise control.
  • Device-Based Control: Ensure content visibility is optimized for different screen sizes.
  • Visibility Based on Login Status: Set different content visibility for logged-in or logged-out users.
  • Lightweight and easy to use.

License

This plugin is licensed under the GPLv2 or later. See the GPLv2 license for details.

عکس‌های صفحه

  • Visibility Settings in the Editor
    The plugin adds a “Visibility Settings” panel in the block settings sidebar for easy configuration.

  • Dynamic User Roles
    Select from all available roles, including custom roles.

  • Device-Specific Controls
    Optimize visibility for desktop, tablet, and mobile devices.

  • Set Visibility Based on Login Status
    Show or hide blocks depending on whether the user is logged in or logged out.

نصب

  1. Upload the plugin files to the /wp-content/plugins/conditional-block-visibility/ directory or install via the WordPress Plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Edit any post or page in the block editor, select a block, and configure visibility settings in the “Visibility Settings” panel in the block sidebar.

سوالات متداول

Does this plugin work with custom user roles?

Yes, it dynamically detects all user roles, including custom roles added by other plugins.

Can I use this plugin on both the frontend and the block editor?

Yes, the visibility conditions work in the editor and the frontend.

Can I set visibility based on login status?

Yes, you can configure blocks to be visible only to logged-in users, logged-out users, or all users.

Does the plugin require any dependencies?

No, the plugin is standalone and works out of the box with the block editor.

نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

توسعه دهندگان و همکاران

“Conditional Block Visibility” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان
  • Sanad Qazi

ترجمه “Conditional Block Visibility” به زبان شما.

علاقه‌ مند به توسعه هستید؟

کد را مرور کنید, را بررسی کنید مخزن SVN, یا مشترک شوید گزارش توسعه توسط RSS.

گزارش تغییرات

1.0.3

  • Fixed custom user role

1.0.2

  • Updated readme

1.0.1

  • Added visibility settings for user roles, login status, and device type.
  • Dynamic detection of user roles.

اطلاعات

  • Version 1.0.3
  • Last updated 12 ماه پیش
  • Active installations کمتر از 10
  • WordPress version 5.8 یا بالاتر
  • Tested up to 6.7.4
  • PHP version 7.4 یا بالاتر
  • Language
    English (US)
  • Tags
    block visibilityLogin Statususer roles
  • نمایش پیشرفته

امتیازها

No reviews have been submitted yet.

افزودن ارزیابی من

See all reviews

مشارکت کنندگان

  • Sanad Qazi

پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

مشاهده انجمن پشتیبانی

کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

کمک مالی به این افزونه

  • درباره ما
  • اخبار
  • میزبانی
  • حریم خصوصی
  • ویترین
  • پوسته‌ها
  • افزونه‌ها
  • الگوها
  • یادگیری
  • پشیتبانی
  • توسعه‌دهندگان
  • WordPress.tv ↗
  • مشارکت کنید
  • رویدادها
  • حمایت ↗
  • پنج برای آینده
  • WordPress.com ↗
  • مت ↗
  • بی‌بی‌پرس ↗
  • بادی‌پرس ↗
WordPress.org
WordPress.org

فارسی (افغانستان)

  • از حساب X (تویتر سابق) ما دیدن کنید
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • صفحه ی فیسبوک ما را بازدید نمایید
  • بازدید از حساب کاربری ما در اینستاگرام
  • بازدید از حساب کاربری ما در LinkedIn
  • Visit our TikTok account
  • از کانال یوتیوب ما دیدن کنید
  • Visit our Tumblr account
کد شعر است.