年年我发



返回   年年我发 > 网站建设 > 建站交流 > Blog(博客)/Wiki(维客)/RSS/Cms
用户名
密码
 
注册账号 论坛帮助 会员列表 日历事件网赚工具 标记版面已读

Blog(博客)/Wiki(维客)/RSS/Cms Blog(博客)/、Wiki(维客)、RSS、Cms等WEB 2.0相关技术讨论专区。

回复
 
主题工具 搜索本主题 显示模式
  #1   IP: 59.60.148.26
旧 2008-09-28, 09:04 PM
car car 当前离线
高级会员
 
注册日期: 2006-05-14
帖子: 445
精华: 0
现金: 4811 元
资产: 4811 元
声望: 10 car 正向着好的方向发展
默认 在你的 WordPress 博客创建作者页面

默认情况下,WordPress 会使用 author.php 文件然后 archive.php 文件,最后 index.php 文件去显示你博客的特定作者文章列表。

所以,你想改变你的博客作者列表页面的样子,你需要创建一个 author.php 文件,如果不存在,通过拷贝 archive.php,如果 archive.php 也不存在,那就拷贝 index.php。

如果你想显示作者的网站,邮箱和个人履历等,让读者更多地了解这个作者。那么就加上以下代码:

代码:
Articles by <?php the_author(); ?> Author Website: <?php the_author_url(); ?> Author Email: <?php the_author_email(); ?> Author Bio: <?php the_author_description(); ?>

其他解决方案:

How To: Adding An Author Page To Your WordPress Blog
Using Author Template Tags Outside of the WordPress Loop
Kafkaesquí’s Get Author Profile Plugin- 可以让你在主循环之外访问和提供作者信息,比如在博客的侧边拦上显示博客的主人和贡献者列表。.
回复时引用此帖

wellcome to www.0058.net
回复


当前查看此主题的会员: 1 (0 位会员和 1 位游客)
 
主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

论坛启用 BB 代码
论坛禁用 表情符号
论坛启用 [IMG] 代码
论坛禁用 HTML 代码
论坛跳转

相似的主题
主题 主题作者 版面 回复 最后发表
WordPress 数据库探究 #2 — wp_posts car Blog(博客)/Wiki(维客)/RSS/Cms 0 2008-09-28 09:00 PM
WordPress 数据库探究 #6 — wp_options car Blog(博客)/Wiki(维客)/RSS/Cms 0 2008-09-28 08:58 PM
更改 WordPress 数据库表名前缀 car Blog(博客)/Wiki(维客)/RSS/Cms 0 2008-09-28 08:57 PM
wordpress 搜索引擎优化的二十条实用技巧 car 搜索引擎优化 0 2008-03-11 08:33 AM
WordPress 中文包 sunshine Blog(博客)/Wiki(维客)/RSS/Cms 0 2007-03-12 10:16 AM


所有时间均为北京时间. 现在的时间是 04:44 PM, Free Patent & Patent Ideas


Powered by vBulletin 3.5.2 Chinese Exhibition Happy New Year
©2000 - 2008,Jelsoft Enterprises Ltd  Desiccant Molecular Sieve Weight Loss Bentonite Trade Manager