password protect feeds (4 posts)

  1. eng-le-bert
    Posted 8 years ago #

    Hi there

    I'm currenty using Angsuman's Authenticated plugin to password protect a members only blog.

    I'd like to release an members only RSS feed for the blog - I don't suppose this is possible using WordPress?

    Would I have to do something like specify access to a certain folder by IP addresses?

    Grateful of your help.

    Best wishes


  2. webcomm
    Posted 7 years ago #

    is it still not possible to password-protect feeds (or at least feed summaries) in WordPress? Is there a way I can disable summaries in the feeds so only the title is visible if the post is password-protected?

  3. blake213
    Posted 7 years ago #

    Not sure if this will help with your issue, but I figured out how to completely remove password protected posts from the feeds (if they are password protected, I don't think they should ever be in the feed).

    Paste this code in your theme's functions.php:

    function filter_private($content) {
    		if(is_feed()) {
    			for($i = 0; $i < count($content); $i++) {
    				if(strlen($content[$i]->post_password) > 0) {
    					array_splice($content, $i, 1);
    		return $content;
    	add_filter('the_posts', 'filter_private');
  4. armyinfoforum
    Posted 7 years ago #

    Great - This is real thing -

    One question - - will this disappear if I upgrade – whatever I upgrade – blog or my theme?


Topic Closed

This topic has been closed to new replies.

About this Topic