p30msb 60 ارسال شده در آذر 92 گزارش بازنشر ارسال شده در آذر 92 (ویرایش شده) دوستان در یکی از پست های محبوب وبلاگم با یه مشکلی مواجه شدم که علتشو نمیدونم.با اینکه در قسمت مدیریات سایت تعداد نظرات در هر صفحه رو بر روی 10 قرار دادم و تنظیم کردم که نظرات جدید رو در اولین صفحه نشون بده ولی تمامی نظرات اون پست رو که بالغ بر 65 نظره رو در همون یک صفحه اول نشون میده و صفحات بعدی در کار نیست.به نظر شما باید چیکار کنم؟آیا باید از افزونه خاصی استفاده کرد؟؟؟؟؟http://www.mobile21.ir/2013/12/08/%D8%A7%DB%8C%D9%81%D9%88%D9%865-%D9%86%D8%A7%D9%86%D9%88-%D8%A7%D9%86%D8%AF%D8%B1%D9%88%DB%8C%D8%AF-4-2-%D8%B3%DB%8C-%D9%BE%DB%8C-%DB%8C%D9%88-4-%D9%87%D8%B3%D8%AA%D9%87-%DB%8C-%D9%88-%D8%B1%D8%A7-2/اینم کدهای بخش کامنت قالب<div id="comments-wrap"> <?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 // Begin Comments & Trackbacks ?> <?php if ( have_comments() ) : ?> <h3 id="comments-number"> <?php comments_number(esc_html__('0 Comments','amiran98'), esc_html__('1 Comment','amiran98'), '% '.esc_html__('Comments','amiran98') );?> <?php _e('for','amiran98'); ?> “ <?php the_title(); ?> </h3> <ol class="commentlist"> <?php wp_list_comments( array('type'=>'comment', 'avatar_size'=>'95') ); ?> </ol> <div class="comments-navigation"> <div class="alignleft"> <?php previous_comments_link() ?> </div> <div class="alignright"> <?php next_comments_link() ?> </div> </div> <?php // End Comments ?> <?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> <?php _e('comments are closed.','amiran98'); ?> </p> <?php endif; ?> <?php endif; ?> <?php if ('open' == $post->comment_status) : ?> <?php comment_form(); ?> <?php endif; ?></div>ببخشید بد افتاد<div id="comments-wrap"> <?php // Do not delete these linesif (!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 // Begin Comments & Trackbacks ?> <?php if ( have_comments() ) : ?> <h3 id="comments-number"> <?php comments_number(esc_html__('0 Comments','amiran98'), esc_html__('1 Comment','amiran98'), '% '.esc_html__('Comments','amiran98') );?> <?php _e('for','amiran98'); ?> “ <?php the_title(); ?> </h3> <ol class="commentlist"> <?php wp_list_comments( array('type'=>'comment', 'avatar_size'=>'95') ); ?> </ol> <div class="comments-navigation"> <div class="alignleft"> <?php previous_comments_link() ?> </div> <div class="alignright"> <?php next_comments_link() ?> </div> </div> <?php // End Comments ?> <?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> <?php _e('comments are closed.','amiran98'); ?> </p> <?php endif; ?> <?php endif; ?> <?php if ('open' == $post->comment_status) : ?> <?php comment_form(); ?> <?php endif; ?></div> ویرایش شده آذر 92 توسط p30msb لینک به ارسال
Parsa 23463 ارسال شده در آذر 92 گزارش بازنشر ارسال شده در آذر 92 از ارسال تاپیک تکراری خودداری کنیدبایگانی شد 1 لینک به ارسال
پست های پیشنهاد شده