Skip to main content

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.

SettingTypeDefaultDepends onNotes
Roles that can view all contentCheckbox list (roles)AdministratorSelect 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.

SettingTypeDefaultDepends onNotes
Post title (for visitors without access)SelectShow TitleShow the real title, hide it, or show custom text. Options: Show Title, Hide Title, Custom Text.
Custom title textTextPost title = Custom TextShown when "Custom Text" is selected above.
Replace post body withSelectMessageWhat to show instead of the full post content. Options: Message, Divi Layout, Show Content from Theme Builder.
Message textTextThis post is only available to members.Replace post body with = MessageShown when "Message" is selected above.
Divi layoutSelect (Divi layout)Replace post body with = Divi LayoutLayout 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.

SettingTypeDefaultDepends onNotes
Post title (for visitors without access)SelectShow TitleShow the real title, hide it, or show custom text. Options: Show Title, Hide Title, Custom Text.
Custom title textTextPost title = Custom TextShown when "Custom Text" is selected above.
Show post meta (date, author, etc.)ToggleOffShow or hide for visitors without access.
Show featured imageToggleOffShow or hide for visitors without access.
Replace post body withSelectMessageWhat to show instead of the full content. Options: Message, Divi Layout, Show Excerpt or truncated content.
Message textTextThis post is only available to members.Replace post body with = MessageShown when "Message" is selected above.
Divi layoutSelect (Divi layout)Replace post body with = Divi LayoutLayout shown instead of the post body.
Excerpt length (characters)Number (1–1000)55Replace post body with = Show ExcerptHow long the truncated preview is.
After the excerpt, also showSelectNoneReplace post body with = Show ExcerptOptional content below the excerpt. Options: None, Message, Divi Layout.
Additional message textTextareaContinue reading...After the excerpt = MessageShown when "Message" is selected above.
Link URL for messageURLAfter the excerpt = MessageOptional link on the additional message.
Divi layout for additional contentSelect (Divi layout)After the excerpt = Divi LayoutLayout 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).

SettingTypeDefaultDepends onNotes
Show protected posts in listsToggleOffOff: protected posts are hidden. On: they appear with the options below (title, message, etc.).
Post title in list (for visitors without access)SelectShow TitleShow protected posts = OnShow real title, hide it, or show custom text. Options: Show Title, Hide Title, Custom Text.
Custom title textTextShow protected posts = On, Post title in list = Custom TextShown in the list when "Custom Text" is selected above.
Show post meta (date, author) in listToggleOffShow protected posts = OnShow or hide for protected posts in the list.
Show featured image in listToggleOffShow protected posts = OnShow or hide for protected posts in the list.
Replace post content in list withSelectMessageShow protected posts = OnWhat appears instead of the full post body in the listing. Options: Message, Divi Layout, Show Full Content.
Message textTextThis post is only available to members.Show protected posts = On, Replace content = MessageShown when "Message" is selected above.
Divi layoutSelect (Divi layout)Show protected posts = On, Replace content = Divi LayoutLayout shown instead of the post content in the list.
In loop modules (e.g. Ajax Filter, Divi Machine)SelectMessageShow protected posts = OnSame 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)TextThis post is only available to members.Show protected posts = On, Loop modules = MessageShown when "Message" is selected above.
Divi layout (for loop modules)Select (Divi layout)Show protected posts = On, Loop modules = Divi LayoutLayout shown in loop modules when content is restricted.

What's Next