描述
此插件已于 2022 年 12 月 27 日 关闭,无法下载。 原因:安全问题。
评价
2017 年 11 月 18 日
This is very bad plugin, Do not use it if you do not want your website to be slow.
Each visit, this plugin will insert to wp_postmeta table one row. This causes the wp_postmeta table to increase the number of rows over time. Table wp_postmeta is important because every regular Wordpress query is joined to this table.
Do not use it if you do not want your website to be slow!
Example:
MariaDB [xxxxx]select * from wp_postmeta order by meta_id desc limit 10;
+---------+---------+---------------------------+------------+
| meta_id | post_id | meta_key | meta_value |
+---------+---------+---------------------------+------------+
| 138843 | 3466 | _count-views_day-20171118 | 1 |
| 138842 | 10266 | _count-views_day-20171118 | 1 |
| 138841 | 3436 | _count-views_day-20171118 | 1 |
| 138840 | 8485 | _count-views_day-20171118 | 1 |
| 138839 | 9338 | _count-views_day-20171118 | 1 |
| 138838 | 4667 | _count-views_day-20171118 | 1 |
| 138837 | 3144 | _count-views_day-20171118 | 2 |
| 138836 | 4425 | _count-views_day-20171118 | 1 |
| 138835 | 2458 | _count-views_day-20171118 | 1 |
| 138834 | 8210 | _count-views_day-20171118 | 1 |
+---------+---------+---------------------------+------------+
MariaDB [xxxxx]> select count(*) from wp_postmeta where meta_key like '%count-views_day%';
+----------+
| count(*) |
+----------+
| 71996 |
+----------+
1 row in set (0.08 sec)
Simple Wordpress query, but it takes 3.19 seconds
MariaDB [admin_dbwiki]> SELECT SQL_NO_CACHE DISTINCT post_title, ID, post_type, post_name
-> FROM wp_posts wposts
-> LEFT JOIN wp_postmeta wpostmeta ON wposts.ID = wpostmeta.post_id
-> LEFT JOIN wp_term_relationships ON (wposts.ID = wp_term_relationships.object_id)
-> LEFT JOIN wp_term_taxonomy ON (wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id)
-> WHERE (post_type='page'
-> OR (wp_term_taxonomy.taxonomy = 'category' AND wp_term_taxonomy.term_id=197))
-> AND post_status = 'publish' AND LENGTH(post_title)>=5 ORDER BY LENGTH(post_title) ASC LIMIT 500;
........
17 rows in set (3.19 sec)
2016 年 9 月 3 日
2 回复
The latest version 3.0.2 does not count the views, to fix it you should open file bawpv.php and uncomment 2 lines
line #445: // if( is_home() || is_front_page() || bawpvc_main() ) {
line #454: // }
2016 年 9 月 3 日
I do appreciate the old version plugin, it worked perfect. However, after wordpress upgraded to 4.4, the plugin will not work normally.[post_view time="day"]and [post_view time="month"]display all the same thing even I used it over one day. [post_view time="day"]will display correct number first, then after 0.1second, it will be replaced by the number from [post_view time="month"].
I believe it is the best plugin about counting views, however we got some pain now. Juliobox, could you please upgrade it asap?I would like to donate some bucks.
2016 年 9 月 3 日
Nice job... i love this plugin
2016 年 9 月 3 日
1 回复
Dudes, the previos version is working.
arash.mesf uploaded it on http://speedy.sh/KrPAh/baw-post-views-count.rar
Use until the developer fix the actual version.
2016 年 9 月 3 日
Everyone please check this link to get the plugin back to work:
https://wordpress.org/support/topic/post-view-count-quit-working