Im not sure about your specific theme but by default when you select password protected, it only hides the content. i.e. the_content(). Therefore, if you wanted to password protect the whole page, update you php to something similiar to the below:
<?php global $post; get_header(); if ( post_password_required( $post ) ) { // Password protecte content. }else{ // Page isn't password-protected, show password prompt echo get_the_password_form( $post ); } ?>
Related Posts:
- Flaticons not showing up on WordPress
- Muffin Builder has a limit? (WordPress – Be Theme)
- How to find out who is hosting my WordPress site?
- How to enable button onClick functions and java script in wordpress post
- WordPress localhost not working
- How can I access http://localhost/wordpress/wp-admin/install.php?
- How can I access http://localhost/wordpress/wp-admin/install.php?
- How can I configure the WordPress development environment locally?
- PHP fopen() Error: failed to open stream: Permission denied
- How to put Youku video on my wordpress site?
- Redirect after Login on WordPress
- Formidable Forms WordPress Plugin
- How to implement inline cm/inches conversion in WordPress
- Redirect old php link to wordpress link in .htaccess
- Redirect old php link to wordpress link in .htaccess
- WordPress qw.php file on root of installation
- How to change thumbnails for WordPress pages (KakaoTalk)
- Remove “Protected” text in title h1 of protected wordpress pages
- How to convert JPG to PNG on upload in WordPress (via add_image_size)?
- What is the meaning of ‘OFFSET’ => 1 (WordPress)
- WordPress makes an auto-draft as soon as I enter the page
- Display only one category on home page wordpress
- WordPress custom thumbnail size
- WordPress custom thumbnail size
- Php – Your PHP installation appears to be missing the MySQL extension which is required by WordPress
- Php – Your PHP installation appears to be missing the MySQL extension which is required by WordPress
- Local WordPress installation is stripping ‘wp-admin’ from URL on WordPress admin dashboard
- Exclude Featured Posts in WordPress ‘Recent Posts’ Function
- Random Question Mark Icons In WordPress Text
- WordPress – add second logo to customizer
- php, cookies, wordpress – how to make automatic login in one one site, login and on other one
- Creating a custom rebrandly link using a wordpress shortcode
- WordPress Login Tracking Google Analytics
- WordPress thumbnail cropping not working
- WordPress – Check if user is logged in
- What does arg mean in WordPress
- WordPress custom supports for custom post types
- Is it possible to combine a WordPress template (Semplice) and some HTML & CSS pages?
- WordPress dFactory Cookie Notice Plugin
- Marathi typing option in wordpress Editor
- WordPress: Loading multiple scripts with enqueue
- How to use wp_enqueue_style() in my WordPress theme?
- Query multiple WordPress post types alternately
- How to add custom javascript to WordPress Admin?
- How can i Toogle between 2 icons without reloading page in wordpress
- About 404 during WordPress installation
- With “magic quotes” disabled, why does PHP/WordPress continue to auto-escape my POST data?
- How to extend WordPress Bookly plugin
- “The Events Calendar” plugin by Modern Tribe in WordPress not working
- After moving WordPress, login works, but no admin access anymore
- WordPress Main Menu – Hide ‘Home’ link on homepage only
- validate textfield contents in wordpress simple job board plugin
- Why am I getting 404 not found on this wordpress subdomain on my Nginx server?
- wordpress Simple Job board plugin hide cv attachment form
- WP_Query(‘orderby=post_date’) not working with wordpress
- WordPress get_terms() function not display custom taxonomy categories for woocommerce
- Dash icons Not Showing properly in Menu Using WordPress
- Changing code font size on wordpress
- WordPress Error: There has been a critical error on your website. Please check your site admin email inbox for instructions
- No paged query var being set in WordPress custom pagination
- Scalable wordpress setup
- cannot change admin password, wordpress on godaddy
- Avada theme wordpress customization
- How do i give a WordPress editor access to the Site Kit by Google plugin?
- How to display WordPress search results?
- Permalinks in WordPress not working
- WordPress – Display Random Number Between 190-250
- How to fix facebook sharer button that appears cutted on wordpress
- How to define custom capabilities in wordpress for custom plugin
- WordPress Order by date on custom post type archive page
- Set size of WordPress thumbnail post
- How to set on load marathi language using google translator in wordpress?
- how to set featured image in non-wordpress
- Prevent category updates in WordPress Woocommerce REST API
- Double slashes on WordPress Admin URL redirects to wp-login
- wordpress login wp-login.php change url
- Cuelinks widget’s half part is getting hidden on WordPress website
- WordPress / Gravity Forms – Show/hide a div based on value of a number field
- I have shifted my wordpress site from one host to another, after shift the website wp-admin is not open
- WordPress- url for localhost wp-admin is not working
- WordPress- url for localhost wp-admin is not working
- How to use If, If Else and else in WordPress
- Display Ninja Forms Data in WordPress Template
- WordPress: LinkedIn Posting Link doesn’t show meta og description or title
- Enable “Post Formats” Just For a “Custom Post Type” And Not Others In WordPress
- How can I embed a YouTube video in a WordPress template page?
- Get Categories of events in WordPress Events Calendar Pro Plugin
- Get Categories of events in WordPress Events Calendar Pro Plugin
- Embed podcast feed in wordpress
- wordpress add_query_arg how to add multiple queries to URL
- How to correctly use get_template_directory_uri() WordPress function to load an image that is in a subfolder of my theme?
- Custom Coupon type woocommerce wordpress
- WordPress home page is blank but every other page is working fine
- Error establishing a database connection in my localhost
- function “add_submenu_page in wordpress connects to the home page instead of the submenu page
- Add php code inside the function add_shortcode in functions.php WordPress
- Correct way of using wp_get_attachment_image() in wordpress
- Show comments on WordPress home page
- How to easily add cropped screenshot to self-hosted WordPress as hosted image?
- Which ways can be used to log in to WordPress?