This commit is contained in:
2026-04-26 23:47:49 +02:00
parent 1b95f03d1e
commit b073e009d8
5288 changed files with 1112699 additions and 55536 deletions

View File

@@ -0,0 +1,17 @@
<?php
$checked = ppw_core_get_setting_type_bool_by_option_name( PPW_Constants::PROTECT_EXCERPT, PPW_Constants::MISC_OPTIONS ) ? 'checked' : '';
?>
<tr>
<td>
<label class="pda_switch" for="<?php echo esc_attr( PPW_Constants::PROTECT_EXCERPT ); ?>">
<input type="checkbox" id="<?php echo esc_attr( PPW_Constants::PROTECT_EXCERPT ); ?>" <?php echo esc_html( $checked ); ?>/>
<span class="pda-slider round"></span>
</label>
</td>
<td>
<p>
<label><?php echo esc_html__( 'Show Post Excerpt', 'password-protect-page' ); ?></label>
<?php echo wp_kses_post( __( '<a target="_blank" href="https://passwordprotectwp.com/docs/display-featured-image-password-protected-excerpt/?utm_source=user-website&utm_medium=settings-advanced-tab&utm_campaign=ppwp-free">Display excerpt</a> of password protected posts. You can also <a target="_blank" href="https://passwordprotectwp.com/docs/display-featured-image-password-protected-excerpt/?utm_source=user-website&utm_medium=settings-advanced-tab&utm_campaign=ppwp-free#customize-default">customize the default excerpt</a> using a custom code snippet.', 'password-protect-page' ) ); ?>
</p>
</td>
</tr>