WordPress.org

Support

Support » Themes and Templates » Check in the Loop if a post is password protected

Check in the Loop if a post is password protected

  • Hi guys.

    I want to add a “lock” in the excerpt of a post if the post is password protected.

    Do someone know a way to know, in a loop, if the post is password protected?

    How do I force WP to show me the excerpt of a Password-Protected post?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Check in the Loop if a post is password protected’ is closed to new replies.
Skip to toolbar