| 开发者 | scribu |
|---|---|
| 更新时间 | 2013年3月21日 23:52 |
| PHP版本: | 3.2 及以上 |
| WordPress版本: | 3.4 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[smart_archives] to the content.
Alternatively, you can add <?php smart_archives(); ?> anywhere in your theme, where you want the archives displayed.
See http://scribu.net/wordpress/smart-archives-reloaded for more usage examples.Make sure your host is running PHP 5. The only foolproof way to do this is to add this line to wp-config.php (after the opening <?php tag):
var_dump(PHP_VERSION);
In footer.php in your theme directory, make sure you have this code somewhere:
<?php wp_footer(); ?>.
Read this: Advanced Tweaking