Content Restriction
The Content Restriction page is at WordPress Admin → Divi Engine → Divi Membership → Content Restriction. It has three tabs: Theme Builder, Default template, and Lists & archives. These settings control who can view protected content and what visitors without access see (title, meta, featured image, message, layout, or excerpt).
Who can view all content
This section appears above the tabs. Users with the selected roles see all protected content when logged in, regardless of membership plan.
| Setting | Type | Default | Depends on | Notes |
|---|---|---|---|---|
| Roles that can view all content | Checkbox list (roles) | Administrator | — | Select one or more roles. Leave empty to disable this bypass. Only valid WordPress role slugs are saved. |
Theme Builder tab — Single post (Theme Builder)
When you build post layouts in Theme Builder, these options control the title, replacement content, and message for visitors without access.
| Setting | Type | Default | Depends on | Notes |
|---|---|---|---|---|
| Post title (for visitors without access) | Select | Show Title | — | Show the real title, hide it, or show custom text. Options: Show Title, Hide Title, Custom Text. |
| Custom title text | Text | — | Post title = Custom Text | Shown when "Custom Text" is selected above. |
| Replace post body with | Select | Message | — | What to show instead of the full post content. Options: Message, Divi Layout, Show Content from Theme Builder. |
| Message text | Text | This post is only available to members. | Replace post body with = Message | Shown when "Message" is selected above. |
| Divi layout | Select (Divi layout) | — | Replace post body with = Divi Layout | Layout to show instead of the post body. |
Default template tab — Single post (default template)
When you use the standard post layout (no Theme Builder for posts), these options control the title, meta, featured image, and what replaces the post body for visitors without access.
| Setting | Type | Default | Depends on | Notes |
|---|---|---|---|---|
| Post title (for visitors without access) | Select | Show Title | — | Show the real title, hide it, or show custom text. Options: Show Title, Hide Title, Custom Text. |
| Custom title text | Text | — | Post title = Custom Text | Shown when "Custom Text" is selected above. |
| Show post meta (date, author, etc.) | Toggle | Off | — | Show or hide for visitors without access. |
| Show featured image | Toggle | Off | — | Show or hide for visitors without access. |
| Replace post body with | Select | Message | — | What to show instead of the full content. Options: Message, Divi Layout, Show Excerpt or truncated content. |
| Message text | Text | This post is only available to members. | Replace post body with = Message | Shown when "Message" is selected above. |
| Divi layout | Select (Divi layout) | — | Replace post body with = Divi Layout | Layout shown instead of the post body. |
| Excerpt length (characters) | Number (1–1000) | 55 | Replace post body with = Show Excerpt | How long the truncated preview is. |
| After the excerpt, also show | Select | None | Replace post body with = Show Excerpt | Optional content below the excerpt. Options: None, Message, Divi Layout. |
| Additional message text | Textarea | Continue reading... | After the excerpt = Message | Shown when "Message" is selected above. |
| Link URL for message | URL | — | After the excerpt = Message | Optional link on the additional message. |
| Divi layout for additional content | Select (Divi layout) | — | After the excerpt = Divi Layout | Layout shown below the excerpt. |
Lists & archives tab — Lists and archives (blog, categories, loops)
Applies to any list of posts: blog, category pages, Divi Blog module, related posts, and loops in Divi Ajax Filter or Divi Machine. Choose whether protected posts appear in the list and what visitors without access see (title, meta, message, layout).
| Setting | Type | Default | Depends on | Notes |
|---|---|---|---|---|
| Show protected posts in lists | Toggle | Off | — | Off: protected posts are hidden. On: they appear with the options below (title, message, etc.). |
| Post title in list (for visitors without access) | Select | Show Title | Show protected posts = On | Show real title, hide it, or show custom text. Options: Show Title, Hide Title, Custom Text. |
| Custom title text | Text | — | Show protected posts = On, Post title in list = Custom Text | Shown in the list when "Custom Text" is selected above. |
| Show post meta (date, author) in list | Toggle | Off | Show protected posts = On | Show or hide for protected posts in the list. |
| Show featured image in list | Toggle | Off | Show protected posts = On | Show or hide for protected posts in the list. |
| Replace post content in list with | Select | Message | Show protected posts = On | What appears instead of the full post body in the listing. Options: Message, Divi Layout, Show Full Content. |
| Message text | Text | This post is only available to members. | Show protected posts = On, Replace content = Message | Shown when "Message" is selected above. |
| Divi layout | Select (Divi layout) | — | Show protected posts = On, Replace content = Divi Layout | Layout shown instead of the post content in the list. |
| In loop modules (e.g. Ajax Filter, Divi Machine) | Select | Message | Show protected posts = On | Same choice for custom loop modules: show a message, a layout, or the full content. Options: Message, Divi Layout, Show Content. |
| Message text (for loop modules) | Text | This post is only available to members. | Show protected posts = On, Loop modules = Message | Shown when "Message" is selected above. |
| Divi layout (for loop modules) | Select (Divi layout) | — | Show protected posts = On, Loop modules = Divi Layout | Layout shown in loop modules when content is restricted. |
What's Next
- Free Trials — Trial behavior and grace period.
- Content Design — Styling of restricted content messages.
- Settings overview — Where to find each section.