新年快乐,WordPress主题(Theme): G7 v3 放出……

Posted in WordPress / 软硬一本 @ Jan 2nd, 2008 by underone |

update@2008.03.11,10:12: 修正了header.php的css文件错误,修正了搜索栏和sidebar的部分css问题。感谢扶凯提示。

update@2008.01.03,21:11:修正了部分css导致的错位问题,修正了page部分的兼容问题

update@2008.01.02,20:31:增加了page.php

比预计的晚了一个礼拜,本来以为07年能发出来呢。单位的破网搞得我很无奈……现在放,就当是08年新年礼物了:)

WordPress Theme: underone's G7 v3

其实没什么特别可说的。这是个实验品,整个Theme完全没有一张图,纯css打造。另外一个目的是希望大家一起学习theme的制作。

在IE 6 / FF 2.0.0.11 / Opera 9.50下浏览正常,其余没注意……
适用于WordPress 2.3.x版本
支持Widgets、Gravatar。
Theme本身自动支持WP中文工具箱WP 2.3 Related PostsWP-PageNav等这些插件。至于这些插件,你可以装,也可以不装,不会影响使用。

测试未详尽,有问题请跟帖报告,以便尽快修改。

下载:G7_v3_final.zip

本文精巧网址: http://go.6.cn/zyvs

延展阅读

185 Responses to “新年快乐,WordPress主题(Theme): G7 v3 放出……”

  1. underone  Reply to this comment

    另外说一句,关于header中blog名称,本theme中显示的字体为80px,那是设计需要,如果看的不舒服请自行修改css文件中的#header h1部分的字体大小

  2. robinham  Reply to this comment

    很好,很强大

  3. underone  Reply to this comment

    接下来等偶睡眠充足的时候,就开始慢慢做G7V2了。。。。。。估计春节后。。。。。。

  4. Denis  Reply to this comment

    偶像!绝对的偶像!

  5. underone  Reply to this comment

    你也是我插件的偶像…………

  6. 白色浴巾香  Reply to this comment

    这个猪蹄贫僧翘盼多时了

    多谢官人放出

  7. underone  Reply to this comment

    出家人不可吃肉。。。

  8. 刀河  Reply to this comment

    很棒,非常的棒,绝对的棒。我收了,期待G7V2

  9. iakuf  Reply to this comment

    来了,我来用用,哈哈

  10. iakuf  Reply to this comment

    等了一年了。。。。。。。。。。。。。。

  11. Jinwen  Reply to this comment

    喜欢标题的设计,不错。另外Ie7下也没有问题哦。

  12. ybb  Reply to this comment

    支持支持!辛苦了。

  13. iakuf  Reply to this comment

    有发现问题,在自己做的相册,现在那个用这个就打不开,我用的是NextGEN Gallery。

  14. underone  Reply to this comment

    打不开是怎么个打不开?
    是不是page页里边有什么没写……不太清楚
    and,署名呀……

  15. underone  Reply to this comment

    增加了page页面,楼上的再试试

  16. w3boy  Reply to this comment

    不错,很棒

  17. LeafDuo  Reply to this comment

    Firefox 3.0 显示不正常
    留言比较短的背景也短一块

    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3pre) Gecko/2007122904 Minefield/3.0b3pre

  18. underone  Reply to this comment

    看了,确实,不光留言部分,错位的地方还有超级多!但是为什么却不知道……
    这次暂时先这样吧,我慢慢研究……

  19. YangTx  Reply to this comment

    收下了,我站在悬崖边上等V2。。。

  20. 非常秀客  Reply to this comment

    先收藏再睡觉去

  21. lightpig  Reply to this comment

    收下了,谢谢博主!

  22. iakuf  Reply to this comment

    多谢多谢,可以了,但新的有新的问题,

  23. underone  Reply to this comment

    新问题是啥

  24. L.E.I  Reply to this comment

    经典,收藏了。

  25. KAI  Reply to this comment

    我下载G7v3以后遇到了在日志详细页面中的相邻日志Pagenavi的链接错误。在CSS里面增加了width和float就解决了。
    #pagenavi{
    width: 590px;
    float: left;

    不知道是不是大家都遇到了这个问题。

  26. underone  Reply to this comment

    @KAI
    怎么再现这个错误?我在//localhost上看没问题啊……

  27. 聿歆  Reply to this comment

    感谢丸子的皮!

    昨天升级到2.3.2,就不能用你的这个皮了,害的我只好重新安装了一遍WP。 现在好了,哈哈。

    我想和你做个链接,可以不呢?

  28. underone  Reply to this comment

    哪个链接:)

  29. 聿歆  Reply to this comment

    我是聿歆
    http://www.ryuxin.cn

  30. xsmile  Reply to this comment

    乖乖龙地动,萨呢!

  31. L.E.I  Reply to this comment

    发现个不知道是不是错误的错误。。。
    如果不写TAG的话,底下的previous_post_link~~~RSS2.0 FEED会错位到日志右侧。

  32. underone  Reply to this comment

    上面的问题貌似修复了,请重新下载

  33. 痴情的猪  Reply to this comment

    gravatar.com/avatar.php?gravatar_id=e8f87528ed0a0eaba60009f8580df401&size=30&default=http%3A%2F%2Fwww.underone.com%2Fwp-content%2Fuploads%2F2007%2F12%2Favatar_none.png

    这些图片全都是不显示的

  34. underone  Reply to this comment

    我这里怎么显示。。。。。。。

  35. GiGi  Reply to this comment

    丸子您好!我想请教一下在您侧边栏上部的Twitter的JavaScript 插件是怎么写的,能不能把代码发到我的邮箱里,谢谢!邮箱地址http://zhege@live.com谢谢您了!

  36. underone  Reply to this comment

    没有什么插件啊,那是twitter公开的共享代码,tw主页上就有的……

  37. GiGi  Reply to this comment

    恩!找到,谢谢你^_^

  38. lulu  Reply to this comment

    大大 我就是那个为了用你的皮换了blog的
    感觉这个没有老的那个好看啊大大

  39. underone  Reply to this comment

    介个。。。。。。

  40. YangTx  Reply to this comment

    哈哈,丸子熟了,大家可以慢用。

  41. 小谋深算  Reply to this comment

    郁闷的是为什么是英文版- -

  42. YangTx  Reply to this comment

    小谋深算,中国的丸子,日本的丸子,世界的丸子,与国际接轨嘛!

  43. zriver  Reply to this comment

    哇,好漂亮,没有一张图片也能弄出这么漂亮的。。。。你不会就是干这行的吧。。。
    不过。。。主题虽然漂亮,但是马上满大街人都在使用这个主题,,,就像你的上一个主题。。。那就没意思拉~~~

  44. underone  Reply to this comment

    怎么英文版了。。。。。。。。

  45. underone  Reply to this comment

    共享就得有人用啊。。。。

  46. iakuf  Reply to this comment

    新bug.在page页面中,加入字页面的话,page页面会错位。

  47. underone  Reply to this comment

    加入字页面是啥意思?
    错位的bug解决一次了,是重新下载的theme么?

  48. ls  Reply to this comment

    能交换链接吗?你的我已经加上。
    我的网址:
    http://www.outport.org

  49. Theme: G7 v3 放出了…… | 若森志  Reply to this comment

    [...] 要下载载还是去他那看看吧,这是个纯css主题,所以不仅载入速度快,你可以试试自己动手换颜色,在后台编辑.css文件就行了,Html颜色代码可以看这里。 固定链接:http://www.ruosen.com/308.html Share To:                            才1个看的 | 回个贴吧|Tags : themes| 分类:我就不分类|随机日志2007-11-12 -- 移动定制手机可以自己解锁啦!不花冤枉钱 (0)2007-10-29 -- 消息:新版Gmail将变得更快 (0)2007-11-01 -- 介绍一本书的说。。。 (0)2007-12-26 -- 这人的消息也太灵通了吧! (0)2007-09-15 -- NG游戏不能正常运行的处理办法 (0)2007-10-24 -- 笑死我了 (0)2007-11-03 -- Opera 9.50 beta win build 9624 (0)2007-11-01 -- 推荐一首纯音乐,Athrun Zala feeling高达Seed的如此的想和你在一起钢琴版 (0)2007-10-23 -- 中文 WordPress 工具箱-随机文章,最新留言,留言最多文章,发表评论最多的网友,以及真正的文章摘要《转》 (4)2007-10-21 -- 手机QQ2007(S60 V2/S60 V3)beta2 build102版发布了! (0) [...]

  50. Patrick  Reply to this comment

    请教博主,你的那个archives 页面是怎么弄得啊,我很喜欢,可以告诉是如何弄成那个动态效果的么?

    还有一个问题就是用你的新模板,支持评论者头像这个功能,怎么样改动才能让没有头像的人出现我自己上传的随机图片,而不是单一的一个图片,否则感觉太单调!~~

    期待你的回复!谢谢!~~

  51. underone  Reply to this comment

    那个页面么,需要个插件叫Clean Archives Reloaded,搜下……
    至于头像,还是有插件能实现你要的功能,你可以阅读这个
    http://fairyfish.net/2007/06/24/gravatars2/

  52. iakuf  Reply to this comment

    我是指的管理--》页面,然后在一个页面下有二个字页面时,会错位

  53. underone  Reply to this comment

    后台?

  54. iakuf  Reply to this comment

    后来这样一设置,前台上面的部分就 错位

  55. Patrick  Reply to this comment

    博主你好,关于我昨天问到的你的 Archives 页面是如何制作的问题,我已经找到你说的这个插件Clean Archives Reloaded V1.0.1的(作者:Viper007Bond) 应该是这个吧?
    我上传并激活后应该怎么样使用啊?
    是不是使用下面这两种调用代码:

    或者是

    这两种有什么区别呢?
    最关键是怎么调用啊?是不是在后台新建一个页面,切换到源代码格式并把调用代码写进去?这样好像并不成功~~~
    还是说需要一个Archives这样的页面模板?如果需要这样的模板,可否为我提供一下?我现在使用的也是你这款主题。
    希望你能详细赐教使用方法,我E文不好,加之接触wp没有多久,插件作者的说明实在弄不明白,联系邮箱:6583659@qq.com QQ:6583659
    期望回复,谢谢!~~

  56. underone  Reply to this comment

    @iakuf
    page错位的问题我遇到过,代码修改了就好了,你现在下来再用用看?
    如果还有问题就不是一样的错位,给我个例子看看好么,我这里重现不了……
    难道是这样?http://beta.underone.com/页面/
    没错位啊……

    @Patrick
    需要先建一个page模版,然后再创新新的page页,调用那个模版。
    模版我发你信箱了,放到G7V3的目录下即可

  57. iakuf  Reply to this comment

    博主人真好

  58. Patrick  Reply to this comment

    博主效率好高,模板已经收到,问题已经解决!谢谢你的指导!~~

    另外还有两个关于V3模板的问题想和你探讨一下:
    第一个还是评论者随机头像问题,你让我参考水煮鱼的那篇文章,我想细看了一下,和V3模板代码进行了一个对比,首先我想向你确认一下,V3模板里关于头像的代码是不是只有以下两个地方:
    style.css文件中的:
    .gra {
    border: 1px solid #D3D3D3;
    background-color: #FFFFFF;
    padding: 2px;
    float: right;
    }
    和comments.php 文件中的:
    comment_author_email ) ) {
    $md5 = md5( $comment->comment_author_email );
    $default = urlencode( 'http://photo14.yupoo.com/20080102/160145_1362763515_hihsxaok.jpg' );
    echo "";
    }
    ?>
    我试着把以上两个地方分别改成水煮鱼文章里的:
    .gravatar {
    float:left;
    padding: 3px;
    border: 1px solid #000;
    background: #fff;
    clear:both;
    }

    结果并没有出现预期效果,还是出现你提供的默认图片(后台我已经上传图片包并更改了路径)不知道问题处在哪里,请你赐教!~~~

    第二个问题就是使用V3模板,当使用NextGEN Gallery这个相册插件时,打开图片后,图片有一半埋在浏览器下面看不见了,实际情况你可以去我网站相册页面看一下http://www.365share.cn/?page_id=4 是不是需要改动模板?

    多次向你请教,麻烦你了!再次谢谢你的热心回复!~~~

  59. Patrick  Reply to this comment

    相册问题已经解决,是我把函数调用少写一个字母,现在就是一个头像问题了!~~

  60. underone  Reply to this comment

    头像的问题,建议你把页面中如下代码先删除

    <?php
    < ?
    php
    if ( !empty( $comment->comment_author_email ) ) {
            
    $md5 = md5( $comment->comment_author_email );
            
    $default = urlencode( 'xxx.jpg' );
            
    echo "<img class='gra' src='http://www.gravatar.com/avatar.php?gravatar_id=$md5&amp;size=30&amp;default=$default' alt='... ...' />";
    }
    ?>

    然后再调用那个插件需要的php代码。但是具体怎么,得看那个插件,我没用过所以不太好说

  61. Patrick  Reply to this comment

    为什么我安装了分页插件WP-PageNavi 2.20版,却分不开页呢?后台设置并没有什么问题啊?!~~~
    无论我设置每页显示几篇都是全部显示!

  62. underone  Reply to this comment

    每页显示几篇和那个插件完全没任何关系。。。

  63. Patrick  Reply to this comment

    那是哪个地方设置每一页显示几篇啊?请指点一下!多次烦劳,不胜感激!

  64. Patrick  Reply to this comment

    分页插件里面不是有Number Of Many Pages To Show?这个选项么?默认是5,这里不是控制每个页面显示的篇数的么?

  65. Patrick  Reply to this comment

    哦!知道了 原来是wp本身设置的啊 呵呵 真是不好意思,我是菜鸟,老是提出一些太简单的问题!还是很感谢你的热心帮助!~~

  66. sideat  Reply to this comment

    在别人的博客里面看见这个主题的,不错~~~~就来看看
    下载支持

  67. iakuf  Reply to this comment

    哈哈,楼上超级有意思

  68. 虫儿飞  Reply to this comment

    这个模板真的很好。我的BLOG是其他程序,不是WP的。我想自己拿这用在我的BLOG上可以吗?版权什么的我都不会删除的。呵呵~

  69. underone  Reply to this comment

    只要署名都欢迎
    移植后再发布更是特别的欢迎:)

  70. xxxl  Reply to this comment

    挺漂亮的。支持一下。喜欢。

  71. YangTx  Reply to this comment

    V3的文章间、Sidebar之间界限模糊,没有V1做得好,不知V2会怎么样?

  72. underone  Reply to this comment

    V2风格不同

  73. 郑文兵  Reply to this comment

    下一次放出来的颜色是什么样的?

  74. underone  Reply to this comment

    我最喜欢的绿色

  75. YangTx  Reply to this comment

    还好没有帽子,嘿嘿。。。

  76. Wordpress Theme Series: Jan 11, 2008 - Fath’s Blog  Reply to this comment

    [...] G7v3 by [...]

  77. waxdoll  Reply to this comment

    俺是一PHP菜鸟,换用V3,程序也升级到官方最新版,出错如下:

    <a href="http://blog.usup.cn/?p=53" rel="bookmark" title="Permanent Link to
    Fatal error: Call to undefined function: the_title_attribute() in D:\WaxDoll\MyBlog\wp-content\themes\g7_v3\index.php on line 11

    另外,用V1也出错,郁闷啊,郁闷。

  78. underone  Reply to this comment

    好奇怪。。。。
    你把index.php中的11行

    1. <h2><a href="<?php the_permalink() ? rel="nofollow">" rel="bookmark" title="Permanent Link to < ?php the_title_attribute(); ?>">< ?php the_title(); ?></a></h2>

    换成

    1. <h2><a href="<?php the_permalink() ? rel="nofollow">">< ?php the_title(); ?></a></h2>

    试试

  79. Hello :D Theme - blooWorld  Reply to this comment

    [...] G7 ซึ่งล่าสุดออกมาเป็น G7 v3 แล้ว ก็พบว่า ไม่โดนเท่า G7 v1 [...]

  80. 虫儿飞  Reply to this comment

    终于移植了过来。当然没有原作精致。丢脸丢脸~遇到一个问题。就是字体的设置问题。你遇到过这样的情况吗?没有办法用CSS设置字体!这是为什么啊~

  81. underone  Reply to this comment

    没有啊。。。。。。。。。。。

  82. vipmedia.cn  Reply to this comment

    我用了你的theme后,标题却显示不出来!就是最左上角的几个大字,不见了

  83. underone  Reply to this comment

    什么浏览器。。。。。。。。。。。

  84. 主题推荐:G7 v3  Reply to this comment

    [...] 预览 + 下载 [...]

  85. LeON  Reply to this comment

    很不错的主题,特别是Title的设计很棒!

  86. GooMoo  Reply to this comment

    我还是喜欢我现在的模板

  87. aoyoo  Reply to this comment

    下载来试试```
    谢谢博主

  88. » wp-theme-g7v3 » 咖啡与烟  Reply to this comment

    [...] 下载:http://www.underone.com/2008/01/02/theme-g7v3-final/ [...]

  89. John  Reply to this comment

    我刚接触WP,很喜欢你的Theme,但是“本身自动支持”......请问什么叫自动支持,是包括这些插件的意思吗?

  90. Chris  Reply to this comment

    标题超有感觉~~无图,cool!

  91. MO  Reply to this comment

    呵呵,纯CSS的支持啊,超强^-^

  92. guxiang  Reply to this comment

    你好 的用这个主题 标题的字会挤到一起

    我修改了 h1的 内容 现在打开时不挤在一起了 但鼠标移上去就又会挤到一起

    如图:guxiang.info 请问应该修改哪一块的东西 谢谢

  93. underone  Reply to this comment

    本来是挤到一起的,就是设计的那个效果。。
    把下边css代码中的最后一行删掉就可以了

    1. #header h1 a:hover {
    2. color:#D67900;
    3. font-size: 80px;
    4. letter-spacing: -30px;
    5. }
  94. underone  Reply to this comment

    @john
    意思是你装那些插件也可以,不装也可以

  95. 乌拉诺斯  Reply to this comment

    不赖...后面我把我主题也搞个v2出来...

  96. Beach  Reply to this comment

    很不错的皮肤!
    简约风格!

  97. z.Yleo77  Reply to this comment

    颜色整体淡 、、、

  98. guxiang  Reply to this comment

    你好 我想问一下 您的评论 是用的什么插件使得 首页最近评论显示的是 谁说什么 而不是默认的谁在某文章发表了
    谢谢 啊 麻烦了

  99. underone  Reply to this comment

    是“中文工具箱”

  100. guxiang  Reply to this comment

    好的 谢谢

  101. 虫儿飞  Reply to this comment

    呵呵~期待V2的出现~

  102. iakuf  Reply to this comment

    近来没有更新啊....

  103. moyankang  Reply to this comment

    我换上了,V1 final的版本我升级了插件(tag插件)后部分文章不显示,没办法,只好换了!呵呵!不错支持你!

  104. underone  Reply to this comment

    文章不显示
    那是因为插件的其中一个选项,关了就好了
    就是在文章内容里匹配tag自动增加连接。

  105. 雪人  Reply to this comment

    测试下头像

  106. 雪人  Reply to this comment

    博主请问如何调整头像图片的大小?

  107. underone  Reply to this comment

    theme里?comments.php里有,找找

  108. 雪人  Reply to this comment

    发现V3一个问题,我想给我的博客添加个favicon图标,当我向Header.php添加<link rel="shortcut icon" type="image/ico" href="/images/favicon.ico" />后,在IE6下,博客头部就会发生侧移,而在Firefox中显示正常。请问博主是怎么回事?

  109. Sunxc  Reply to this comment

    老大 我非常喜欢你设计的主题 我把你的这个v3改了一下下
    我个人觉得把栏目分区块展现更好点 我就改动了一下
    麻烦来看看 提下意见 不过把你这么美丽的主题改成那样 看了可别心疼啊。。。。

  110. underone  Reply to this comment

    @Sunxc
    没事,V3制作的初衷就是要大家都能发挥想象力。
    @雪人
    我也不知道,你把,php冲刺你存为utf-8格式再试试
    添加的那行应该是

    1. <link rel="shortcut icon" type="image/ico" href="<?php bloginfo('stylesheet_directory'); ?>/images/favicon.ico" />
    2. </link>
  111. 雪人  Reply to this comment

    我已经按UTF-8保存了。还是一样。
    不信你试试看,郁闷。。

  112. underone  Reply to this comment

    我也加了ico,没发现错位啊……
    你的那个错位我也不知道为啥,或者你全部恢复默认css试试,看看到底哪个地方改了以后会出现

  113. 雪人  Reply to this comment

    好的,我试试看

  114. 雪人  Reply to this comment

    还是不行。。。作孽啊

  115. underone  Reply to this comment

    所以。。。。。。。。。。css也不靠谱。。。

  116. 你好  Reply to this comment

    能详细说说你都装了什么插件吗?你的模版很漂亮

  117. underone  Reply to this comment

    主要是WP中文工具箱、Blogroll Page、Clean Archives Reloaded、CoolCode、Different Posts Per Page、Google XML Sitemaps、MightyAdsense、Popularity Contest、Simple Tags、WP-PageNavi、WP 2.3 Related Posts、wp_addbookmarks、Yskin's wp-statistics

    这些

  118. 良心发现  Reply to this comment

    报告一声,使用了博主提供的模板,谢谢。然后小小的私有化了一下,这模板实在漂亮,自己都不知道改改些什么~><

  119. virile  Reply to this comment

    很好的主题,简单而强大,非常有助于我学习CSS!

  120. EEQ  Reply to this comment

    很漂亮:)
    谢谢作者达人分享!

  121. Sunxc  Reply to this comment

    老大 求助啊
    我用的这个主题 为什么速度好慢啊 我主页里没有任何广告啊,我换个主题速度就快了
    本身我用的国外主机速度就比较慢了
    但同样和我在一个主机上的人速度都比我的快 是这个主题哪里有问题么
    我禁用了所有插件速度只是感觉快一点点而已 比同样的主机上别人速度还是慢很多

  122. Sunxc  Reply to this comment

    果然是主题的问题 我换了你的V2 速度正常
    是V3哪里有bug么
    求助啊

  123. underone  Reply to this comment

    V3因为没图,所以为了实现视觉效果嵌套的DIV比较多,全部load完相对慢些。

  124. Sunxc  Reply to this comment

    没有图应该更快些才对啊
    我发现不是这个问题,是因为我在head.php里面又包含了自己的文件
    三个js脚本加载起来就比较慢了 不知道有什么方法可以解决这个问题啊

  125. underone  Reply to this comment

    .js拖慢的这个我就不太知道怎么解决了

  126. 拉奇  Reply to this comment

    请问我创建了archives.php上传到主题所在文件夹后,在撰写页面的模块选择中还是没有显示,我在用你的那个归档插件,但是究竟是什么问题?是不是主题中还需要加什么代码?加在什么位置?

  127. underone  Reply to this comment

    模版页面的话,顶端需要有模版注释,类似:

    1. < ?php
    2. /*
    3. Template Name: archives
    4. */
    5. ?>
  128. 拉奇  Reply to this comment

    我加了注释。。出现了。但是没有达到你存档的那个效果啊。一片白茫茫。。能否把你存档的那个php文件发到我邮箱。。我研究下。。我朋友和我相同的问题。。

  129. underone  Reply to this comment

    这个你看看,这是G7v2的
    http://www.underone.com/wp-content/themes/g7_v2_ME/page_archives.php

    其实就是在模版的内容部分加入如下代码:

    1. <ul>< ?php if (function_exists('clean_archives_reloaded')) { clean_archives_reloaded(); } ?></ul>
  130. 拉奇  Reply to this comment

    。。。我正好是要V2的。。我试了。。好像不行。。

  131. 拉奇  Reply to this comment

    最奇怪的是。后面背景是雪白一片。。

  132. 拉奇  Reply to this comment

    我用的是Clean Archives Reloaded1.01。。。。

  133. 拉奇  Reply to this comment

    如何加代码才能达到http://www.underone.com/archives/的效果。。。
    雪地跪求。。

  134. underone  Reply to this comment

    http://dog911.cn/archives/
    你那个页面都没页头页脚,啥都没有就一个内容,肯定不对。
    很简单,你就复制一个page.php,改名,在顶部添加模版代码,然后在内容部分添加上边我说的那段代码,再新建个page页,调用新模版,肯定应该没问题

  135. 拉奇  Reply to this comment

    恕我冒昧。。。我不知道加在内容的哪句话后面。。试了好多下。。感觉都不行