Zitatgeändert von jottlieb (Heute um 20:42 Uhr).
Danke für die leserfreundliche Änderung. Die 'PHP-Code-einfügen-Funktion' des Foreneditors kannte ich noch nicht. Werde sie zukünftig benutzen.
Grüße, HJ
Um schreiben oder kommentieren zu können, benötigen Sie ein Benutzerkonto.
Sie haben schon ein Benutzerkonto? Melden Sie sich hier an.
Jetzt anmeldenHier können Sie ein neues Benutzerkonto erstellen.
Neues Benutzerkonto erstellen Zitatgeändert von jottlieb (Heute um 20:42 Uhr).
Danke für die leserfreundliche Änderung. Die 'PHP-Code-einfügen-Funktion' des Foreneditors kannte ich noch nicht. Werde sie zukünftig benutzen.
Grüße, HJ
ausser der vorschlag in der index.php (wie du sagst, unter jedem beitrag) hab ich nix mehr, hast du mal nen link? ich würd die index.php (deines themes) noch mal durchsuchen.
dort müsste so etwas stehen (der inhalt der klammern kann variieren):
<?php comments_popup_link(__('No Comments'), __('1 Comment'), __('% Comments'), '', __('Comments off')); ?>
Hallo edenhuizen,
In Google fand ich, dass schon mal jemand bei der englischsprachigen Version exakt das gleiche 'Problemchen' angesprochen hatte. Eine Lösung wurde dort aber leider nicht aufgezeigt.
Bei mir steht folgender Code drin:
</div>
<p class="postmetadata">Kategorie <?php the_category(', ') ?> <strong>|</strong> <?php comments_popup_link('0 Kommentare »', '1 Kommentar »', '% Kommentare »'); ?> <?php edit_post_link('Bearbeiten','<strong>|</strong> ',''); ?> </p>
</div>
Ich poste mal einen Screenshot.
Grüße, HJ
Hallo Syntronica,
wenn Du mir mitteilst, wo der betr. Code in einer 'WP Eigeninstallation' steckt, fände ich das hilfreich.
Grüße, HJ
Edenhuizen - Danke nochmal!
Sorry, das Zeichen hatte ich absichtlich eingefügt. (Hätte ich dazusagen sollen) Es ersetzt schon einen einen anderen Kommentar Text ganz unten am Ende der Seite und das funktioniert so wie ich es möchte.
Das 'Comments Off' (ganz genau in dieser Schreibweise) das direkt unter jedem Beitrag im o.g. Kontext erscheint, muss m.E. woanders versteckt sein.
Grüße. HJ
normalerweise ist der text in der "comments.php" zu finden.
Merci edenhuizen: Hier meine comments PHP-Datei (finde nichts passendes):
<?php // Do not delete these lines
if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Bitte diese Seite nicht direkt aufrufen. Danke!');
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
?>
<p class="nocomments">Auch die Kommentare sind durch das Passwort geschützt.</p>
<?php
return;
}
}
/* This variable is for alternating comment background */
$oddcomment = 'class="alt" ';
?>
<!-- You can start editing here. -->
<?php if ($comments) : ?>
<h3 id="comments"><?php comments_number('Keine Reaktion', 'Eine Reaktion', '% Reaktionen' );?> zu “<?php the_title(); ?>”</h3>
<ol class="commentlist">
<?php foreach ($comments as $comment) : ?>
<li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>">
<cite><?php comment_author_link() ?></cite>
<?php if ($comment->comment_approved == '0') : ?>
<br /><br /><strong>Achtung: Der Kommentar muß erst noch freigegeben werden.</strong>
<?php endif; ?>
<br />
<small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title="#comment-<?php comment_ID() ?>">Am <?php comment_date('j. F Y') ?> um <?php comment_time('H:i') ?> Uhr</a> <?php edit_comment_link('Bearbeiten','<strong>|</strong>',''); ?></small>
<?php comment_text() ?>
</li>
<?php
/* Changes every other comment to a different class */
$oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : '';
?>
<?php endforeach; /* end for each comment */ ?>
</ol>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ('open' == $post->comment_status) : ?>
<!-- If comments are open, but there are no comments. -->
<?php else : // comments are closed ?>
<!-- If comments are closed. -->
<p class="nocomments">÷</p>
<?php endif; ?>
<?php endif; ?>
<?php if ('open' == $post->comment_status) : ?>
<h3 id="respond">Einen Kommentar schreiben</h3>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p>Sie muessen <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">angemeldet</a> sein, um kommentieren zu koennen.</p>
<?php else : ?>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<?php if ( $user_ID ) : ?>
<p>Angemeldet als: <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="von diesem Account abmelden">Abmelden »</a></p>
<?php else : ?>
<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
<label for="author"><small>Name <?php if ($req) echo "(erforderlich)"; ?></small></label></p>
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
<label for="email"><small>eMail <?php if ($req) echo "(erforderlich)"; ?> (wird nicht veröffentlicht)</small></label></p>
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
<label for="url"><small>Webseite</small></label></p>
<?php endif; ?>
<!--<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>-->
<p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>
<p><input name="submit" type="submit" id="submit" tabindex="5" value="senden" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
</p>
<?php do_action('comment_form', $post->ID); ?>
</form>
<?php endif; // If registration required and not logged in ?>
<?php endif; // if you delete this the sky will fall on your head ?>
Alles anzeigen
Jottlieb,
es handelt sich nicht um das STRATO Weblog Basic sondern um eine normale Installation mit Datenbank. Sieht ansonsten wie ein vollwertiges WP aus und ich konnte ja auch schon vieles im Detail ändern. (Ich weiß momentan nur die ganz genaue Versionsnummer nicht)
Mir reicht also wahrscheinlich ein konkreter Hinweis in welche Datei ich eingreifen muss um die 'Erzeugung' von 'Comments Off' zu verhüten.
Grüße, HJ
Moin!
Bin Wordpress-Newbie und gerade dabei, mein erstes Weblog damit zum laufen zu bringen.
Bin mir über viele Dinge unsicher, weiß z.B. noch nicht mal ganz genau welche Version ich installiert habe. (Es ist die aktuelle Standardinstallation die man bei Strato 'Weblog 2.0' nennt).
Als Template verwende ich:"WordPress Standard DE-Edition 1.6 by Michael Heilemann" d.h. 'Kubrick' mit kleineren Anpassungen, die mir auch schon fehlerfrei gelangen. Ich nehme mal an dass dieses Template relativ gut getestet ist und auch in vielen Browsern einigermaßen einheitlich rüberkommt.
Jetzt geht es um den Feinschliff des Erscheinungsbildes. Ich möchte (vorläufig) keine Kommentare zulassen. Daher stört mich die Zeile, die automatisch unter jedem Beitrag ausgegeben wird.
Da steht z.B.: 'Kategorie Allgemein | Comments Off'
Wie kann ich den Ausdruck 'Comments Off' wegbekommen?
Es ist auch die letzte Text-Ausgabe, die noch in English erscheint.
Ich habe vermeintlich alle Dateien in meinem blog verzeichnis auf dem Server abgescreent ohne den String 'Comments Off' irgendwo zu entdecken
Grüße + Dank, HJ