Changeset 6304
- Timestamp:
- 08/19/06 06:29:08 (2 years ago)
- Files:
-
- wp-stats/trunk/readme.html (modified) (1 diff)
- wp-stats/trunk/stats/stats.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wp-stats/trunk/readme.html
r6295 r6304 339 339 </li> 340 340 <li> 341 Type '<b> <page_stats></b>' in the post's content area (without the quotes)341 Type '<b>[page_stats]</b>' in the post's content area (without the quotes) 342 342 </li> 343 343 <li> wp-stats/trunk/stats/stats.php
r6302 r6304 468 468 469 469 ### Function: Place Statistics Page In Content 470 add_filter('the_content', 'place_stats', ' 12');470 add_filter('the_content', 'place_stats', '7'); 471 471 function place_stats($content){ 472 $content = preg_replace( "/\ <page_stats\>/ise", "stats_page()", $content);472 $content = preg_replace( "/\[page_stats\]/ise", "stats_page()", $content); 473 473 return $content; 474 474 }
