Linux 软件免费装
Banner图

Most And Least Read Posts Widget

开发者 whiletrue
更新时间 2024年10月17日 15:08
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 6.6

标签

post widget posts sidebar links popular posts most read top posts least read more read less read

下载

2.5.17 1.8 1.2 1.3 1.4 1.5 1.6 2.0 2.1 2.1.2 2.1.7 2.2 2.3 2.4 2.4.1 2.4.3 2.4.4 2.5.0 2.5.1 2.5.14 2.5.2 2.5.3 2.5.4 2.5.16 1.1 1.7 1.9 2.5.15 1.0 2.5.19 2.5.18 2.5.20 2.5.5

详情介绍:

"Most And Least Read Posts Widget" is a free plugin for Wordpress. developed by Giuliano Polverari (WhileTrue.it) to generate lists of the most and least read posts. The following options are customizable: The plugin starts counting hits once activated, storing them in the "custom_total_hits" custom field without the need of external accounts. The most popular web crawlers (e.g. Googlebot) are recognized and their hits discarded; also Admin hits are discarded. Archived post hits are shown in a column inside the backend post list. The plugin is compatible with multi-language WPML plugin, showing most/least read posts for current language. Optionally, the number of hits can be shown inside the post content, with: If you want to show the post hits anywhere inside the template loop, you can the PHP function provided, e.g.: echo most_and_least_read_posts_get_hits(get_the_ID()); 代码 Also, [most_read_posts] a shortcode is available. Use it like this: [most_read_posts type="most" posts_number="5" show_thumbs="false" date_from="2016-01-01" date_to="2016-04-30"] Shortcode attributes: 参考 For more informations: www.whiletrue.it Do you like this plugin? Give a chance to our other works:

安装:

Best is to install directly from WordPress. If manual installation is required, please make sure to put all of the plugin files in a folder named most_and_least_read_posts_widget (not two nested folders) in the plugin directory, then activate the plugin through the Plugins menu in WordPress.

屏幕截图:

  • Sample Widget on site, with post hits and thumbs
  • Options available in the Admin Widget box
  • Options available in the Admin Settings menu

升级注意事项:

1.0.0 Initial release

常见问题:

I get an error message that says "no results available"

The plugin starts collecting hits once installed, so there are "no results available" for a short time, until the first data is stored. It's better to show the widget some hours (or days) after having installed it.

The same post shows up multiple times

This uncommon issue can be caused by duplicated custom fields in some posts. To solve it, inspect the post custom fields and delete unnecessary duplicates of the "custom_total_hits" field.

Can I customize the thumbs?

Yes, you can do it editing the "mlrp_ul" class in your template style.css file. E.g. 50x50 pixels images, floating on the right: .mlrp_ul img { width: 50px; height: 50px; float: right; }

更新日志:

2.5.20 2.5.5 1.9 1.0.0 Initial release