Title: Content Visibility
Author: Rich Tape
Published: <strong>19 دسامبر 2020</strong>
Last modified: 13 دسامبر 2022

---

جستجوی افزونه‌ها

![](https://ps.w.org/content-visibility/assets/banner-772x250.png?rev=2480204)

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://s.w.org/plugins/geopattern-icon/content-visibility_535166.svg)

# Content Visibility

 توسط [Rich Tape](https://profiles.wordpress.org/iamfriendly/)

[دانلود](https://downloads.wordpress.org/plugin/content-visibility.0.2.9.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/content-visibility/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/content-visibility/#reviews)
 * [توسعه](https://fa.wordpress.org/plugins/content-visibility/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/content-visibility/)

## توضیحات

Your Content. Your Rules. Decide who sees what and when. No setup or complex settings.
Write content, decide who should see it, and press publish.

Content Visibility provides a set of controls to say whether each discrete piece
of content (or ‘block’ in WordPress parlance) should be shown to users who are signed
in to your site or not. Additional add-ons provide controls for [**role-based**](https://github.com/richardtape/content-visibility-user-role)
visibility, [**time-based**](https://wordpress.org/plugins/content-visibility-date-and-time/)
visibility, and [**location-based**](https://wordpress.org/plugins/content-visibility-geolocation/)
visibility. You can also show or hide blocks to folks using [RSS](https://wordpress.org/plugins/content-visibility-rss-feed/)
Readers.

### Individual Block Controls

Every individual block on all posts and pages (and custom post types) on your site
can have their own controls. Mix and match the visibility of blocks on a single 
page. Need some blocks to show to everyone and a few to only be available to your
site’s subscribers? No problem. Only want a message to appear on Christmas Day? 
You got it. Only want those who are signed in to your site to see certain pieces
of content? Easy peasy.

### At a glance

An icon next to each block with active rules allows your content authors to see 
which blocks may or may not be shown to certain audiences at a glance.

### Reusable blocks

Use Reusable Blocks? No problem, Content Visibility handles those too.

### Columns and Nested Blocks

Do you use columns and put other blocks in them? Content Visibility allows you to
control both the ‘nested’ blocks (such as a paragraph block in a column block) or
the ‘parent’ block themselves (perhaps hide an entire column for users who aren’t
signed in?). Other examples of nested blocks are the Group Block or if you use an
accordion or tabs block; all work!

### Widgets

Since version 0.1.7 you are now able to control the visibility of your widgets. 
As long as you have version 9.9 or above of the [Gutenberg plugin](https://wordpress.org/plugins/gutenberg/)
you are able to use content visibility on all of your widgets, just like you can
with all of your blocks in the content editor. Limit display of your widgets on 
specific URLs on your site. Want to show a specific text block to only people who
are signed in and ONLY on search results? You got it.

Version 0.2.5 adds the ability to show or hide your widgets on posts that are in
specific category or tags.

### Coming Soon

 * [ ] A way to set replacement content when a block is hidden
 * [ ] REST API exploration. Should be fine for non-authenticated requests, but 
   need to dive deeper for auth’d requests
 * [ ] Non-trivial dates. Think things like “Every Wednesday between 3pm and 4pm”
   or “First two weeks in November”
 * [x] [Geolocation](https://wordpress.org/plugins/content-visibility-geolocation/):
   Show this block only to users whose connection is in France.
 * [x] [Specific Users](https://wordpress.org/plugins/content-visibility-specific-users/):
   Show or hide a block to one or more specific users.
 * [ ] Specific 3rd-party plugin integrations. Show a block when someone has purchased
   something from your WooCommerce store. Or when someone has submitted a specific
   Gravity Form.
 * [ ] Do you have any feature requests? [Let me know!](https://github.com/richardtape/content-visibility/issues/new)

### Development

Development is mostly done on [github](https://github.com/richardtape/content-visibility)
and releases are made there and here to the WordPress plugins directory.

## عکس‌های صفحه

[⌊Showing the content visibility controls in the content editor sidebar⌉⌊Showing
the content visibility controls in the content editor sidebar⌉[

Showing the content visibility controls in the content editor sidebar

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

### What’s with the logo?

It’s a chameleon. A cool little creature which can change the way it appears – to
make itself more or less visible. Seemed appropriate! Also, your suspicions are 
correct; a designer, I am not.

### Got a question?

Let me know: https://github.com/richardtape/content-visibility/issues/new

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

![](https://secure.gravatar.com/avatar/66711ea2043366ed7e12a8bd33fdc4674f40e1641325962741480d28442052bb?
s=60&d=retro&r=g)

### 󠀁[Work Perfect](https://wordpress.org/support/topic/work-perfect-88/)󠁿

 [Guillermo](https://profiles.wordpress.org/guillermo77/) 7 سپتامبر 2024

Hide one widget or block you no want show with one condition.

![](https://secure.gravatar.com/avatar/b386c3be63ad40515532f06f0a3f8fc3c5a9c760da75708f03eff64f35cd66d4?
s=60&d=retro&r=g)

### 󠀁[Best plugin of its type](https://wordpress.org/support/topic/best-plugin-of-its-type-4/)󠁿

 [shawfactor](https://profiles.wordpress.org/shawfactor/) 26 سپتامبر 2021 1 پاسخ

If you need this functionality this plugin works, definitely better than the alternatives
although could be a bit more intuitive

![](https://secure.gravatar.com/avatar/8c0ced2ad5a0c50ec3a0903b1d1946b4309a9b5e4ed01ff7f8d40bc710f49e3e?
s=60&d=retro&r=g)

### 󠀁[5 Stars despite a possible bug.](https://wordpress.org/support/topic/5-stars-despite-a-possible-bug/)󠁿

 [nick6352683](https://profiles.wordpress.org/nick6352683/) 27 فوریه 2021 1 پاسخ

This plugin, along it’s 2 add-on plugins (time based, and user roles based visibility)
deserves 5 stars, without any reservations on my behalf. That said, unlike the claims
from the description text, the panel does not show up on the Reusable blocks pages.
I used the Plugin Detective to see if a plugin is causing some sort of a conflict,
but that was not the case apparently. Please sort out the issues with the Reusable
blocks, so we can use these amazing features with them too. Thanks.

![](https://secure.gravatar.com/avatar/17af7f59694adb1a9e8cef4d575a25a80a1dff42694b9c2e8a7a9c5c085ba6c2?
s=60&d=retro&r=g)

### 󠀁[All in One plugin!](https://wordpress.org/support/topic/all-in-one-plugin-4/)󠁿

 [Arun Kumar](https://profiles.wordpress.org/procontentxyz/) 27 فوریه 2021 1 پاسخ

Very nice plugin. Awesome work! Thanks for such an amazing plugin. God bless you!

![](https://secure.gravatar.com/avatar/c3b8fc382efbd7ecc52266957a7d58c715a934bc6391db8a9fe4f0236681147f?
s=60&d=retro&r=g)

### 󠀁[Just Works!](https://wordpress.org/support/topic/just-works-628/)󠁿

 [Jeremy Felt](https://profiles.wordpress.org/jeremyfelt/) 24 ژانویه 2021

Installed, activated, and was immediately able to hide my first blocks without instruction
using a clean UI. 💯

 [ خواندن تمامی 5 نقد و بررسی‌ ](https://wordpress.org/support/plugin/content-visibility/reviews/)

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

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

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

 *   [ Rich Tape ](https://profiles.wordpress.org/iamfriendly/)

“Content Visibility” به 4 زبان ترجمه شده است. با تشکر از [مترجمین](https://translate.wordpress.org/projects/wp-plugins/content-visibility/contributors)
برای همکاری و کمک‌هایشان.

[ترجمه “Content Visibility” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/content-visibility)

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

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/content-visibility/)،
[مخزن SVN](https://plugins.svn.wordpress.org/content-visibility/) را بررسی کنید،
یا از طریق [RSS](https://plugins.trac.wordpress.org/log/content-visibility/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/content-visibility/) مشترک
شوید.

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

#### 0.2.9

 * WordPress 6.1.1 compatibility.
 * Fixed the styling weirdness causing some blocks to be misaligned when they have
   rules set.
 * Tweaked styling of block inspector controls to fall more in line with newer WP
   rules.
 * Fixed styles of multi-select field for widgets.

#### 0.2.8

 * Fixed an issue where blocks registered with PHP throwing error when rendering
   it with ServerSideRender components in the editor.

#### 0.2.7

 * Fixed an issue where in some cases the block controls for widgets still weren’t
   appearing on the new 5.8 widgets screen.

#### 0.2.6

 * Fixed issue where the block controls didn’t appear on the WordPress 5.8 widgets
   screen.

#### 0.2.5

 * WordPress 5.8.0 compatibility.
 * Added Category and Tag controls for widgets screen. So now you can you say “show
   this widget (block) when the post being shown has this tag” or maybe “hide this
   block when the post being shown is in this category”. Thanks to Karl Anderson
   in the support forum for making this request.

#### 0.2.4

 * WordPress 5.7.0 compatibility.
 * Nothing really to see here. Fixed an issue with the build script which prevented
   0.2.3 from being available in the plugins repo.

#### 0.2.3

 * Content Visibility controls now show on the reusable blocks edit screen in addition
   to when you insert a reusable block.

#### 0.2.2

 * Content Visibility controls now appear when you select multiple blocks.

#### 0.2.1

 * Fixed bug where data that is only intended to be loaded on the block editor widgets
   screen was being loaded on all block editor screens. Props @jeremyfelt

#### 0.2.0

 * Added dashboard and settings classes ready for add-ons which require settings.

#### 0.1.8

 * Fixed a bug where setting no special pages may ignore other rules. Not cool.

#### 0.1.7

 * Added content visibility to the block-editor based widgets screen currently only
   available with the Gutenberg plugin. Enables you to select which posts, pages,
   or special types of content (such as the 404 error, a search results page, a 
   date archive etc.) where each widget will be shown or hidden.

#### 0.1.6

 * Fixed some minor UI niggles.

#### 0.1.5

 * Content Visibility controls now appear on public custom post types.

#### 0.1.4

 * Icon used to show blocks which have content visibility rules changes depending
   on whether a block is shown or hidden.

#### 0.1.3

 * Added extra docs for available hooks
 * Tidied up code comments
 * Added finalized (…for now?) banner and icon
 * Added screenshot

#### 0.1.2

 * Turns out 0.1.1 wasn’t the first public release because I didn’t have the deploy
   script set up. Brilliant work, Rich.
 * Added a ‘content_visibility_replace_block_content’ filter to allow add-ons to
   filter what a ‘removed’ block is replaced with.
 * Added a ‘content_visibility_replace_nested_block_content’ filter to allow add-
   ons to filter what a ‘removed’ nested block is replaced with.

#### 0.1.1

 * First public release. Check out the Date and Time Add-on and Role Add-on too!

#### 0.1.0

 * Was meant to be the first public release, but caught a few things (most notably
   that I had been beaten to the punch on the name of the plugin)

## اطلاعات

 *  نگارش **0.2.9**
 *  آخرین به‌روزرسانی **4 سال پیش**
 *  نصب‌های فعال **90+**
 *  نگارش وردپرس ** 5.0 یا بالاتر **
 *  آزمایش‌شده تا **6.1.11**
 *  نگارش PHP ** 7.0 یا بالاتر **
 *  زبان‌ها
 * [English (US)](https://wordpress.org/plugins/content-visibility/)، [Spanish (Colombia)](https://es-co.wordpress.org/plugins/content-visibility/)،
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/content-visibility/)، 
   [Spanish (Spain)](https://es.wordpress.org/plugins/content-visibility/)، و [Spanish (Venezuela)](https://ve.wordpress.org/plugins/content-visibility/).
 *  [به زبان خودتان ترجمه کنید](https://translate.wordpress.org/projects/wp-plugins/content-visibility)
 * برچسب
 * [block](https://fa.wordpress.org/plugins/tags/block/)[content](https://fa.wordpress.org/plugins/tags/content/)
   [contentvisibility](https://fa.wordpress.org/plugins/tags/contentvisibility/)
   [show](https://fa.wordpress.org/plugins/tags/show/)[visibility](https://fa.wordpress.org/plugins/tags/visibility/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/content-visibility/advanced/)

## امتیازها

 5 از 5 ستاره.

 *  [  امتیاز 5 5-ستاره     ](https://wordpress.org/support/plugin/content-visibility/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/content-visibility/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/content-visibility/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/content-visibility/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/content-visibility/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/content-visibility/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/content-visibility/reviews/)

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

 *   [ Rich Tape ](https://profiles.wordpress.org/iamfriendly/)

## پشتیبانی

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

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/content-visibility/)

## کمک مالی

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

 [ کمک مالی به این افزونه ](https://girlswhocode.com/)