رفتن به مطلب

تبدیل دیدگاه نویسنده به دیدگاه مدیر


پست های پیشنهاد شده

سلام

از تو استایل رنگ زمینه دیدگاه نویسنده پست رو عوض کردم


<?php if ( post_password_required() ) { ?>
<p><?php _e( 'This post is password protected. Enter the password to view any comments.', 'themater' ); ?></p>
<?php return; } ?>

<?php if ( have_comments() ) { ?>
<div id="comments">

<h3 id="comments-title"><?php
printf( _n( 'فقط یک نظر برای %2$s', '%1$s نظر برای پست %2$s', get_comments_number(), 'themater' ),
number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' );
?></h3>

<ol class="commentlist">
<?php wp_list_comments(); ?>
</ol>

<?php if ( get_comment_pages_count() > 1 ) { ?>
<div class="navigation clearfix">
<div class="alignleft"><?php previous_comments_link( __( '<span class="meta-nav">←</span> Older Comments', 'themater' ) ); ?></div>
<div class="alignright"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">→</span>', 'themater' ) ); ?></div>
</div><!-- .navigation .clearfix -->
<?php } ?>

</div><!-- #comments -->
<?php } ?>

<?php comment_form(); ?>

ممنون

اما میخوام رنگ دیدگاه مدیر سایت عوض بشه

اینم کد دیدگاه ها:

لینک به ارسال

سلام

شما افزونه Simple Author Highlighter را نصب کنید، با نصب این افزونه هم می توانید رنگ دیدگاه های نویسنده را انتخاب کنید و هم مدیر و برخی کاربران به دلخواه.

خودم باهاش کار می کنم، خیلی عالیه!

  • امتیاز 3
لینک به ارسال

لطفا برای ارسال دیدگاه وارد شوید

شما بعد از اینکه وارد حساب کاربری خود شدید می توانید دیدگاهی ارسال کنید



ورود به حساب کاربری
×
×
  • اضافه کردن...