开发者 | valendesigns |
---|---|
更新时间 | 2010年12月7日 06:08 |
捐献地址: | 去捐款 |
PHP版本: | 2.7 及以上 |
WordPress版本: | 3.0.2 |
<?php circulation_count( $ids, $default, $echo, $format ); ?>
in your theme files. The following is an explanation of the parameters the function excepts.
<?php circulation_count( 'psdtuts', 15000 ); ?>
If I wanted to save the count to a variable as a plain integer that I could add to another count or something similar I would do this.
<?php $circulation_count = circulation_count( 'psdtuts', 15000, false, false ); ?>
If I wanted to echo a formatted count form an array of $ids with a fallback, I would do this.
<?php circulation_count( array('psdtuts', 'nettuts'), 200000 ); ?>
feedburner-circulation
folder to the /wp-content/plugins/
directoryYes! Your server must have simplexml_load_file()
available or the plugin will fail to work properly. Basically, you server needs to be running PHP 5.
get_feedburner_circulation_text()
feedburner_circulation_text()
set_transient()
to save the count instead of a dedicated feedburner table