Ich nutze unter WordPress das Theme YOKO.
Ich habe die Kommentarfunktion deaktiviert.
Links neben allen Artikeln steht jetzt der Hinweis: "Kommentare deaktiviert".
Das hätte ich gerne weg.
In der comments.php finde ich folgenden Code:
PHP
<?php if ( comments_open() ) : // If comments are open, but there are no comments ?>
<?php else : // or, if we don't have comments:
/* If there are no comments and comments are closed,
* let's leave a little note, shall we?
* But only on posts! We don't want the note on pages.
*/
if ( ! comments_open() && ! is_page() ) :
?>
<p class="nocomments"><?php _e( 'Comments are closed.', 'yoko' ); ?></p>
<?php endif; // end ! comments_open() && ! is_page() ?>
<?php endif; ?>
Alles anzeigen
Ich weiß nicht genau, wo ich ansetzen muss. Kann jemand helfen?