网站留言框更新日志

.

http://v.youku.com/v_show/id_XMTAwNTg5MzA0.html

样式美化修改主题目录的stytle.css中

/* =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: 2px dotted #0ec;border-radius: 8px;
        //border-bottom: 1px solid #e7e7e7;
        padding-top:10px;
        padding-bottom:10px;
        padding-right:10px;
        padding-left:56px;
	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: 2px;
}
.comment-author {
}
.comment-author cite {
	color: #000;
	font-style: normal;
	font-weight: bold;
}
.comment-author .says {
	font-style: italic;
}
.comment-meta {
	font-size: 14px;
	margin: 0 0 18px 0;
        //border:1px double #A6F;
}
.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: 18px;
        color:#abc;
       // border:1px double #08F;
}
.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;
        border: 1px dotted #06F;border-radius: 8px;
        padding-top:10px;
        padding-bottom:10px;
        padding-right:10px;
        padding-left:10px;
        //border:1px double #06F;
}
.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;
}
input[type=file] {
        height:30px;
        width:60%;
	border: 1px dotted;
        background-image: url(/img/icons.png);
        background-repeat: no-repeat;
        padding: 3px 1px 3px 22px;
        background-position: 3px -28px;
        border-radius: 8px;
}
#respond {
	border-top: 1px solid #e7e7e7;
	margin: 24px 0;
	overflow: hidden;
	position: relative;
}
#respond p {
	margin: 0;
}
#respond .comment-notes {
	margin-bottom: 1em;
        border-radius: 8px;
}
.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: 16px;
	font-weight: normal;
	line-height: 19px;
}
#respond .required {
	color: #ff4b33;
	font-weight: bold;
}
#respond label {
	color: #888;
	font-size: 12px;
}
#respond input {
	margin: 0 0 9px;
	width: 98%;

}
#respond .comment-form-author input{
        height:30px;
        width: 95%;
        border: 1px dotted;
        background-image: url(/img/icons.png);
        background-repeat: no-repeat;
        padding: 3px 1px 3px 22px;
        background-position: 3px -469px;
        border-radius: 8px;
}
#respond .comment-form-email input{
        height:30px;
        width: 95%;
        border: 1px dotted;
        background-image: url(/img/icons.png);
        background-repeat: no-repeat;
        padding: 3px 1px 3px 22px;
        background-position: 3px -343px;
        border-radius: 8px;
}
#respond .comment-form-url input{
        height:30px;
        width: 95%;
        border: 1px dotted;
        background-image: url(/img/icons.png);
        background-repeat: no-repeat;
        padding: 3px 1px 3px 22px;
        background-position: 3px -503px;
        border-radius: 8px;
}
#respond textarea {
	width: 98%;
        border-radius: 8px;
}
#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;
}

在wp-includes/comment-template.php中,修改function comment_form( $args = array(), $post_id = null )的部分,$fields数组。

$fields =  array(
		'author' => '

' . ' ' . ( $req ? '*' : '' ) . '

", 'email' => '", 'url' => '

' . '

", );

本文链接:网站留言框更新日志

转载声明:本站文章若无特别说明,皆为原创,转载请注明来源:Rexdf,谢谢!^^


カテゴリー: 网站建设 タグ: パーマリンク

One Response to 网站留言框更新日志

コメントを残す

メールアドレスが公開されることはありません。

*

:zsmilebig: :zsadbig: :zwiredbig: :zgreenhappy: more »

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください