Private content

Private content setup

 

Overview

The Private content extension provides logged in users with content that only they can access and view. Private content can be added or edited by the website admins. This document provides instructions on how to setup Private content extension.

Contents

Settings #

Extension’s settings #

Once you activate the Private content extension, you will see the tab “Private content” on the page [Ultimate Member > Settings > Extensions]. On this page, you can find the following options:

  • Generate pages – this option generates a private content section for all existing users.
  • Private Content Tab Title – change the title of the tab in the user profile menu.
  • Private Content Tab Icon – change the icon of the tab in the user profile menu.
  • Predefined content template – Use this setting if you create similar private content for all users. This template is used as a predefined content in the Private Content editor.

Profile Menu settings #

The extension adds a setting to the page [Ultimate Member > Settings > Appearance > Profile Menu]. This setting allow you to manage the “Private Content” item in the profile menu:

  • Private Content Tab – Allows to enable/disable “Private Content” item in the Profile menu

Adding private content #

Administrators and user roles with admin rights can add private content to any user on the site.

The private content page can be accessed via the [Users > All Users] section by clicking on the link “Private Content” under the user name.

The private content page supports the standard WordPress editor and can be used for media or text.

On the profile page, the private content can be found under the tab Private Content.

Shortcode #

[um_private_content]

This shortcode can be used to add a private content to an existing page or post.

Example:

[um_private_content] This text is only visible to private content owner [/um_private_content]