Add a Locked Post Message Image Overlay on Protected Content

Help visitors easily identify your premium content and prompt them to upgrade when browsing your posts.

This code recipe uses CSS to overlay a message on the featured images for a members-only post. If the user does not have membership to view that content, the message is shown on top of the featured image in your WordPress site like the sample screenshot below.

This content requires a premium membership plan.

Add Locked Post Message Image Overlay Code Recipe

Hide a Post’s Featured Image From Non-Members

Many themes display a post’s featured image in the archives, search results, widgets and more. For a membership site, the featured image may contain specialized information you only want to show to your members. Use this code recipe to ensure that only your active members get the full experience of your valuable content….

This content requires a premium membership plan.

PMPro - Hide featured images from non-members