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 | |
function the_breadcrumb() { | |
echo '<ul id="crumbs">'; | |
if (!is_home()) { | |
echo '<li><a href="'; | |
echo get_option('home'); | |
echo '">'; | |
echo 'Home'; | |
echo "</a></li>"; |
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 | |
// force one-column dashboard | |
function shapeSpace_screen_layout_columns($columns) { | |
$columns['dashboard'] = 1; | |
return $columns; | |
} | |
add_filter('screen_layout_columns', 'shapeSpace_screen_layout_columns'); | |
function shapeSpace_screen_layout_dashboard() { return 1; } |
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 | |
/* | |
Module Name: Einspaltiges Dasboard | |
Description: Erstellt die Möglichkeit eines einspaltigen WP-Dashboards [Backend] | |
Author: Andreas Hecht | |
Author URI: http://hechtmediaarts.com | |
*/ | |
/* Sicherheitsabfrage */ | |
if ( !class_exists('Toolbox') ) { |
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 | |
function tweetlink($content) { | |
$tweetlink = preg_replace('/([^a-zA-Z0-9-_&])@([0-9a-zA-Z_]+)/',"$1<a href=\"http://twitter.com/$2\" target=\"_blank\" rel=\"nofollow\">@$2</a>",$content); | |
return $tweetlink; | |
} | |
// The content | |
add_filter('the_content', 'tweetlink'); |
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 wp-config.php> | |
order allow,deny | |
deny from all | |
</files> |
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 | |
/** | |
* Standardangaben, die sich bereits in der wp-config.php befinden, | |
* werden nicht berücksichtigt. Nur die zusätzlichen Möglichkeiten. | |
* | |
*/ | |
/** | |
* Automatische Updates abschalten |
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 | |
/** | |
* Manage WordPress contact fields. | |
* Usage: | |
* require './class.TTT_Contactfields.php'; | |
* | |
* $TTT_Contactfields = new TTT_Contactfields( | |
* array ( | |
* 'Twitter' | |
* , 'Facebook' |
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 | |
/* | |
* Weil wir oben bereits the_post() genutzt haben, müssen wir die Loop neu starten mit rewind_posts(), | |
* damit wir alle Beiträge durch die neue Loop einfangen können. | |
* | |
*/ | |
rewind_posts(); | |
// Start the Loop. | |
while ( have_posts() ) : the_post(); |
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 | |
/** | |
* Die Biobox für jeden Autor der Website | |
* | |
*/ | |
?> | |
<div class="author-info"> | |
<?php echo get_avatar( get_the_author_meta('email'), '60' ); ?> | |
<div class="author-description"> | |
<h3><?php echo _e('Autor: ', 'revothemes'); |
OlderNewer