PHP:
<?php $Plugins->call_by_code( 'ministats', array() ); ?>
Usage/Customization
You can change the way the stats look by passing several parameters when you call the plugin. Change the code above like this to customize the way the stats are presented:
<?php $Plugins->call_by_code( 'ministats', array(
'blog' => 1, // Show stats for all blogs
'date_format' => 'F j, Y', // Specify a date format
'limit' => 20 // Number of posts in list (default: 5)
'morelink' => false, // Omit the more link
'stats' => array('words', 'views', 'comments', 'mini'), // Change the order of stat types
) ); ?>
call_by_code( 'ministats', array( 'stats' => array('views') ) ); ?>
call_by_code( 'ministats', array() ); ?>
This post has 1 feedback awaiting moderation...
Comments are closed for this post.
Original b2evolution template design by AstonishMe
Recent comments