Support » Fixing WordPress » password protecting posts

  • I am getting closer to my final goal of getting my posts in a specific category to automatically be password protected.

    I know I need to use the function <?php post_password_required( $post ); ?>. Do I use the code in my archive.php or in my custom posts (i.e. single_12.php). Also would I use a guest or a query posts?

    Any advice would be greatly appreciated.

  • The topic ‘password protecting posts’ is closed to new replies.