Danke schonmal für Deine Geduld. Also ich hab mir den Proton besorgt (cooles Tool übrigens) und habe die Dateien durchforstet. Allerdings verstehe ich dort nur Bahnhof mit meinem Halbwissen. Folgend mal der Code. Vielleicht kannst Du mir ja sagen, wo ich was ändern muss.
PHP
function the_excerpt() {
echo apply_filters('the_excerpt', get_the_excerpt());
}
function get_the_excerpt($deprecated = '') {
global $post;
$output = '';
$output = $post->post_excerpt;
if ( !empty($post->post_password) ) { // if there's a password
if ( !isset($_COOKIE['wp-postpass_'.COOKIEHASH]) || $_COOKIE['wp-postpass_'.COOKIEHASH] != $post->post_password ) { // and it doesn't match the cookie
$output = __('There is no excerpt because this is a protected post.');
return $output;
}
}
return apply_filters('get_the_excerpt', $output);
}
function has_excerpt( $id = 0 ) {
$post = &get_post( $id );
return ( !empty( $post->post_excerpt ) );
}
Alles anzeigen