1, first step, find wp-config.php
ad the code below
define(‘WP_POST_REVISIONS’, false);//to stop the article revision
2,upload two plugins as follows
1,wp-pagenavi:for pages
2,super-switch:to make ID continuum
3, find the wp-includes/functions.php
add the code below
//count 1 day post count1day()<BR>function count1day()<BR>{<BR>global $wpdb;<BR>$strsql = “SELECT count( ID ) AS c FROM wp_posts WHERE post_date > SUBDATE(NOW(),INTERVAL 1 day)” ;<BR>$xxooxx = $wpdb->get_var($strsql);<BR>return $xxooxx;<BR>}<BR>//count 1 day post count1day()<BR>//count 1 week post count1week()<BR>function count1week()<BR>{<BR>global $wpdb;<BR>$strsql = “SELECT count( ID ) AS c FROM wp_posts WHERE post_date > SUBDATE(NOW(),INTERVAL 1 week)” ;<BR>$xxooxx = $wpdb->get_var($strsql);<BR>return $xxooxx;<BR>}<BR>//count 1 week post count1week()<BR>//count post<BR>function countsend()<BR>{<BR>global $wpdb;<BR>$strsql = “SELECT count( ID ) AS c FROM wp_posts” ;<BR>$xxooxx = $wpdb->get_var($strsql);<BR>return $xxooxx;<BR>}<BR>//count post
4,find the file wp-includes/general-template.php
add the code below
<BR>//$title = strip_tags( apply_filters( ’single_post_title’, $post->post_title ) );//原代码 替换成以下<BR>$title = strip_tags( apply_filters( ’single_post_title’, $post->post_title ) ).”:”.strip_tags( apply_filters( ’single_post_content’, $post->post_content ) );<BR>if(strlen($title) > 120)<BR>$title = mb_substr($title,0,120,’UTF-8′).”…”;<BR>
OVER
try that, and it works

June 5th, 2009 at 12:29 am
yes! do you speak english?
March 21st, 2010 at 11:04 pm
Hey i am new to this board, Iv been floating around for abit as a guest and thought id pop in and introduce myself.
Thanks