Password Protect Archive Page

[ad_1]

Hi All, I am using a custom post type for a site I am working on. I can set a password to protect the individual posts (using standard Gutenberg settings) but how can I password-protect the archive pages of said custom post types? I’ve done some research and haven’t come across any promising solutions.

Has anyone had to do this before? Any suggestions?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer