开发者 | devdesigndazzle |
---|---|
更新时间 | 2025年3月11日 12:04 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.7 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
/wp-content/plugins/
Views are tracked with duplicate prevention using both sessions and cookies (6-hour window). Admin views and bot traffic are automatically filtered out.
Multiple options available:
[dddPostViews]
or [dddPostViews timeframe="monthly"]
<?php echo dddPostViews_display_post_views(); ?>
[dddPostViews_top_posts number="5" timeframe="monthly" excerpt_length="15"]
No, the plugin uses WordPress caching system and optimized database queries to maintain fast performance.
Advanced bot detection includes:
dddPostViews_POST_VIEWS_VERSION
dddPostViews_PLUGIN_PATH
dddPostViews_PLUGIN_URL
Yes, use CSS to style:
.ddd-post-views
- Basic view counter.ddd-top-posts-grid
- Top posts grid container.ddd-top-post
- Individual post card.ddd-post-excerpt
- Post excerpt in grid view.ddd-post-thumbnail
- Post thumbnail container.ddd-post-content
- Post content wrapperexcerpt_length
parameter
display
parameter