WordPress 评论表单默认 CSS Classes

    WordPress自带一些内置评论系统。在开发WordPress主题时,您需要编写个人注释和注释表单以适当地显示它们。
    这里是CSS类的列表样式注释:

    /*Individual Comments*/
    
    .commentlist .reply {}
    .commentlist .reply a {}
    
    .commentlist .alt {}
    .commentlist .odd {}
    .commentlist .even {}
    .commentlist .thread-alt {}
    .commentlist .thread-odd {}
    .commentlist .thread-even {}
    .commentlist li ul.children .alt {}
    .commentlist li ul.children .odd {}
    .commentlist li ul.children .even {}
    
    .commentlist .vcard {}
    .commentlist .vcard cite.fn {}
    .commentlist .vcard span.says {}
    .commentlist .vcard img.photo {}
    .commentlist .vcard img.avatar {}
    .commentlist .vcard cite.fn a.url {}
    
    .commentlist .comment-meta {} 
    .commentlist .comment-meta a {}
    .commentlist .commentmetadata {}
    .commentlist .commentmetadata a {}
    
    .commentlist .parent {}
    .commentlist .comment {}
    .commentlist .children {}
    .commentlist .pingback {}
    .commentlist .bypostauthor {}
    .commentlist .comment-author {}
    .commentlist .comment-author-admin {}
    
    .commentlist {}
    .commentlist li {}
    .commentlist li p {}
    .commentlist li ul {}
    .commentlist li ul.children li {}
    .commentlist li ul.children li.alt {}
    .commentlist li ul.children li.byuser {}
    .commentlist li ul.children li.comment {}
    .commentlist li ul.children li.depth-{id} {}
    .commentlist li ul.children li.bypostauthor {}
    .commentlist li ul.children li.comment-author-admin {}
    
    #cancel-comment-reply {}
    #cancel-comment-reply a {}
    
    /*Comment Form */
    
    #respond { } 
    #reply-title { } 
    #cancel-comment-reply-link { }
    #commentform { } 
    #author { } 
    #email { } 
    #url { } 
    #comment 
    #submit
    .comment-notes { } 
    .required { }
    .comment-form-author { }
    .comment-form-email { } 
    .comment-form-url { }
    .comment-form-comment { } 
    .form-allowed-tags { } 
    .form-submit

    Responses

    您的电子邮箱地址不会被公开。 必填项已用*标注

    Up Next:

    WordPress修改作者链接

    WordPress修改作者链接