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
<script type="text/javascript"> | |
verschleierteemailadresse('info', 'wordpress-handbuch', 'com', 'Betreffzeile'); | |
function verschleierteemailadresse(eins,zwei,drei,vier) { | |
document.write('<a href="mailto'); | |
document.write(':' + eins + '@'); | |
document.write(zwei + '.' + drei + '?subject=' + vier + '">' + eins + '@' + zwei + '.' + drei + '</a>'); | |
} | |
</script> |
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
<a data-name="info" data-domain="wordpress-handbuch" data-tld="com" data-subject="Betreffzeile" href="#" class="verschleierteemailadresse" onclick="window.location.href = 'mailto:' + this.dataset.name + '@' + this.dataset.domain + '.' + this.dataset.tld + '?subject=' + this.dataset.subject"></a> | |
<style> | |
.verschleierteemailadresse:after { | |
content: attr(data-name) "@" attr(data-domain) "." attr(data-tld); | |
} | |
</style> |
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
RewriteEngine On | |
RewriteCond %{HTTPS} !=on | |
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] |
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
<IfModule mod_deflate.c> | |
AddOutputFilterByType DEFLATE text/css | |
AddOutputFilterByType DEFLATE text/javascript | |
AddOutputFilterByType DEFLATE text/plain | |
AddOutputFilterByType DEFLATE text/xml | |
AddOutputFilterByType DEFLATE application/atom_xml | |
AddOutputFilterByType DEFLATE application/javascript | |
AddOutputFilterByType DEFLATE application/rss+xml | |
AddOutputFilterByType DEFLATE application/xml | |
AddOutputFilterByType DEFLATE application/xhtml+xml |
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 | |
if (!defined('W3TC_DYNAMIC_SECURITY')) { | |
define('W3TC_DYNAMIC_SECURITY', 'geheimesgeheimnis'); | |
} | |
?> | |
<!--mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> echo 'Gecachter Inhalt: ' . date("Y-m-d", time()); --> | |
<?php echo 'Live-Inhalt: ' . date("Y-m-d", time()); ?> | |
<!--/mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> --> |
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 | |
global $wp; | |
$urlquery = $wp->request; | |
$urlquery = preg_replace("/(\.*)(html|htm|php)$/","",$urlquery); | |
$parts = explode('/', $urlquery); | |
$keyword = end($parts); | |
echo 'Mal sehen, ob es zum Thema "' . $keyword . '" Blogbeiträge gibt...'; | |
$query = new WP_Query( array( 's' => $keyword ) ); |
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 | |
if ( function_exists('yoast_breadcrumb') ) { | |
yoast_breadcrumb( '<p id="breadcrumbs">','</p>' ); | |
} | |
?> |
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
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
php wp-cli.phar --info | |
php wp-cli.phar core verify-checksums | |
php wp-cli.phar plugin verify-checksums --all |
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_filter( 'xmlrpc_enabled', '__return_false' ); | |
remove_action('wp_head', 'rsd_link'); |
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
<Files xmlrpc.php> | |
order allow,deny | |
deny from all | |
</Files> |