• 27-02-2013, 01:37:20
    #1
    Bloğumdan yorum yaparken ad soyad ve email kısmını kaldırmak istiyorum kayıt olmayan herkesin adı ziyaretçi olarak yazsın, nasıl yapabilirim ?
  • 27-02-2013, 01:41:41
    #2
    Temanızın comment.php dosyasından istediğiniz label ve input alanlarını silebilirsiniz.
  • 27-02-2013, 01:56:17
    #3
    ahmetlutfu adlı üyeden alıntı: mesajı görüntüle
    Temanızın comment.php dosyasından istediğiniz label ve input alanlarını silebilirsiniz.
    dediğiniz dosyada o kodlar bulunmamakta
  • 27-02-2013, 07:55:00
    #4
    Temanın comments.php kodlarını buraya yazabilir misiniz?
  • 27-02-2013, 13:15:18
    #5
    ahmetlutfu adlı üyeden alıntı: mesajı görüntüle
    Temanın comments.php kodlarını buraya yazabilir misiniz?
    <?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. -->
    <?php if ( have_comments() ) : ?>
    	<div id="comments">
    		<div class="total-comments"><?php _e('# Yorumlar', '' );?></div>
    		<ol class="commentlist">
    			<div class="navigation">
    				<div class="alignleft"><?php previous_comments_link() ?></div>
    				<div class="alignright"><?php next_comments_link() ?></div>
    			</div>
    			<?php wp_list_comments('type=comment&callback=mytheme_comment'); ?>
    			<div class="navigation">
    				<div class="alignleft"><?php previous_comments_link() ?></div>
    				<div class="alignright"><?php next_comments_link() ?></div>
    			</div>
    		</ol>
    	</div>
    <?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) : ?>
    	<div id="respond" class="box m-t-6">
    		<?php comment_form(); ?>
    	</div>
    <?php endif; // if you delete this the sky will fall on your head ?>
  • 27-02-2013, 13:19:33
    #6
    Şu kodu bulun:
    <?php comment_form();?>

    Şununla değişin:
    <?php 
    $comments_args = array(
    	'comment_field' => '<p class="comment-form-comment"><label for="comment">Yorumunuz:</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',
    	'fields' => apply_filters( 'comment_form_default_fields', array('url' => '<p class="comment-form-url"><label for="url">Website:</label><input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>'
    )));
    
    comment_form($comments_args);
    ?>
  • 25-03-2016, 20:23:58
    #7
    Merhaba, çok eski bir yazı ama benim öğrenmek istediğim yorum bölümüne sadece ad ve yorum bölümü olsun istiyorum, diğer alanları sildiğim zaman yorum yaptığımda hata alıyorum. gerekli alanlar doldurulmamıştır diye bunu nasıl düzeltebiliriz.
  • 25-03-2016, 21:03:00
    #8
    Üyeliği durduruldu
    Valuesini Sabit bi deger atayıp hidden yaparsan sıkıntın kalmaz

    M5 üzerinden gönderildi.