ציטוט:
נכתב במקור על ידי kondason
PHP קוד:
<?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>מחובר כעת <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="Log out of this account">התנתק »</a></p>
<?php else : ?>
<input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" tabindex="1" class="replytext" <?php if ($req) echo "aria-required='true'"; ?> />
<label for="author"><?php _e("שם","Regal"); ?> <?php if ($req) _e("(חובה)","Regal"); ?></label> <br/>
<input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" tabindex="2" class="replytext" <?php if ($req) echo "aria-required='true'"; ?> />
<label for="email"><?php _e("דואר אלקט'","Regal"); ?> <?php if ($req) _e("(חובה)","Regal"); ?></label> <br/>
<input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" tabindex="3" class="replytext" /> <label for="url"><?php _e("אתר","Regal"); ?></label>
זה החלק עם ה url שיש בקובץ שציינת.
את מה למחוק?
|
תמחוק את ה-4 שורות האחרונות:
HTML קוד:
<br/>
<input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" tabindex="3" class="replytext" />
<label for="url"><?php _e("אתר","Regal"); ?></label>
בהצלחה!