This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#iubenda_policy { | |
font-family: 'Noticia Text',serif!important; | |
font-size: 19px!important; | |
font-size: 1.1875rem!important; | |
font-weight: normal!important; | |
line-height: 1.6!important; | |
color: #1a1a1a!important; | |
-webkit-font-smoothing: antialiased!important; | |
-moz-osx-font-smoothing: grayscale!important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Add the code below to functions.php of your child theme or your custom functionality plugin – without the php tag above – and remove this line */ | |
/* Moving the CoBlocks menu item under the 'Settings' menu */ | |
/* @link: https://codex.wordpress.org/Function_Reference/remove_menu_page */ | |
/* @link: https://gist.github.com/voneff/d0a1bf5a77b3f45b7bdeaa52996fa623 */ | |
function voneff_move_coblocks_settings() { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*-----------------------------------------------------------------------------------*/ | |
/* CSS modification for iubenda Privacy Policy | |
/*-----------------------------------------------------------------------------------*/ | |
#iubenda_policy { | |
font-family: 'SupriaSans',Helvetica,Arial,FreeSans,sans-serif!important; | |
} | |
#iubenda_policy h1 { | |
display: none!important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Allow upload of SVG files */ | |
/* Source: https://blog.kulturbanause.de/2013/05/svg-dateien-in-die-wordpress-mediathek-hochladen/ */ | |
function voneff_svg ( $svg_mime ){ | |
$svg_mime['svg'] = 'image/svg+xml'; | |
return $svg_mime; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN Redirect to HTTPS and set HSTS | |
# | |
# Sources: | |
# https://stackoverflow.com/questions/40154500/hsts-301s-http-www-to-https-canonical-htaccess | |
# | |
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^www\.(.+) [NC] | |
RewriteRule ^ https://%1%{REQUEST_URI} [NE,L,R=301] | |
RewriteCond %{HTTPS} off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Diese Website nutzt <a href="http://wordpress.org/extend/plugins/wp-slimstat">WP-SlimStat</a>, einen Webanalysedienst. WP-SlimStats verwendet sogenannte “Cookies”, Textdateien, die auf Ihrem Computer gespeichert werden und die eine Analyse der Benutzung der Website durch Sie ermöglicht. Die IP-Adresse wird hierbei gekürzt, d.h. es werden Teile der IP-Adresse entfernt um eine eindeutige Zuordnung zu unterbinden. Wir benutzen diese Informationen, um die Nutzung unserer Webseites auszuwerten. Diese Informationen werden nicht an Dritte weitergegeben. Sie können die Installation der Cookies durch entsprechende Einstellung in Ihrer Browser-Software verhindern. Weitere Informationen erhalten Sie in den Datenschutzerklärungen von WP-SlimStat: <a href="https://www.wp-slimstat.com/terms-and-conditions/">wp-slimstat.com/terms-and-conditions/</a>; Opt-Out: <a href="https://textsalon.de/?slimstat-opt-out=true">textsalon.de/?slimstat-opt-out=true</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Remove IP collection in WordPress comments | |
* Source: http://www.wpbeginner.com/wp-tutorials/how-to-stop-storing-ip-address-in-wordpress-comments/ | |
*/ | |
function wpb_remove_commentsip( $comment_author_ip ) { | |
return ''; | |
} | |
add_filter( 'pre_comment_user_ip', 'wpb_remove_commentsip' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Disable WordPress emojis | |
* Source: https://kinsta.com/knowledgebase/disable-emojis-wordpress/#disable-emojis-code | |
*/ | |
function disable_emojis() { | |
remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); | |
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); | |
remove_action( 'wp_print_styles', 'print_emoji_styles' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Add this into your own custom functionality plugin or the functions.php of your child theme */ | |
<?php | |
function voneff_move_iubenda_menu_item(){ | |
/* removing the top level menu item */ | |
remove_menu_page( 'iubenda-cookie-law-solution' ); | |
/* adding menu item under Settings */ |
NewerOlder