PluginProbe
Passster – Password Protect Pages and Content / 4.3.14
Passster – Password Protect Pages and Content v4.3.14
4.3.15 4.3.14 4.3.12 4.3.13 4.3.11 4.3.10 4.3.9 4.3.8 4.3.7 4.3.6 4.3.5 trunk 3.5.4 3.5.5.2 3.5.5.8 3.5.5.9 4.0 4.1.4 4.2.10 4.2.11 4.2.12 4.2.13 4.2.14 4.2.15 4.2.16 All 47 releases
content-protector / inc / templates / category-protected.php

category-protected.php in Passster – Password Protect Pages and Content 4.3.14, at inc/templates/category-protected.php

25 lines 666 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Template used when a regular post category or taxonomy archive is password-protected.
4 * Used only for classic (non-block) themes; block themes use the render_block filter instead.
5 *
6 * @package Passster
7 */
8
9 defined( 'ABSPATH' ) || exit;
10
11 get_header();
12 ?>
13
14 <div class="passster-protected-archive">
15 <header class="page-header">
16 <?php the_archive_title( '<h1 class="page-title">', '</h1>' ); ?>
17 <?php the_archive_description( '<div class="archive-description">', '</div>' ); ?>
18 </header>
19
20 <?php echo \passster\PS_Category_Lock::get_protected_form(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
21 </div>
22
23 <?php
24 get_footer();
25