插件

本站使用的WordPress插件

Theme Test Drive
模板测试插件(08/12/28)

No Self Pings
解决 Wordpress 内部文章互 Ping 的插件(08/09/18)

中文 WordPress 工具箱
基本只用到日志截段功能

CoolCode
代码高亮插件

Dean’s Permalinks Migration
转换文章永久链接

Disable autosave
屏弊WP的自动保存功能

DupPrevent
据说可以防止你的ADSENSE被GOOGLE封

Full Text Feed
FEED全文输出插件

Lightbox 2
图片显示暗箱效果

Plugin Update Plus
自动查找升级你的插件

Spam Karma 2
防止垃圾留言的插件

WordPress Database Backup
备份WordPress数据库

WP-PageNavi
一个分页插件

WP-PostViews
日志查看数插件

Related Posts
显示相关文章的插件

WordPress, 心情日记 7,162 人浏览 9条评论

不用插件,简单实现留言倒序

因为大多主题的留言薄都是将最新留言放在最下面,所以很不习惯,通过小修小改即可把留言顺序按照最新留言放在上面了——即实现倒序。

修改 comments.php 里面的评论顺序

1
2
3
4
//也很简单,只需要在文件中替换一处代码:
<?php foreach ($comments as $comment) : ?>
//替换成:
<?php foreach (array_reverse($comments) as $comment) : ?> 

如果有评论编号,做如下要改

通过上面的修改你的留言顺序应该倒过来了,如果有序号的话,还须把序号倒过来才算完美。不过有不少的模板主题的编号代码都不一样,有$iCommentCount或$iCommentnumber,我们仅用$iCommentCount做例子:

1
2
3
4
5
6
7
$iCommentCount = 0;
//...
<?php $iCommentCount++; echo($iCommentCount); ?>
//需要改成初始值为评论总数,输出一次自减一次,循环:
$iCommentCount = get_comments_number();
//...
<?php echo($iCommentCount); $iCommentCount--; ?>

收藏自:http://seosem.ws/wordpress/no-plugin-guestbook-sort/

WordPress 1,195 人浏览 1条评论

关注北京2008 – 奥运倒计时flash插件

在侧栏加了个北京2008奥运倒计时flash插件

【注意】时间取的是本地计算机时间(您正在使用的电脑),因为考虑到网络连接接入以及程序的复杂度,因此没有取标准的北京时间,所以如果您自己的电脑时间设置错误,这个倒计时肯定是有所偏差的。这一点也希望大家多多理解。其实解决方案,用ServerProxy或者WebService都可以搞定,等我忙完之后也会考虑来补上。 目前发现有大量反向链接来到这个地址,有一些似乎是“Spam Site”,申明一下,这里只是我的个人blog而已,任何使用这个倒计时牌的网站均与我没有任何关系。

140X260 版:

1
<center><embed src="http://aw.awflasher.com/2008.swf" style="overflow: hidden; width: 140px; height: 260px" TYPE="application/x-shockwave-flash" height="260" width="140"></embed></center>

155X37 mini版

1
<center><embed src="http://aw.awflasher.com/2008lite.swf" style="overflow: hidden; width: 155px; height: 37px" TYPE="application/x-shockwave-flash" height="37" width="155"></embed></center>

转自aw’s blog

公益信息 2,389 人浏览 1条评论

十个最好的Firefox扩展插件列表

Webware针对不同用户的需求整理了不同的最佳Firefox扩展,相信总有一份列表你会满意,从中发现有价值的内容方便自己的使用。列表如下:

Download.com: Best extensions for Firefox 2
Webware.com’s brothers at Download.com have a good general list, as covered inthis post.

About.com: Top 10 Firefox extensions
A collection of some of the most popular and useful general Firefox extensions.

Irfan Habib: My top 10 Firefox extensions
A thoughtful list for serious Firefox users. See also the comments to this post, which point to other good extensions.

Read/Write Web: Top 10 Firefox Web 2.0 add-ons
The focus is on effective browsing, bookmarks, and RSS. A good lineup if you explore the Web a lot and want to keep track of things you find.

The Simple Dollar: 10 Firefox plugs that save you money
Love the premise, even if it’s stretched a bit thin in this list. This is an unconventional list of extensions that, one way or another, can impact your pocketbook.

阅读全文 »

网络应用 2,346 人浏览 没有评论

本站使用的WordPress插件安装方法

这里是我使用的WP插件,下面是我的安装方法。

网站地图插件Dagon Design Sitemap Generator

复制page.php文件并重命名为 sitemap.php,将如下代码:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
< ?php get_header(); ?>
    <div id="content" class="narrowcolumn">
        < ?php if (have_posts()) : while (have_posts()) : the_post(); ?>		
        <div class="post" id="post-<?php the_ID(); ?>">			
            <div class="entry">
		< ?php the_content('<p class="serif">阅读全文 &raquo;'); ?>
		< ?php wp_link_pages(array('before' => '<p><strong>页面: </strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
	    </div>			
	</div>		
	< ?php endwhile; endif; ?>		
	< ?php edit_post_link('编辑', '<p>', ''); ?>	
    </div>
< ?php get_sidebar(); ?>
< ?php get_footer(); ?>

改为如下代码:

阅读全文 »

WordPress 3,132 人浏览 11条评论
共 2 页12
顶端
底端