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
.multicolumn { | |
-webkit-column-count: 2; | |
-moz-column-count: 2; | |
column-count: 2; | |
-webkit-column-gap: 2em; | |
-moz-column-gap: 2em; | |
column-gap: 2em; | |
} |
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 | |
// Shortcode für Boxen | |
function content_box1($atts, $content = null) { | |
if(!empty($content)){ | |
return do_shortcode('<div class="box1">' . $content . '</div>');} | |
return '<div class="box1">' . $content . '</div>'; | |
} | |
add_shortcode("box1", "content_box1"); |
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
<link rel="apple-touch-icon-precomposed" href="http://domain.de/apple-touch-icon.png" /> |
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 | |
// Shortcodes für 2 Spalten | |
// Linke Spalte | |
function basic_leftcolumn($atts, $content = null) { | |
if(!empty($content)){ | |
return do_shortcode('<div class="leftcolumn">' . $content . '</div>');} | |
return '<div class="leftcolumn">' . $content . '</div>'; | |
} |
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 href="http://www.facebook.com/sharer.php?u=<?php echo urlencode(get_permalink($post->ID)); ?>&t=<?php echo rawurlencode(get_the_title()); ?>" target="_blank">Artikel bei Facebook posten</a> |
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 ( preg_match( '~\.(jpe?g|png|gif|svg|bmp)(\?.*)?$~i', $_SERVER['REQUEST_URI'] ) ) | |
{ | |
header( 'Content-Type: image/png' ); | |
locate_template( 'images/404.png', TRUE, TRUE ); | |
exit; | |
} | |
?> |
OlderNewer