Twitter

@carrielis 可以的

DarkLight 2.0

in Wordpress // 129 Comments

DarkLight 2.0 终于如期发布,上个版本 1.04 直接跳到 2.0,改了挺多东西的,优化了代码,外观上变化不大。DarkLight 2.0 只支持 WordPress 2.8+,这次没有必装的插件也可以正常运行了,支持嵌套回复,支持 Ajax 评论,支持评论分页,显示楼层序号,内嵌 WP-Pagenavi,支持 Widget……在 Firefox 3.5,Opera 10,Chrome 3 及 IE6 下测试正常,IE6 下的嵌套评论模式跟其他浏览器有点不一样,在此建议大家去弄个 IE6 必死吧,哈哈。

PS,发布出来的 DarkLight 2.0 会有部分样式跟我自己使用的主题不一样的,比如 Header 导航和 Sidebar 上的标题字体,因为每个人的使用习惯和博客内容跟我的一样,所以我这种太过自定义的样式不会放在发布版本里面。不多说,看具体说明(For English Usage, please read the “Read Before Use” file in the darklight_2 folder):

  • 只支持 WordPress 2.8 以上版本,相比 DarkLight 1.0,仅仅自带了一个 Links 模板,删去了 Guestbook 和 Archives 模板;DarkLight 2.0 已在 Firefox 3.5,Opera 10,Chrome 3,IE6 下测试,可正常使用(不知道会不会有些问题没发现,如果您使用过程中发现问题,欢迎联系本人,谢谢!)
  • 支持嵌套回复和评论分页,这两个都需要在后台的评论设置开启,嵌套回复目前只支持 3 层,目前未考虑增加更多层次的样式。
  • 评论楼层显示楼层序号,支持 Ajax 评论,自动隐藏老用户资料框,支持 Ctrl+Enter 发表留言
  • 本主题不使用任何插件也可以正常显示,并且已经内嵌 WP-Pagenavi 插件,所以如果您启用了该插件,请在后台将改插件禁用。
  • 主题支持 Widget,但还是那句话,强烈建议使用 Sidebar.php,自定义性更强。
  • 主题可能存在本人未发现的 Bug,如果您使用了本主题并发现 Bug,欢迎联系我,谢谢!

更新列表:

  1. 2010/9/20 更新:修改在无评论时 sidebar 和 footer 字体变大的 Bug。
  2. 2010/10/18 更新:修改侧边栏样式,修正使用 Widget 工具时“标签云”样式;修改嵌套评论“链接”的颜色;增加下拉菜单导航样式,当主页面包含子页面时,鼠标经过会出现下拉菜单(IE6 无视)。

预览:Preview 1 // Preview 2
演示:Live Demo

下载 DarkLight 2.0

129 responses to DarkLight 2.0

  1. stelen / September 20, 2009 / Reply

    文章没有评论的话,侧边栏的字体全部变得很大,是个问题。。。

  2. stelen / September 20, 2009 / Reply

    不仅是侧边栏,评论框的字体和footer的字体都变大了,一时找不到哪的问题。。。

  3. stelen / September 20, 2009 / Reply

    问题已经找到了,把comments.php中的

    其中拿到之前字体就正常显示

      • uubits / October 20, 2009 / Reply

        Alan,试用了一下您对外发布的2.0,界面和配色很是喜欢,但跟您自己使用中的这套一比较,就感觉相去甚远。我倒是想要您使用中的这套theme的完整代码,不知道您是否舍得?如果愿意的话就请麻烦您发到我的邮箱(profile里的那个)。不论怎样我都要感谢您为广大的Blogger们奉献了一套很棒的WP的Theme。

  4. bsod1 / September 21, 2009 / Reply

    hey alan im bsod1, did you remember?

    i dont understand what happened to alanoy.com, could you give some english information?

    and new darklight is great,i’ll start to work for upgrade my page, if its possible to give the psd’s again,for new darklight(with new fonts) :)

    thanks for your support

    • Alan / September 21, 2009 / Reply

      Hi bro, I remember you. There’s nothing wrong with alanoy.com, I just wanna a new start, new born :D

      I still use Avent font in my DarkLight 2.0, for new psd, only submit button changed, and the thread comments’ background added, nothing more special.

      • bsod1 / September 21, 2009 / Reply

        ah, ok then, now i’m at school, far far away from my computer. when i setup my workspace i’ll upgrade my page.

        thank you for this great theme and good luck for your new starting

  5. 习惯 / September 22, 2009 / Reply

    哈哈,我也算是这个darklight系列主题的忠实粉丝了。
    从开始发现的V1.02到V1.04 现在的V2 我一直保持的同步的更新。
    只要你发现你发布新的版本,立马拿来汉化并使用。

    这里说的汉化,您的这个主题都是英文的,怎么没出过中文版呢?
    呵呵,只是一个建议。

  6. ltfox / September 25, 2009 / Reply

    我用的时候,留言功能在火狐和chrome里都用不了……不知道为啥orz

  7. Hugo Doria / September 25, 2009 / Reply

    Hi Alanoy,

    Awesome theme. I am using it on my blog. I have two questions:

    1) How can i add the twitter link on the sidebar?
    2) What’s the font that are you using and where can i get it?

    • Alan / September 25, 2009 / Reply

      Hi Hugo, to add you twitter link, you can follow the step below:

      1. add these codes to your sidebar.php

      <div class="side-item side_twitter_top">
          <div class="sidemid">
            <div class="side_twitter">
              <h2 id="twitter">TWITTER</h2>
              <a href="your twitter link" title="Follow me on twitter" alt="Twitter" rel="nofollow">Click To Follow Me On Twitter</a> </div>
          </div>
          <div class="sidebottom"></div>
        </div>

      2. add codes below to your style.css

      .side_twitter_top {
          margin-top: 10px;
      }
      .side_twitter {
          position: relative;
      }
      h2#twitter {
          background: url(images/twitter.png) no-repeat right 0;
          height: 48px;
          width: 48px;
          position: absolute;
          right: 2px;
          top: -32px;
          padding: 0 !important;
      }
      .side_twitter a, .side_twitter a:visited {
          padding: 0 15px;
          font-size: 13px;
          font-style: italic;
          color: #87A6C3 !important;
          display: block;
      }
      .side_twitter a:hover {
          color: #95D04F !important;
      }

      And you can download the font here

    • Alan / September 25, 2009 / Reply

      The font just for making images, then write css code to display, it won’t work if just put the font anywhere.

  8. whitenight / September 26, 2009 / Reply

    刚刚进来吓了我一跳

    嘿嘿嘿
    alan能不能做个QQ09 sp4的皮肤呢

Trackbacks/Pingbacks:

  1. 国人原创黑色主题:DarkLight « WordPress主题博客
  2. 网页设计,GUI设计,wordpress | Tanx' blog(设计点滴)
  3. 国人原创黑色主题:DarkLight | 学好
  4. 国人原创黑色主題:DarkLight 免費模板下載cms info site | cms info site
  5. 国人原创黑色主題:DarkLight 免費模板下載 | cms info site

Leave a Reply