birde böyle deneyin bakalım

Arcade adlı üyeden alıntı: mesajı görüntüle
single.php

<?php get_header(); ?>

<?php get_template_part('sections/cover-area'); ?>

<?php get_template_part( 'sections/ads/below-header' ); ?>

<?php if ( function_exists('yoast_breadcrumb') ) : ?>
	<?php yoast_breadcrumb('<div id="mks-breadcrumbs" class="container mks-bredcrumbs-container"><p id="breadcrumbs">','</p></div>'); ?>
<?php endif; ?>

<div id="content" class="container site-content">

	<?php global $vce_sidebar_opts; ?>
	<?php if ( $vce_sidebar_opts['use_sidebar'] == 'left' ) { get_sidebar(); } ?>
		
	<div id="primary" class="vce-main-content">

		<main id="main" class="main-box main-box-single">

		<?php while ( have_posts() ) : the_post(); ?>

			<?php get_template_part( 'sections/content', get_post_format()); ?>

		<?php endwhile; ?>

		<?php if(vce_get_post_display('show_prev_next')) : ?>
			<?php get_template_part('sections/prev-next'); ?>
		<?php endif; ?>

		</main>

		<?php if(vce_get_post_display('show_author_box') && vce_get_option('author_box_position') == 'up') : ?>
			<?php get_template_part('sections/author-box'); ?>
		<?php endif; ?>

		<?php if(vce_get_post_display('show_related')) : ?>
			<?php get_template_part('sections/related-box'); ?>
		<?php endif; ?>

		<?php if(vce_get_post_display('show_author_box') && vce_get_option('author_box_position') == 'down') : ?>
			<?php get_template_part('sections/author-box'); ?>
		<?php endif; ?>

		<?php comments_template(); ?>

	</div>

	<?php if ( $vce_sidebar_opts['use_sidebar'] == 'right' ) { get_sidebar(); } ?>

</div>

<?php get_footer(); ?>


comments.php

<?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() ) {
  return;
}
if ( comments_open() ) {
  $commenter = wp_get_current_commenter();
  $req = get_option( 'require_name_email' );
  $aria_req = ( $req ? " aria-required='true'" : '' );

  $comment_form_args = array(
    'comment_notes_after' => '',
    'cancel_reply_link' => __vce( 'cancel_reply_link' ),
    'label_submit'      => __vce( 'comment_submit' ),
    'title_reply' => __vce( 'leave_a_reply' ),
    'must_log_in' => '<p class="must-log-in">' . sprintf( __vce( 'must_log_in' ), wp_login_url( apply_filters( 'the_permalink', get_permalink() ) ) ) . '</p>',
    'logged_in_as' => '<p class="logged-in-as">' . sprintf( __vce( 'logged_in_as' ), admin_url( 'profile.php' ), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( ) ) ) ) . '</p>',
    'comment_notes_before' => '',
    'comment_notes_after' => '',
    'comment_field' =>  '<p class="comment-form-comment"><label for="comment">' . __vce( 'comment_field' ) .'</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true">' .'</textarea></p>',
    'fields' => apply_filters( 'comment_form_default_fields', array(
        'author' =>
        '<p class="comment-form-author">' .
        '<label for="author">' . __vce( 'comment_name' ) . ( $req ? '<span class="required"> *</span>' : '' ) . '</label> ' .
        '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) .
        '" size="30"' . $aria_req . ' /></p>',

        'email' =>
        '<p class="comment-form-email"><label for="email">' . __vce( 'comment_email' ) . ( $req ? '<span class="required"> *</span>' : '' ).'</label> '  .
        '<input id="email" name="email" type="text" value="' . esc_attr(  $commenter['comment_author_email'] ) .
        '" size="30"' . $aria_req . ' /></p>',

        'url' =>
        '<p class="comment-form-url"><label for="url">' .
        __vce( 'comment_website' ) . '</label>' .
        '<input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) .
        '" size="30" /></p>'
      ) ),
  );
}
?>
<?php
if ( comments_open() && ( vce_get_option( 'comments_position' ) == true ) ) :

  comment_form( $comment_form_args );

endif;
?>
<?php if ( have_comments() ) : ?>

<div id="comments" class="comments-main">
     <div class="comments-holder main-box">
        <h3 class="comment-title main-box-title"><?php comments_number( __vce( 'no_comments' ), __vce( 'one_comment' ), __vce( 'comments_number' ) ); ?></h3>

      <div class="main-box-inside content-inside">
        <ul class="comment-list">
            <?php $args = array(
  'avatar_size' => 75,
  'reply_text' => __vce( 'reply_comment' ),
  'format' => 'html5'
);?>
            <?php wp_list_comments( $args ); ?>
        </ul><!--END comment-list-->
        </div>
        <?php if ( $vce_paginate_comments = paginate_comments_links( array( 'echo' => false ) ) ): ?>
          <div class="navigation">
             <?php echo $vce_paginate_comments; ?>
          </div>
        <?php endif; ?>
    </div><!--END comments holder -->
</div>
<?php endif; ?>

<?php
if ( comments_open() && ( vce_get_option( 'comments_position' ) == false ) ) :

  comment_form( $comment_form_args );

endif;
?>

Yardımlarınız için teşekkurler R10+verildi...
single.php yi şu şekilde düzenleyin.

<?php get_header(); ?> 

<?php get_template_part('sections/cover-area'); ?> 

<?php get_template_part( 'sections/ads/below-header' ); ?> 

<?php if ( function_exists('yoast_breadcrumb') ) : ?> 
    <?php yoast_breadcrumb('<div id="mks-breadcrumbs" class="container mks-bredcrumbs-container"><p id="breadcrumbs">','</p></div>'); ?> 
<?php endif; ?> 

<div id="content" class="container site-content"> 

    <?php global $vce_sidebar_opts; ?> 
    <?php if ( $vce_sidebar_opts['use_sidebar'] == 'left' ) { get_sidebar(); } ?> 
         
    <div id="primary" class="vce-main-content"> 

        <main id="main" class="main-box main-box-single"> 

        <?php comments_template(); ?> 

        <?php while ( have_posts() ) : the_post(); ?> 

            <?php get_template_part( 'sections/content', get_post_format()); ?> 

        <?php endwhile; ?> 

        <?php if(vce_get_post_display('show_prev_next')) : ?> 
            <?php get_template_part('sections/prev-next'); ?> 
        <?php endif; ?> 

        </main> 

        <?php if(vce_get_post_display('show_author_box') && vce_get_option('author_box_position') == 'up') : ?> 
            <?php get_template_part('sections/author-box'); ?> 
        <?php endif; ?> 

        <?php if(vce_get_post_display('show_related')) : ?> 
            <?php get_template_part('sections/related-box'); ?> 
        <?php endif; ?> 

        <?php if(vce_get_post_display('show_author_box') && vce_get_option('author_box_position') == 'down') : ?> 
            <?php get_template_part('sections/author-box'); ?> 
        <?php endif; ?> 

    </div> 

    <?php if ( $vce_sidebar_opts['use_sidebar'] == 'right' ) { get_sidebar(); } ?> 

</div> 

<?php get_footer(); ?>

<?php get_header(); ?> 
 
<?php get_template_part('sections/cover-area'); ?> 
 
<?php get_template_part( 'sections/ads/below-header' ); ?> 
 
<?php if ( function_exists('yoast_breadcrumb') ) : ?> 
    <?php yoast_breadcrumb('<div id="mks-breadcrumbs" class="container mks-bredcrumbs-container"><p id="breadcrumbs">','</p></div>'); ?> 
<?php endif; ?> 
 
<div id="content" class="container site-content"> 

 
    <?php global $vce_sidebar_opts; ?> 
    <?php if ( $vce_sidebar_opts['use_sidebar'] == 'left' ) { get_sidebar(); } ?> 
<?php comments_template(); ?> 
          
    <div id="primary" class="vce-main-content"> 
 
        <main id="main" class="main-box main-box-single"> 
 
        
 
        <?php while ( have_posts() ) : the_post(); ?> 
 
            <?php get_template_part( 'sections/content', get_post_format()); ?> 
 
        <?php endwhile; ?> 
 
        <?php if(vce_get_post_display('show_prev_next')) : ?> 
            <?php get_template_part('sections/prev-next'); ?> 
        <?php endif; ?> 
 
        </main> 
 
        <?php if(vce_get_post_display('show_author_box') && vce_get_option('author_box_position') == 'up') : ?> 
            <?php get_template_part('sections/author-box'); ?> 
        <?php endif; ?> 
 
        <?php if(vce_get_post_display('show_related')) : ?> 
            <?php get_template_part('sections/related-box'); ?> 
        <?php endif; ?> 
 
        <?php if(vce_get_post_display('show_author_box') && vce_get_option('author_box_position') == 'down') : ?> 
            <?php get_template_part('sections/author-box'); ?> 
        <?php endif; ?> 
 
    </div> 
 
    <?php if ( $vce_sidebar_opts['use_sidebar'] == 'right' ) { get_sidebar(); } ?> 
 
</div> 
 
<?php get_footer(); ?>