This file contains hidden or 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 hidden or 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 hidden or 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_rewrite.c> | |
RewriteEngine on | |
RewriteCond %{REMOTE_ADDR} !^1\.2\.3\.4 | |
RewriteCond %{REQUEST_URI} !/wartung.html$ [NC] | |
RewriteCond %{REQUEST_URI} !\.(jpe?g?|png|gif) [NC] | |
RewriteRule .* /wartung.html [R=302,L] | |
</IfModule> |
This file contains hidden or 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
<html><head><title>Wartung!</title></head><body>Der Welt kleinste Wartungsseite</body></html> |
This file contains hidden or 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
function auto_update_specific_plugins ( $update, $item ) { | |
// List your plugins to be updated here | |
$plugins = array ( | |
'cookie-notice', | |
'relevanssi', | |
'updraftplus', | |
'and-any-other-plugin-slugs' | |
); | |
if ( in_array( $item->slug, $plugins ) ) { | |
return true; |
This file contains hidden or 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
$quiz_display .= "<script>\n"; | |
$quiz_display .= " jQuery(document).ready(function () {\n"; | |
$quiz_display .= " jQuery('.qmn_quiz_form input').click(function () {\n"; | |
$quiz_display .= " _paq.push(['trackEvent', 'Quiz', 'Klick', jQuery(this).attr('ID') + '-' + jQuery(this).attr('value')]);\n"; | |
$quiz_display .= " });\n"; | |
$quiz_display .= " });\n"; | |
$quiz_display .= "</script>\n"; |
This file contains hidden or 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
$previous_post=get_previous_post(); | |
$next_post=get_next_post(); | |
the_post_navigation( | |
array( | |
'next_text' => '<span class="meta-nav" aria-hidden="true">Weiter</span> ' . | |
'<span class="screen-reader-text">Weiter</span> <br/>' . | |
'<span class="post-title">%title</span>' . get_the_post_thumbnail( $next_post->ID, 'thumbnail' ), | |
'prev_text' => '<span class="meta-nav" aria-hidden="true">Zurück</span> ' . | |
'<span class="screen-reader-text">Zurück</span> <br/>' . | |
'<span class="post-title">%title</span>' . get_the_post_thumbnail( $previous_post->ID, 'thumbnail' ), |
This file contains hidden or 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
the_post_navigation( | |
array( | |
'next_text' => '<span class="meta-nav" aria-hidden="true">Weiter</span> ' . | |
'<span class="screen-reader-text">Weiter</span> <br/>' . | |
'<span class="post-title">%title</span>', | |
'prev_text' => '<span class="meta-nav" aria-hidden="true">Zurück</span> ' . | |
'<span class="screen-reader-text">Zurück</span> <br/>' . | |
'<span class="post-title">%title</span>', | |
) | |
); |
This file contains hidden or 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 (is_single()) | |
{ | |
$title = htmlspecialchars( strip_tags( get_the_title( $post->ID ) ) ); | |
$description = htmlspecialchars( strip_tags( get_the_excerpt( $post->ID ) ) ); | |
$thumbnail = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ); | |
$image = $thumbnail[0]; | |
$type = 'article'; | |
} elseif (is_page()) { | |
$title = htmlspecialchars( strip_tags( get_the_title( $post->ID ) ) ); |
This file contains hidden or 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
<meta name="description" content="Auszug/Exzerpt" /> | |
<meta name="twitter:site" content="Website-Titel" /> | |
<meta name="twitter:card" content="summary_large_image" /> | |
<meta name="twitter:title" content="Webseiten-Titel" /> | |
<meta name="twitter:description" content="Auszug/Exzerpt" /> | |
<meta name="twitter:image" content="Vorschaubild" /> | |
<meta name="twitter:url" content="Permalink-URL" /> | |
<meta property="og:site_name" content="Website-Titel" /> | |
<meta property="og:title" content="Webseiten-Titel" /> | |
<meta property="og:description" content="Auszug/Exzerpt" /> |