• We have a blog that has pages that are designed to be available to any viewer but we want to keep any blog entries private, only for people we know. What is the best way to have the blog entries (not the public pages) hidden or private without making every entry password protected? We currently have an RSS feed for our entries going into a e-mail newsletter format and the password protected entries don’t send through the RSS feed with content.

    Is there a way to make the blog entry page protected while leaving the other pages public?

    Thanks ~
    Lisa

Viewing 4 replies - 1 through 4 (of 4 total)
  • Set the pages to Private, and then have your users register to your site as a Subscriber (or create a new user in the dashboard for each person, and set their role to Subscriber)

    Private posts are visible to registered users of your site only, public visitors can only see the post title.

    Cheers

    Thread Starter Lisa W

    (@lisa-w)

    Thank you, but I still have a question. The pages are designed to be public, it’s the blog entries I want to keep private. Can I do that without making each entry password protected, as that affects the RSS feed?

    Yes it can done by creating a members post template using index.php code and use this plugin
    http://wordpress.org/extend/plugins/custom-post-template/
    and you will a have post attribute same you have page attribute on right.

    Using index.php code make change at top and add template name like

    <?php
    /*
    Template Name: Members Posts
    */
    ?>
    <?php if ( $user_ID ) : // if logged in ?>

    at end of code just after footer

    <?php else : // if not logged in go to login page 
    
    	$url = 'register';
    	header("Location:$url"); 
    
    endif; // end if logged in

    save as member-post.php
    Note: You will need to change register to your register page.

    Now when you post you will have choice of template in dropdown.

    on the post above the line Template Name: Members Posts needs to be
    Template Name Posts: Members Posts

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Best Way To Make Blog Entries Private?’ is closed to new replies.