Home › Forums › ACF PRO › Password Protect › Reply To: Password Protect
To add what @jarvis has already said. If you are calling the_content()
anywhere on the page then this will show the password form automatically. So when it comes to ACF you simply need to use
if (!post_password_required()) {
// show content for ACF fields
}
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.