Respuesta a: No se puede comentar en mi blog :S
Inicio › Foros › WordPress › Instalación / Actualización › No se puede comentar en mi blog :S › Respuesta a: No se puede comentar en mi blog :S
curioso, despues de ver el codigo puesto en mi anterior respuesta he abierto el archivo con el notepad, y por si acaso con el Notepad++. y se ve diferente a pesar de q lo que he puesto aqui es un copypaste tal cual.
lo q sale diferente en mi archivo que aqui es la linea:
< small >” title=”” >< ?php comment_date(‘F jS, Y’) ? > at < ?php comment_time() ? > < ?php edit_comment_link(‘edit’,’ ‘,”); ? >< /small >
q en mi archivo es así:
<small>” title=””><?php comment_date(‘F jS, Y’) ?> at <?php comment_time() ?> <?php edit_comment_link(‘edit’,’ ‘,”); ?></small>
No sé si habra mas diferncias, lo pego de nuevo por si acaso, a ver si esta vez lo ve bien.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | <?php // Do not delete these lines<br /> if (‘comments.php’ == basename($_SERVER[‘SCRIPT_FILENAME’]))<br /> die (‘Please do not load this page directly. Thanks!’);</p> <p> if (!empty($post->post_password)) { // if there’s a password<br /> if ($_COOKIE[‘wp-postpass_’ . COOKIEHASH] != $post->post_password) { // and it doesn’t match the cookie<br /> ?></p> <p> <p>This post is password protected. Enter the password to view comments.</p></p> <p> <?php<br /> return;<br /> }<br /> }</p> <p>?></p> <p><!– You can start editing here. –></p> <p><?php if ($comments) : ?><br /> <h3 id=”comments”><?php comments_number(‘No Responses’, ‘One Response’, ‘% Responses’ );?> to “<?php the_title(); ?>”</h3></p> <ol> <p> <?php foreach ($comments as $comment) : ?></p> <p> <li id=”comment-<?php comment_ID() ?>”><br /> <cite><?php comment_author_link() ?></cite> Says:<br /> <?php if ($comment->comment_approved == ‘0’) : ?><br /> <em>Your comment is awaiting moderation.</em><br /> <?php endif; ?> </p> <p> <small><a>” title=””><?php comment_date(‘F jS, Y’) ?> at <?php comment_time() ?></a> <?php edit_comment_link(‘edit’,’ ‘,”); ?></small></p> <p> <?php comment_text() ?></p> <p> <?php endforeach; /* end for each comment */ ?></p> </ol> <p> <?php else : // this is displayed if there are no comments so far ?></p> <p> <?php if (‘open’ == $post->comment_status) : ?><br /> <!– If comments are open, but there are no comments. –></p> <p> <?php else : // comments are closed ?><br /> <!– If comments are closed. –><br /> <p>Comments are closed.</p></p> <p> <?php endif; ?><br /> <?php endif; ?></p> <p><?php if (‘open’ == $post->comment_status) : ?></p> <p><h3 id=”respond”>Leave a Reply</h3></p> <p><?php if ( get_option(‘comment_registration’) && !$user_ID ) : ?><br /> <p>You must be <a>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>”>logged in</a> to post a comment.</p><br /> <?php else : ?></p> <p><form action=”<?php echo get_option(‘siteurl’); ?>/wp-comments-post.php” method=”post” id=”commentform”></p> <p><?php if ( $user_ID ) : ?></p> <p><p>Logged in as <a>/wp-admin/profile.php”><?php echo $user_identity; ?></a>. <a>/wp-login.php?action=logout” title=”Log out of this account”>Logout »</a></p></p> <p><?php else : ?></p> <p><label for=”author”>Name <?php if ($req) echo “(required)”; ?></label><br /> <input type=”text” name=”author” id=”author” value=”<?php echo $comment_author; ?>” size=”22″ tabindex=”1″ /></p> <p><label for=”email”>Mail (will not be published) <?php if ($req) echo “(required)”; ?></label><br /> <input type=”text” name=”email” id=”email” value=”<?php echo $comment_author_email; ?>” size=”22″ tabindex=”2″ /></p> <p><label for=”url”>Website</label><br /> <input type=”text” name=”url” id=”url” value=”<?php echo $comment_author_url; ?>” size=”22″ tabindex=”3″ /></p> <p><?php endif; ?></p> <p><!–<p><small><strong>XHTML:</strong> You can use these tags: <code><?php echo allowed_tags(); ?></code></small></p>–></p> <p><label for=”comments”>Comments</label><br /> <textarea name=”comment” id=”comment” cols=”50%” rows=”10″ tabindex=”4″></textarea></p> <p><p><input name=”submit” type=”submit” id=”submit” tabindex=”5″ value=”Submit Comment” /><br /> <input type=”hidden” name=”comment_post_ID” value=”<?php echo $id; ?>” /><br /> </p><br /> <?php do_action(‘comment_form’, $post->ID); ?></p> <p></form></p> <p><?php endif; // If registration required and not logged in ?></p> <p><?php endif; // if you delete this the sky will fall on your head ?> |