echo ""; echo ""; echo ""; echo ""; if(!is_admin){echo "";} » 调用FireStats的API来实现Wordpress上每篇文章的阅读数 仲子说

2007-10-04

调用FireStats的API来实现Wordpress上每篇文章的阅读数

Posted in PHP at 22:57 Author:仲远

标签:

FireStats??????????????????????????????FireStats??????????????????????????DIY????????????????WordPress???????single.php??<?php the_author();?>????????????????

  1. <?php
  2. $url_this"http://".$_SERVER ['HTTP_HOST'].$_SERVER['REQUEST_URI'];//?????URL
  3. if(function_exists('fs_api_get_page_views'))
  4. {
  5. $page_count = fs_api_get_page_views(NULL, true, $url_this);//?????URL?Firestats??????PV?
  6. echo $page_count;
  7. }
  8. ?>

???????????????????????????????????????????????????????????????????care????????????????????????????????

???????????????????2007?10?1??????????????????0???????????????????????(ps????????????no teeth?????????)?????????

????????????????????????????
?????http://www.wangzhongyuan.com/archives/211.html

本文可以自由转载,转载时请保留全文并注明出处:
转载自仲子说 [ http://www.wangzhongyuan.com/ ]
原文链接:

1 Comment »

  1. 锦州SEO said,

    2010年August21日 at 12:05

    这个是不错,但想问下博主,我的模板首页有个每篇文章的 评论数,但是评论的人比较少,我想给他改成浏览数,请问有什么方法么?

Leave a Comment

*
To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
Click to hear an audio file of the anti-spam word