內容簡介
顯示熱門文章永遠是一個好主意,但對於多語言博客,大多數常用的外掛都無法運作。這個小工具使用一些較不常用的 Popularity Contest 外掛函數,結合強大的 qTranslate 外掛來幫助你。現在你可以在任意語言中顯示熱門文章了!
更妙的是,它還具有顯示摘要和元信息的選項,並內置對「Advanced Excerpt」外掛的支援,因此您現在有更多選擇,以微調熱門文章的顯示方式。
!!! 重要提示:qTop 需要 Crowd Favorite 的「Popularity Contest」外掛才能運作。 !!!
功能
qTop 是一個不斷發展的強大小工具,它可以以 Alexander King 的「Popularity Contest」外掛為基礎,微調熱門文章/頁面的顯示方式。它支援 qTranslate 的字串篩選和顯示摘要和元信息。如果有「Advanced Excerpt」外掛,摘要顯示會使用它。
結果通過 qTranslate 字串篩選,以允許多語言博客顯示正確的文章標題
可選顯示文章元信息(作者暱稱和發佈日期)
可選顯示文章摘要
如果有「Advanced Excerpt」外掛,將會使用它
可選排除頁面
最新版本的更新內容?
0.1.2
新增:新增排除頁面的選項
新增:如果有「Advanced Excerpt」外掛,將會使用它。否則默認使用標準摘要
變更:現在改為使用 akpc 的「get_popular_posts()」,而非「get_top_ranked_posts()」函式。這樣可以在未來的版本中選擇更細緻的文章/頁面
0.1.1
新增:新增顯示文章摘要的選項(使用「qtop_excerpt」CSS 類的「div」標籤包裹)
變更:現在內部使用子迴圈,以允許模板標籤的使用
外掛標籤
開發者團隊
原文外掛簡介
Displaying popular posts is always a good idea, but on multi-language blogs most of the usual plugins won’t work. This widget is here to help, using some less well know functions of the Popularity Contest plugin combined with the powerful qTranslate plugin. Now you will be able to display top-post in as much languages as you wish!
And it get’s better: with options to display excerpts and meta-information and built-in support for the “Advanced Excerpt”-plugin, you now have even more options to fine-tune your top-posts display.
!!! IMPORTANT: qTop requires Crowd Favorite’s “Popularity Contest”-plugin to work. !!!
Features
qTop is an ever growing powerful widget to fine-tune the display of top posts/pages based on Alexander King’s “Popularity Contest” plugin. It supports String-filtering through qTranslate and the display of excertps and meta-information. Excerpt-display makes use of the “Advanced Excerpt” plugin if availabe.
results are sent through the qTranslate string-filter to allow multilanguage blogs to display correct post-titles
optional display of post meta-information (author nickname and post-date)
optional display of post excerpt
makes use of “Advanced Excerpt” plugin if available
option to exclude pages from results
What’s new in the latest versions?
0.1.2
new: added option to exclude pages from top-list
new: makes use of the “Advanced Excerpt” plugin if available, defaults to standard excerpt otherwise
changed: using akpc’s “get_popular_posts()” instead of “get_top_ranked_posts()” function now, allowing for much more fine-grained post/page selection in future releases
0.1.1
new: added option to display the post-excerpt (wrapped in a “div”-tag of the “qtop_excerpt” CSS-class)
changed: uses a sub-loop internally now to allow usage of template tags
