With 43% of the world’s websites running using WordPress, it is undoubtedly the most popular content management system (CMS)! Its popularity is all due to its ease of use. Even if you know nothing about coding or web design, you can launch your website in mere minutes. You can flexibly change the look and function…
How to Hide WordPress Comments: Webmaster’s Guide
WordPress is the most popular content management system (CMS) in the market nowadays. Even if you don’t know anything about coding, it can help you establish your website in a few minutes. Once you have uploaded your content, people can choose to leave comments on your posts. The comment feature is an excellent way to…
Password protect any posts automatically upon publish
You can password protect all posts once they’re published using the following function. add_action(‘publish_post’, ‘ppwp_pro_auto_protect_posts_when_publishing’); function ppwp_pro_auto_protect_posts_when_publishing( $post_id ) { if ( method_exists(‘PPW_Pro_Password_Services’, ‘protect_post_by_password’ ) ) { $passwords_service = new PPW_Pro_Password_Services(); $passwords_service->protect_post_by_password( $post_id ); } } To apply for pages or any custom post types, you should change the action accordingly. add_action(‘publish_page’, ‘ppwp_pro_auto_protect_posts_when_publishing’); // Apply…
WordPress Double Password Protection
Our Password Protect WordPress (PPWP) plugin provides various ways to protect your private content with passwords, namely, sitewide, individual, and partial content protection. 1. Sitewide Protection Users will be prompted to enter passwords in order to access any content on your protected site. In other words, the entire website including its header, footer, and sidebar…