插件之limit post

我现在很是郁闷,不知道donews的谁人装的这些插件.在http://labitacora.net/comunBlog/limit-post.phps里面说的很清楚了.看下面的粗体部分.

/*
Plugin Name: Limit Posts
Plugin URI: http://labitacora.net/comunBlog/limit-post.phps
Description: Limits the displayed text length on the index page entries and generates a link to a page to read the full content if its bigger than the selected maximum length.
Usage: the_content_limit($max_charaters, $more_link)
Version: 1.1
Author: Alfonso Sánchez-Paus Díaz y Julián Simón de Castro
Author URI: http://labitacora.net/
License: GPL
Download URL: http://labitacora.net/comunBlog/limit-post.phps
Make:
    In file index.php
    replace the_content()
    with the_content_limit(1000, “more”)
*/

我现在想问的是,我们能够在index.php中replace吗?郁闷啊,不知道管理员在装插件的过程中有没有看下说明.或者是我愚笨,说不定真的可以replace,只是我没有找到方法而已.谁做好了的,给个演示看看.还有,发现通过侧边栏编辑的那个插件好象代码会被自动屏蔽,不知道大家有没有这样的问题.

This entry was posted in 胡思乱想. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *