Title: Visibility Control for LifterLMS
Author: Pankaj Agrawal
Published: <strong>2023年5月31日</strong>
Last modified: 2025年9月11日

---

プラグインを検索

![](https://ps.w.org/visibility-control-for-lifterlms/assets/banner-772x250.png?
rev=2919664)

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://ps.w.org/visibility-control-for-lifterlms/assets/icon-256x256.png?rev
=2919664)

# Visibility Control for LifterLMS

 作者: [Pankaj Agrawal](https://profiles.wordpress.org/liveaspankaj/)

[ダウンロード](https://downloads.wordpress.org/plugin/visibility-control-for-lifterlms.1.1.zip)

 * [詳細](https://ja.wordpress.org/plugins/visibility-control-for-lifterlms/#description)
 * [レビュー](https://ja.wordpress.org/plugins/visibility-control-for-lifterlms/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/visibility-control-for-lifterlms/#installation)
 * [開発](https://ja.wordpress.org/plugins/visibility-control-for-lifterlms/#developers)

 [サポート](https://wordpress.org/support/plugin/visibility-control-for-lifterlms/)

## 説明

Visibility Control for LifterLMS helps you hide messages and content for specific
criterion anywhere on your WordPress page.

You can show/hide HTML elements, menus, and other details based on:
 1. User’s access
to a particular **Lifter LMS Course**, 2. User’s course completion status of a particular**
Lifter LMS Course**, Or 3. User is **Logged In** or **Logged Out**. 4. User’s role.

You simply need to add a CSS class to your element div or span. As explained here:

**Example:**

Login/Logout Status:

 * To show the element/menu item to a logged-in user, add this CSS class: **visible_to_logged_in**
   OR **hidden_to_logged_out**
 * To hide the element/menu item from a logged-in user, add this CSS class: **visible_to_logged_out**
   OR **hidden_to_logged_in**

For user’s role:
 * To show the element/menu item to a user will role administrator,
add this CSS class: **visible_to_role_administrator** OR **hidden_to_role_administrator***
Note: To show an element to multiple specific roles only, you need add the element
multiple times, one for each role. To hide an element/menu from specific multiple
roles only you can add the element once add multiple classes to the same element.

If Course ID is 123

 * To show the element/menu item to user with access to above Course, add this CSS
   class: **visible_to_course_123**
 * To hide the element/menu item from user with access to above Course, add this
   CSS class: **hidden_to_course_123**
 * To show the element/menu item to a logged-in user, add this CSS class: **visible_to_logged_in**
   OR **hidden_to_logged_out**
 * To hide the element/menu item from a logged-in user, add this CSS class: **visible_to_logged_out**
   OR **hidden_to_logged_in**

For a course completion status, if Course ID is 123:

 * To show the element/menu item to user who completed above course, add this CSS
   class: **visible_to_course_complete_123**
 * To hide the element/menu item from user who completed above course, add this 
   CSS class: **hidden_to_course_complete_123**
 * To show the element/menu item to user who has not completed above course, add
   this CSS class: **visible_to_course_incomplete_123**
 * To hide the element/menu item from user who has not completed above course, add
   this CSS class: **hidden_to_course_incomplete_123**

**Mechanism of Functioning**

 * **Multiple CSS Classes:** If multiple visibility control classes are added, ALL
   of them must meet the criterion to keep the element visible. If any one of them
   hides the element, it will be hidden. For example: visible_to_course_123 visible_to_course_124
   will show the element only to those who have access to both courses.
 * Hidden data/elements reaches the browser. Though user’s do not see it.
 * CSS is added to the page for all CSS elements that needs to be hidden based on
   above rules.
 * After page is loaded. These elements are removed from page using jQuery (if available),
   so it won’t be available on Inspect.
 * Elements rendered after the page load are hidden but not removed from DOM/page.

**Future Development**

Depending on the interest in this feature, we will decide on adding a shortcode 
and/or a Gutenberg Block to achieve this feature.

**Other Visibility Control Plugins:**
 – [Visibility Control for LearnDash LMS](https://www.nextsoftwaresolutions.com/learndash-visibility-control/)–
[Visibility Control for WPCourseware LMS](https://www.nextsoftwaresolutions.com/visibility-control-for-wp-courseware/)–
[Visibility Control for LearnPress LMS](https://www.nextsoftwaresolutions.com/visibility-control-for-learnpress/)–
[Visibility Control for TutorLMS](https://www.nextsoftwaresolutions.com/visibility-control-for-tutorlms/)–
[Visibility Control for MasterStudy LMS](https://www.nextsoftwaresolutions.com/visibility-control-for-masterstudy/)–
[Visibility Control for Sensei LMS](https://www.nextsoftwaresolutions.com/visibility-control-for-sensei/)–
[Visibility Control for WooCommerce](https://www.nextsoftwaresolutions.com/woocommerce-visibility-control/)

**Related Plugins for LifterLMS:**
 – [Experience API for LifterLMS](https://www.nextsoftwaresolutions.com/experience-api-for-lifterlms/)–
[Manual Completions for LifterLMS](https://www.nextsoftwaresolutions.com/manual-completions-for-lifterlms/)

## スクリーンショット

[⌊Show menu only to Loggout user⌉⌊Show menu only to Loggout user⌉[

Show menu only to Loggout user

[⌊Show menu only to Logged In user (or Course/Group access)⌉⌊Show menu only to Logged
In user (or Course/Group access)⌉[

Show menu only to Logged In user (or Course/Group access)

[⌊Show a message if user has access to course (using HTML anywhere)⌉⌊Show a message
if user has access to course (using HTML anywhere)⌉[

Show a message if user has access to course (using HTML anywhere)

[⌊Show a message if user doesn't have access to course (using Additional CSS class)⌉⌊
Show a message if user doesn't have access to course (using Additional CSS class
)⌉[

Show a message if user doesn’t have access to course (using Additional CSS class)

## インストール

This section describes how to install the plugin and get it working.

e.g.

 1. Upload the plugin files to the `/wp-content/plugins/visibility-control-for-lifterlms`
    directory, or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Add the CSS classes to your HTML elements or Menu Items as described in the Details
    section.

## FAQ

### What is Lifter LMS?

Lifter LMS is a popular WordPress based Learning Management System (LMS) plugin.
It includes many advanced features including, quizzing engine, course management,
reports, certificates and payment methods.

You can also add GrassBlade xAPI Companion plugin and GrassBlade LRS to start using
Experience API (xAPI) based contents with Lifter LMS.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

Visibility Control for LifterLMS はオープンソースソフトウェアです。以下の人々がこの
プラグインに貢献しています。

貢献者

 *   [ Pankaj Agrawal ](https://profiles.wordpress.org/liveaspankaj/)

[“Visibility Control for LifterLMS” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/visibility-control-for-lifterlms)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/visibility-control-for-lifterlms/)
するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/visibility-control-for-lifterlms/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/visibility-control-for-lifterlms/)
を [RSS](https://plugins.trac.wordpress.org/log/visibility-control-for-lifterlms/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.1

 * Fixed: Hidden elements showing for a moment before being hidden.

#### 1.0

Initial Commit

## メタ

 *  バージョン **1.1**
 *  最終更新日 **1年前**
 *  有効インストール数 **70+**
 *  WordPress バージョン ** 4.0またはそれ以降 **
 *  検証済み最新バージョン: **6.8.11**
 *  PHP バージョン ** 5.6またはそれ以降 **
 *  言語
 * [English (US)](https://wordpress.org/plugins/visibility-control-for-lifterlms/)
 * タグ
 * [elearning](https://ja.wordpress.org/plugins/tags/elearning/)[hide](https://ja.wordpress.org/plugins/tags/hide/)
   [hide content](https://ja.wordpress.org/plugins/tags/hide-content/)[lifter](https://ja.wordpress.org/plugins/tags/lifter/)
   [lms](https://ja.wordpress.org/plugins/tags/lms/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/visibility-control-for-lifterlms/advanced/)

## 評価

レビューはまだ送信されていません。

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

[すべてのレビューを見る](https://wordpress.org/support/plugin/visibility-control-for-lifterlms/reviews/)

## 貢献者

 *   [ Pankaj Agrawal ](https://profiles.wordpress.org/liveaspankaj/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/visibility-control-for-lifterlms/)