Hallo.
Auf unserem Blog klappt die Kommentarfunktion nicht und wir haben keine Idee woran das liegen könnte.
Hat jemand eine spontane Eingebung woran das liegen könnte?
Der Blog ist unter http://webcode-blog.org zu finden.
Viele Grüße!
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 erstellenHallo.
Auf unserem Blog klappt die Kommentarfunktion nicht und wir haben keine Idee woran das liegen könnte.
Hat jemand eine spontane Eingebung woran das liegen könnte?
Der Blog ist unter http://webcode-blog.org zu finden.
Viele Grüße!
Hallo!
Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.
Hallo.
Auf unserem Blog klappt die Kommentarfunktion nicht und wir haben keine Idee woran das liegen könnte.
Hat jemand eine spontane Eingebung woran das liegen könnte?
Der Blog ist unter http://webcode-blog.org zu finden.Viele Grüße!
Hey,
da gibt es sicherlich viele Fehlerpunkte, die wir abarbeiten müssen.
Also das abschicken geht denke ich! Nur das anzeigen nicht oder?
hast du in der comments.php eine schleife zur Ausgabe?
<?php foreach ($comments as $comment) : ?>
<?php comment_author_link() ?>
<?php comment_date('j. F Y') ?>
<?php comment_time('H:i') ?>
<?php comment_text() ?>
<?php if ($comment->comment_approved == '0') : ?>
Achtung: Dein Kommentar muss erst noch freigegeben werden.</strong><br />
<?php endif; ?>
<?php endforeach; ?>
Danke für die schnelle Antwort!
Die Kommentare landen nicht mal in der Datenbank:sad:
Ich hab grade mal wieder in die Emails geguckt und sehe tausende Wordpress-emails:
ZitatNew comment on your post "Überblenden mit JavaScript"
Author : (IP: , )
E-mail :
URL :
Whois : http://whois.arin.net/rest/ip/
Comment:
wie sieht denn deine comments.php aus?
Die Comments.php lautet:
<?php
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Please do not load this page directly. Thanks!');
if ( post_password_required() ) { ?>
<h2>This post is password protected. Enter the password to view comments.</h2>
<?php
return;
}
?>
<h2 id="comments"><?php comments_number('Keine Kommentare', '1 Kommentar', '% Kommentare' );?></h2>
<?php if ( have_comments() ) : ?>
<div class="navigation">
<div class="next-posts"><?php previous_comments_link() ?></div>
<div class="prev-posts"><?php next_comments_link() ?></div>
</div>
<ol class="commentlist">
<?php wp_list_comments('reply_text=Antworten'); ?>
</ol>
<div class="navigation">
<div class="next-posts"><?php previous_comments_link() ?></div>
<div class="prev-posts"><?php next_comments_link() ?></div>
</div>
<?php else : // this is displayed if there are no comments so far ?>
<?php if ( comments_open() ) : ?>
<!-- Es gibt noch keine Kommentare -->
<?php else : // comments are closed ?>
<p>Kommentare nicht zugelassen.</p>
<?php endif; ?>
<?php endif; ?>
<?php if ( comments_open() ) : ?>
<div id="respond">
<h2><?php comment_form_title( 'Kommentar hinzufügen', 'Kommentar hinzufügen zu %s' ); ?></h2>
<div class="cancel-comment-reply">
<?php cancel_comment_reply_link(); ?>
</div>
<?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?>
<p>You must be <a href="<?php echo wp_login_url( get_permalink() ); ?>">logged in</a> to post a comment.</p>
<?php else : ?>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<?php if ( is_user_logged_in() ) : ?>
<p>Angemeldet als <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>| <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Abmelden">Abmelden</a></p>
<?php else : ?>
<div>
<input type="text" name="author" id="author" value="<?php echo esc_attr($comment_author); ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> />
<label for="author">Name <?php if ($req) echo "(notwendig)"; ?></label>
</div>
<div>
<input type="text" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> />
<label for="email">Mail (wird nicht veröffentlicht) <?php if ($req) echo "(notwendig)"; ?></label>
</div>
<div>
<input type="text" name="url" id="url" value="<?php echo esc_attr($comment_author_url); ?>" size="22" tabindex="3" />
<label for="url">Website</label>
</div>
<?php endif; ?>
<div>
<textarea name="comment" id="comment" cols="58" rows="10" tabindex="4"></textarea>
</div>
<div>
<input name="submit" type="submit" id="submit" tabindex="5" value="Kommentar absenden" />
<?php comment_id_fields(); ?>
<?php do_action('comment_form', $post->ID); ?>
</div>
</form>
<?php endif; // If registration required and not logged in ?>
</div>
<?php endif; ?>
Alles anzeigen
Sieht auf den ersten Blick gut aus.
Kannst du mal mit Standard-Permalink Struktur testen?
Und auch bitte unbedingt mal mit einem anderen Theme testen.
Achso, vielleicht macht auch ein Plugin den Ärger, bitte auch mal ALLE deaktivieren.
Hat alles nicht geklappt :(
Hat keiner mehr eine Ahnung?
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!