password protecting posts (1 post)

  1. astima
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic