mesalaam 0 ارسال شده در بهمن 92 گزارش بازنشر ارسال شده در بهمن 92 (ویرایش شده) سلام دوستانمن می خواستم که در لینک logout که بالای قسمت comments وجود داره اصلاحاتی انجام بدم ولی نمیدونم از کجا باید به کدهاش دسترسی داشته باشم . کدهای مربوطه توی فایل comments.php نبودن . توی single.php هم نیستن . یکی از دوستانم گفت باید توی comments.php باشه و اگر نبود باید خودت ایحاد کنی . ولی من نمیدونم به چه نحو باید این کار رو انجام بدم .ممنون میشم راهنماییم بفرمایید .این هم کدهای فایل comments.php :<div id="comments"><?phpif (post_password_required()):?> <p class="nopassword"><?php_e('This post is password protected. Enter the password to view any comments.', 'wizedesign');?></p></div><!-- #comments --><?phpreturn;endif;?><div class="comments-hr"></div><?php if (have_comments()): ?><div class="short-title"><h3><?phpprintf(_n('One Comment %2$s', '%1$s Comments', get_comments_number(), ''), number_format_i18n(get_comments_number()), '');?></h3></div><?phpif (get_comment_pages_count() > 1 && get_option('page_comments')):?> <div class="navigation"> <div class="nav-previous"><?php previous_comments_link(__('<span class="meta-nav">←</span> Older Comments', 'wizedesign'));?></div> <div class="nav-next"><?php next_comments_link(__('Newer Comments <span class="meta-nav">→</span>', 'wizedesign'));?></div> </div> <!-- .navigation --><?phpendif; // check for comment navigation?><ol class="commentlist"><?phpwp_list_comments(array( 'callback' => 'wizedesign_comment'));?></ol><?phpelse: // or, if we don't have comments:/* If there are no comments and comments are closed, */if (!comments_open()):?><p class="nocomments"><?php _e('Comments are closed.', 'wizedesign');?></p><?phpendif; // end ! comments_open()?><?phpendif; // end have_comments()?><?php comment_form(array('comment_notes_after' => '')); ?></div><!-- end #comments -->ممنون ویرایش شده بهمن 92 توسط mesalaam نقل قول لینک به ارسال
Parsa 23463 ارسال شده در بهمن 92 گزارش بازنشر ارسال شده در بهمن 92 comment_form را طبق این مثال تغییر دهیدcomments-template-WP-Parsi.zip 5 نقل قول لینک به ارسال
mesalaam 0 ارسال شده در بهمن 92 مالک گزارش بازنشر ارسال شده در بهمن 92 ممنونم اما زیاد متوجه نشدم من مبخوام لینک Logged in as mesalaam . Log out? که زیر Leave a Reply میاد رو بکلی حذف کنم . باید چی کار کنم ؟ممنون نقل قول لینک به ارسال
I..R 1485 ارسال شده در بهمن 92 گزارش بازنشر ارسال شده در بهمن 92 (ویرایش شده) درود.اگر از فایل های که جناب پارسا گذاشتند استفاده کردید کد های فایل زیر را جایگزین کنید .function.php ویرایش شده بهمن 92 توسط I..R 3 نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .