站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
▼
建站程序
开发
服务器
办公软件
开发教程
▼
服务器教程
软件使用教程
运营教程
热门电子书
▼
CSS教程
WordPress教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
热点词条
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
WordPress:Site Architecture 1.5
”(章节)
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
跳转至:
导航
、
搜索
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
===== 默认主题评论 ===== The Default Theme comments feature a loop query within the <tt>comments.php</tt> and <tt>comments-popup.php</tt> which changes some of the information depending upon if comments are open, closed, and any present. If the comments are open or closed and no comments have been made, this information will be displayed within the <tt><h3 id="comments"></tt> tag. 默认主题评论在<tt>comments.php</tt>和<tt>comments-popup.php</tt>内拥有loop查询,根据评论是否代开,关闭,是否出现,可以更改一些信息。如果评论打开或者关闭了,或者没有发表的评论,这个信息就会在<tt><h3 id="comments"></tt>标签内部出现。 <pre><h3 id="comments">One Response to "Hello world!"</h3> <ol class="commentlist"> <li class="alt" id="comment-1"> <cite> <a href="http://example.org/" rel="external nofollow">Mr WordPress</a> </cite> Says:<br /> <small class="commentmetadata"> <a href="#comment-1" title="">Date and Time</a> </small> <p>Hi, this is a comment.</p> </li> </ol> <h3 id="respond">Leave a Reply</h3> <form action="http://example.com/blog/wp-comments-post.php" method="post" id="commentform"> <p> <input name="author" id="author" value="" size="22" tabindex="1" type="text"> <label for="author"> <small>Name (required)</small> </label> </p> <p> <input name="email" id="email" value="" size="22" tabindex="2" type="text"> <label for="email"> <small>Mail (will not be published) required)</small> </label> </p> <p> <input name="url" id="url" value="" size="22" tabindex="3" type="text"> <label for="url"> <small>Website</small> </label> </p> <p> <small><strong>XHTML:</strong> You can use these tags:....</small> </p> <p> <textarea name="comment" id="comment" cols="100" rows="10" tabindex="4"> </textarea> </p> <p> <input name="submit" id="submit" tabindex="5" value="Submit Comment" type="submit"> <input name="comment_post_ID" value="1" type="hidden"> </p> </form> </div></pre> <pre><h3 id="comments">One Response to "Hello world!"</h3> <ol class="commentlist"> <li class="alt" id="comment-1"> <cite> <a href="http://example.org/" rel="external nofollow">Mr WordPress</a> </cite> Says:<br /> <small class="commentmetadata"> <a href="#comment-1" title="">Date and Time</a> </small> <p>Hi, this is a comment.</p> </li> </ol> <h3 id="respond">Leave a Reply</h3> <form action="http://example.com/blog/wp-comments-post.php" method="post" id="commentform"> <p> <input name="author" id="author" value="" size="22" tabindex="1" type="text"> <label for="author"> <small>Name (required)</small> </label> </p> <p> <input name="email" id="email" value="" size="22" tabindex="2" type="text"> <label for="email"> <small>Mail (will not be published) required)</small> </label> </p> <p> <input name="url" id="url" value="" size="22" tabindex="3" type="text"> <label for="url"> <small>Website</small> </label> </p> <p> <small><strong>XHTML:</strong> You can use these tags:....</small> </p> <p> <textarea name="comment" id="comment" cols="100" rows="10" tabindex="4"> </textarea> </p> <p> <input name="submit" id="submit" tabindex="5" value="Submit Comment" type="submit"> <input name="comment_post_ID" value="1" type="hidden"> </p> </form> </div></pre> While individual sections of the comments feature styling reference, the Default Theme has no general comment division or group style reference, though one could be easily added. 虽然评论功能样式reference的部分是单个的,默认主题没有总评论部分或者群样式reference,但是可以轻易地添加。 ;h3 #comments:Styles the <tt><h3></tt> tag for the "number of responses to the post" heading. ;h3 #评论:为"文章的反馈数"标题设计<tt><h3></tt>标签。 ;#commentlist ol :Styles the "ordered list" of the comments list. ;#commentlist ol :设计评论列表的"有序列表"。 ;.alt li and #commenet-n :The comment list items have two style references. The first one is the class <tt>alt</tt> and the second is the comment ID number signified here by the letter <tt>n</tt>. This allows them to be styled individually. ;.alt li and #commenet-n :评论列表items拥有两个样式reference。第一个是class <tt>alt</tt>,第二个是评论ID数字,这里由字母<tt>n</tt>标示。两个样式reference能够使得class和评论ID得到独自设计。 ;cite :The tag <tt>cite</tt> frames the "Name says:" and link to the comment author's URL. ;cite :标签<tt>cite</tt> frames"名称显示:"并且链接到评论作者的URL。 ;.commentmetadata small :The <tt><small></tt> tag has a class of <tt>commentmetadata</tt> which allows the date and time of the post to be styled. ;.commentmetadata small :The <tt><small></tt>标签拥有a class of <tt>commentmetadata</tt>,能够设计文章的日期和时间。 ;ol #commentlist p :Styles the paragraph within the ordered list of comments. ;ol #commentlist p :设计评论有序列表内的段落。 ;#respond h3 :Styles the heading for "Leave a Reply". ;#respond h3 :设计"留回复"的标头。 ;#commentform :Style reference for the overall "form" for inputting comments. Each input area has it's own ID. ;#commentform :为输入的评论的总体"形式"设计reference。每个输入区拥有自己的ID。 ;#author :ID reference for the comment author's input area. ;#author :评论作者输入区的ID reference。 ;#comments small :The <tt><small></tt> tag is used in several places in the Classic Theme. This usage surrounds the text in the '''comment submit form'' and the text for the '''list of tags''' that can be used in the comment. ;#comments small : <tt><small></tt>用在经典主题的几处中。这个用法围绕着'''评论递交形式''的文本和可以用在评论中的'''标签列表'''的文本。 ;#email :ID reference for the comment author's email. ;#email :评论作者的电子邮件的ID reference。 ;#url :ID reference for the comment author's URL. ;#url :评论作者URL的ID reference。 ;#comment :ID reference for the comment input textarea. It does not style the final generated comment, just the input box. ;#comment :评论输入文本区的ID referenc。不设计最后产生的评论,只设计输入框。 ;#comment #submit :There are two submit buttons in the Classic Theme, for search and comment submissions. This is the submit comment button. ;#comment #submit :经典主题中有两个递交按钮,搜索的和评论递交按钮。这是评论递交按钮。
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)