Add helper modal for consent banner

This commit is contained in:
Tetrakern 2024-08-31 16:11:26 +02:00
parent ab15142bfa
commit 77463309cf
2 changed files with 3 additions and 2 deletions

View File

@ -1230,7 +1230,8 @@ $images = get_template_directory_uri() . '/img/documentation/';
fictioneer_settings_label_checkbox(
'fictioneer_cookie_banner',
__( 'Enable cookie banner and consent function', 'fictioneer' ),
__( 'Shows a generic cookie consent banner and activates the <code>fictioneer_get_consent()</code> theme function that returns either false, "necessary", or "full".', 'fictioneer' )
__( 'Shows a generic cookie consent banner and activates the <code>fictioneer_get_consent()</code> theme function.', 'fictioneer' ),
__( 'Cookie banners are often necessary to comply with data privacy laws and meet visitor expectations. It is better to be safe than sorry, even if the theme does not require one in its base configuration. Enabling this also activates the <code>fictioneer_get_consent()</code> function, which returns either <code>false</code>, <code>"necessary"</code>, or <code>"full"</code>.', 'fictioneer' )
);
?>
</div>

View File

@ -124,7 +124,7 @@
fictioneer_settings_setup_card(
'fictioneer_cookie_banner',
__( 'Enable cookie banner?', 'fictioneer' ),
__( 'Cookie banners are often necessary to comply with data privacy laws and meet visitor expectations; it is better to be safe than sorry, even if the theme does not require one in its base configuration. Developers can also use the <code>fictioneer_get_consent()</code> function to comply with regulations.', 'fictioneer' )
__( 'Cookie banners are often necessary to comply with data privacy laws and meet visitor expectations. It is better to be safe than sorry, even if the theme does not require one in its base configuration. Enabling this also activates the <code>fictioneer_get_consent()</code> function, which returns either <code>false</code>, <code>"necessary"</code>, or <code>"full"</code>.', 'fictioneer' )
);
fictioneer_settings_setup_card(