رفتن به مطلب

ویرایش در قسمت نظرات


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

شما اگر میتونید پوسته تون یا فایلهای comment+single+function رو بصورت فشرده اینجا قرار بدید.

لینک به ارسال

دوست عزیز شما اصلا تغییراتی که گفته شد رو انجام نداید!

این بخش رو از فایل single.php حذف کنید:

<form action="wp-comments-post.php" method="post" id="commentform">

<p><label for="author" style="width:100px;float:right" ><strong>نام *</strong></label>
<input type="text" name="author" id="author" value="" size="40" tabindex="1" /> </p>

<p><label for="email" style="width:100px;float:right" ><strong>پست الکترونیک * </strong></label>

<input type="text" name="email" id="email" value="" size="40" tabindex="2" />
</p>

<p>
<label for="url" style="width:100px;float:right" ><strong>وب سایت</strong></label><input type="text" name="url" id="url" value="" size="40" tabindex="3" /></p>




<p>
<label for="url" style="width:100px;float:right" ><strong>متن نظر </strong></label> <textarea name="comment" id="comment" tabindex="4" style="direction:rtl;font-family:tahoma;font-size:12px;width:220px" size="40"></textarea><br /></p>
<p>
<input name="submit" type="submit" id="submit" tabindex="5" value="ارسال نظر" />

<input type="hidden" name="comment_post_ID" value="1243" />
</p>

<p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="11e7a0f941" /></p>
</form>

بجاش کد زیر رو قرار بدید:

<?php comments_template('', true); ?>

تمام!

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

الان این بخش نمایش برای شما میاد؟ همین توضیحی که دادم؟

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

post-1-0-36880500-1360778874_thumb.png

لینک به ارسال

من دقیقا روی پوسته شما تست کردم و عکسی که دادم از پوسته شماست. هیچ بخش اضافه هم نداره!

روی یک وردپرس دیگه تست کنید.

لینک به ارسال

فایل پیوستی رو جایگزین کنید ببینید نظرات نمایش داده میشن.

برای طاهر هم فقط باید استایل اضافه بشه.

فعلا نمایش مهم هست.

single.rar

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

خوب پس نشون داد.

حالا شما استایلی که بهتون دادم (در پست هایی قبلی) روی سایت قرار دادید؟ یعنی الان هست؟

لینک به ارسال

twentyten = 2010

اینو در فایل استایل قرار دهید

/* =Comments

-------------------------------------------------------------- */

#comments {

clear: both;

}

#comments .navigation {

padding: 0 0 18px 0;

}

h3#comments-title,

h3#reply-title {

color: #000;

font-size: 20px;

font-weight: bold;

margin-bottom: 0;

}

h3#comments-title {

padding: 24px 0;

}

.commentlist {

list-style: none;

margin: 0;

}

.commentlist li.comment {

border-bottom: 1px solid #e7e7e7;

line-height: 24px;

margin: 0 0 24px 0;

padding: 0 0 0 56px;

position: relative;

}

.commentlist li:last-child {

border-bottom: none;

margin-bottom: 0;

}

#comments .comment-body ul,

#comments .comment-body ol {

margin-bottom: 18px;

}

#comments .comment-body p:last-child {

margin-bottom: 6px;

}

#comments .comment-body blockquote p:last-child {

margin-bottom: 24px;

}

.commentlist ol {

list-style: decimal;

}

.commentlist .avatar {

position: absolute;

top: 4px;

left: 0;

}

.comment-author {

}

.comment-author cite {

color: #000;

font-style: normal;

font-weight: bold;

}

.comment-author .says {

font-style: italic;

}

.comment-meta {

font-size: 12px;

margin: 0 0 18px 0;

}

.comment-meta a:link,

.comment-meta a:visited {

color: #888;

text-decoration: none;

}

.comment-meta a:active,

.comment-meta a:hover {

color: #ff4b33;

}

.commentlist .even {

}

.commentlist .bypostauthor {

}

.reply {

font-size: 12px;

padding: 0 0 24px 0;

}

.reply a,

a.comment-edit-link {

color: #888;

}

.reply a:hover,

a.comment-edit-link:hover {

color: #ff4b33;

}

.commentlist .children {

list-style: none;

margin: 0;

}

.commentlist .children li {

border: none;

margin: 0;

}

.nopassword,

.nocomments {

display: none;

}

#comments .pingback {

border-bottom: 1px solid #e7e7e7;

margin-bottom: 18px;

padding-bottom: 18px;

}

.commentlist li.comment+li.pingback {

margin-top: -6px;

}

#comments .pingback p {

color: #888;

display: block;

font-size: 12px;

line-height: 18px;

margin: 0;

}

#comments .pingback .url {

font-size: 13px;

font-style: italic;

}

/* Comments form */

input[type=submit] {

color: #333;

}

#respond {

border-top: 1px solid #e7e7e7;

margin: 24px 0;

overflow: hidden;

position: relative;

}

#respond p {

margin: 0;

}

#respond .comment-notes {

margin-bottom: 1em;

}

.form-allowed-tags {

line-height: 1em;

}

.children #respond {

margin: 0 48px 0 0;

}

h3#reply-title {

margin: 18px 0;

}

#comments-list #respond {

margin: 0 0 18px 0;

}

#comments-list ul #respond {

margin: 0;

}

#cancel-comment-reply-link {

font-size: 12px;

font-weight: normal;

line-height: 18px;

}

#respond .required {

color: #ff4b33;

font-weight: bold;

}

#respond label {

color: #888;

font-size: 12px;

}

#respond input {

margin: 0 0 9px;

width: 98%;

}

#respond textarea {

width: 98%;

}

#respond .form-allowed-tags {

color: #888;

font-size: 12px;

line-height: 18px;

}

#respond .form-allowed-tags code {

font-size: 11px;

}

#respond .form-submit {

margin: 12px 0;

}

#respond .form-submit input {

font-size: 14px;

width: auto;

}

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

سلام

توضیه میکنم حتما مباحث پایه html-css رو یاد بگیرید. چون این نوع ویرایش ها رو دیگه باید خودتون انجام بدید.

همچنین:

این پست بنده رو حتما مطالعه کنید.

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

برای فاصله دهی باید از خاصیت margin در css استفاده کنید.

موفق باشید

لینک به ارسال

بله میدونم بلد نیستید برای همین میگم مباحث پایه رو حتما مطالعه کنید. آسون هست و زود یاد میگیرید.

این رو به استایل اضافه کنید ببینید تغییری میکنه؟

.commentlist li{margin: 10px 0; border-bottom: 1px solid gray;}

لینک به ارسال

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

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



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