WordPress.org

Ready to get started?Download WordPress

Forums

Can I password protect a page with a custom template? (2 posts)

  1. Shawn Hesketh
    Member
    Posted 7 years ago #

    Creating a site for a client who needs to password protect several pages throughout their site, but these pages also need to display news from a particular, member-only category. I'm using a custom page template to limit the results of The Loop, using...
    query_posts('cat=1');

    However, when I view this page, it completely ignores the password assigned to it. Any fix?

    Here's the page I'm trying to password protect.

  2. nakedape
    Member
    Posted 7 years ago #

    I have the same problem.. I'm pulling in excerpts from several categories to a custom page template, and password-protecting the page does nothing.

    If you resolve this issue, could you please give some notes on how?

    Thanks Shawndh,

    - John

Topic Closed

This topic has been closed to new replies.

About this Topic