If you intresting in sport buy steroids online you find place where you can find information about steroids

To make a micro-blog as twitter by wordpress

Add comments

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

Incoming search terms for the article:

Related Benz News

Personal May 22nd 2009

2 Responses to “To make a micro-blog as twitter by wordpress”

  1. BuyViagra Says:

    yes! do you speak english? :)

  2. Arcarlscorn Says:

    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

Leave a Reply