| 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 |
|