Content Visibility Problem (Member Only Content)

Hey All,

I’m using BB pro with a child theme and also have Themer. I’m trying to determine the best option to allow some content on existing pages to be visible for logged-out users (Preview content) and the full page content available for logged-in users. I have a saved global row that displays the Member-only message and links, which can be added to any page where the member-only content starts.

With the BB visibility options, it’s easy to hide a single row for logged-out users, but when a page has multiple rows, it requires manually setting the visibility for every row. Not fun for pages with many rows.

To simplify the process for non-technical site editors, I tried adding a WP filter that would look for a specific ID or class on the member-only saved row, removing all the page content below it. This works to remove the content, but it breaks the site layout due to how Beaver Builder generates the page and the removal of some BB assets in the footer.

Another option I considered is trying to wrap the member-only rows with HTML modules that have a specific ID, which would then be removed if the user is logged out, but that didn’t work and it is less ideal to require editors to add HTML code sections.

I’m able to code customizations and imagine there is some way to simplify adding member-only content secitons for pages that have multiple rows.

Does anyone know of a way to group BB rows to set the visibility on many rows at once? Is there maybe a way to do this with a page template, the Tehemer plugin, or a way to remove BB content before it’s rendered with a filter?

Thanks in advance for any help!

There are several ways

You can set the visibility on a per node basis, like you did before…

You can put your nodes into a row/column and set the visibility there…

Or you can use the provided WordPress PHP filters to hide any node programatically.

There are various hints here: