Alles wunderbar! Danke für eure Hilfe!
Beiträge von cheeky
-
-
-
Hab das Theme noch auf dem PC, danke. Muss ja theoretisch nur die Datei auswechseln.
-
Welches Theme? Am Besten die Datei neu aufspielen
Design von Jim Barraud namens Manifest.
-
Hallo,
ich hab auf meinem Blog die Kommentarfunktion beim Übersetzen zerschossen:
Fehler:
PHPParse error: syntax error, unexpected T_STRING in /users/cheekylous/www/wp-content/themes/manifest_v1.1/comments.php on line 56comments.php:
PHP
Alles anzeigen<?php // Do not delete these lines if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Please do not load this page directly. Thanks!'); if ( post_password_required() ) { ?> <p class="nocomments">This post is password protected. Enter the password to view comments.</p> <?php return; } ?> <!-- You can start editing here. --> <div id="comments"> <?php if ( have_comments() ) : ?> <h3 id="comments"><?php comments_number('Keine Kommentare', '1 Kommentar', '% Kommentare' );?> zu dem Thema “<?php the_title(); ?>”</h3> <div class="navigation"> <div class="alignleft"><?php previous_comments_link() ?></div> <div class="alignright"><?php next_comments_link() ?></div> </div> <ol class="commentlist"> <?php wp_list_comments('avatar_size=48'); ?> </ol> <div class="navigation"> <div class="alignleft"><?php previous_comments_link() ?></div> <div class="alignright"><?php next_comments_link() ?></div> </div> <?php else : // this is displayed if there are no comments so far ?> <?php if ( comments_open() ) : ?> <!-- If comments are open, but there are no comments. --> <?php else : // comments are closed ?> <!-- If comments are closed. --> <?php endif; ?> <?php endif; ?> <?php if ( comments_open() ) : ?> <div id="respond"> <?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?> <p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_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"> <div class="leaveComment"> <fieldset> <legend><span><?php comment_form_title('Hinterlasse einen Kommentar,'Hnterlasse einen Kommentar zu %s'); ?></span></legend> <div class="commentForm"> <?php if ( is_user_logged_in() ) : ?> <p class="loggedin">Eingeloggt 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="Log out of this account">Logout »</a></p> <label>Kommentar: <textarea name="comment" id="comment" cols="50" rows="20" class="loggedIn"></textarea></label> <?php endif; ?> <?php if ( !is_user_logged_in() ) : ?> <div class="commentAuthorInfo"> <label>Name: <em>Required</em> <input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" /></label> <label>Email: <em>wird benötigt, aber nicht veröffentlicht</em> <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" /></label> <label>Website: <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" /></label> </div> <label>Kommentar: <textarea name="comment" id="comment" cols="50" rows="20"></textarea></label> <?php endif; ?> <div id="cancel-comment-reply"> <small><?php cancel_comment_reply_link('Abbrechen') ?></small> </div> <input type="submit" value="Post Comment" /> <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> </div> </fieldset> </div> <?php comment_id_fields(); ?> <?php do_action('comment_form', $post->ID); ?> </form> </div> <?php endif; // If registration required and not logged in ?> <?php endif; // if you delete this the sky will fall on your head ?> </div>Wäre super, wenn ihr mir helfen könnet. :-D