Private RSS Feeds

Posts protected by Memberful aren't displayed in WordPress RSS Feeds. Memberful makes it easy to turn on Private RSS Feeds for members who prefer to read content with an RSS reader. From WordPress, visit Settings → Memberful → Private RSS Feeds.

In this help doc:

Private RSS Feeds

Display the Private RSS Feed

Each signed in member with the specified access has their own unique RSS Feed. You can share this RSS Feed with the member in any WordPress page or post with a shortcode:

[memberful_private_rss_feed_link]Your RSS feed[/memberful_private_rss_feed_link]

Or, you can add it directly to your theme template files:

<?php memberful_private_rss_feed_link( "Your RSS Feed", "You don't have access." ); ?>

Limit Feed to Specific Categories

By default, the feed includes posts from any of your WordPress categories. You can limit the feed to a single category by specifying it in the shortcode, for example, if you only wanted posts in the "podcast" category you would add:

[memberful_private_rss_feed_link category="podcast"]Your podcast feed[/memberful_private_rss_feed_link]

Limit it to multiple categories using the memberful_private_rss_category_ids filter action:

function my_theme_private_rss_category_ids( $category_ids ) {
  return array( 1, 3 );
}
add_filter( 'memberful_private_rss_category_ids', 'my_theme_private_rss_category_ids' );

Include Custom Post Types

By default, only regular WordPress posts are included in private RSS Feed. Add support for Custom Post Types by hooking into the memberful_private_rss_post_types filter action:

function my_theme_private_rss_post_types( $post_types ) {
  return array( 'post', 'custom_post_type' );
}
add_filter( 'memberful_private_rss_post_types', 'my_theme_private_rss_post_types' );

Can't find what you're looking for? We'd love to help! 💪

Send us a message through the orange chat bubble in the lower right corner of the page. You'll hear back within a few hours Monday - Friday. 😀

Home

General +-

Quick start guides +-

How to +-

CMS Integrations +-

Email Newsletters +-

Discussion Forums +-

Course Builders +-

WordPress +-

Development / API +-