Last updated 11/20/2023
Bread & Butter’s content preview feature allows you to limit access to specific web pages on your website to visitors that have authenticated. When the user goes to the page, the content is partially hidden by the content preview sign in section. It can be configured to appear immediately, after a period of time, or when a user scrolls past a certain percent of the page.
You can also customize the text content at the bottom to meet your unique business needs. Once signed in, users can see the page content.
To set up content preview, please follow the steps below.
In the left menu in WordPress Admin, click on Bread & Butter.
Click on the Content Gating tab, then go to the Content Preview Setup section.
Specify the Pages that you want to restrict to logged in users. You can choose one or many pages.
Enter any custom text you wish to appear in the header or below the sign in options. If you do not specify custom content, the suggested content displayed in the fields will be used.
Choose whether you want page links that are still visible above content preview to be clickable. For example, if you still want users to be able to click on links in your header on a page with content preview enabled.
Set any time or scroll delays.
Set the maximum height. This is the percentage of the screen that the Content Preview will take up. Set to 0 to have it set to the height it needs to fit all sign in options.
Enable Override Registration Destination URL if you've set a Registration Destination URL in your app settings, but want that to not apply to Content Preview pages.
If you do not have a Registration Destination URL set in your app settings, you can ignore this setting.
Click Save to save and apply your changes.
The specified pages are now gated for signed in users only.
Add authentication & API event tracking to your website/app with a script tag & configuration