< ?php
/*
Filename: comments.php
Date: 06-06-25
Copyright: 2008, Frazier Media
Author: Christopher Frazier (cfrazier@fraziermedia.com)
Description: Multi-Author Template for WordPress (Subtle)
Requires:
*/
$aOptions = get_option('gi_subtle_theme');
load_theme_textdomain('gluedideas_subtle');
// Do not delete these lines
if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) { die ('Please do not load this page directly. Thanks!'); }
if (!empty($post->post_password)) { // if there’s a password
if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn’t match the cookie
echo(’
‘);
return;
}
}
$iCommentCount = hier einsetzen;
?>
Ich brauche nochmals eure Hilfe. Ich muss im Code oben bei hier einsetzen die gesammtzahl der vorhanden Kommentare übergeben. Dies habe ich mit Hilfe von < ?php comments_number('', '', '', ' '); ?>
versucht, aber es hat nicht geklappt. ich glaube ich muss die ausgegebene Zahl von < ?php comments_number('', '', '', ' '); ?>
in eine Integerzahl umwandeln, habe aber keine Ahnung wie…