WordPress,使用YARPP做相關文章功能

wordpress-yet-another-related-posts-plugin

內容媒體網站通常會希望有相關文章功能,這時候可以使用類似YARPP這個Plugin來達成這個需求。例如知識家文章底部也有這個功能。

螢幕擷圖存為 2014-07-10 19:38:00
如果你不想付費,可以只使用YARPP Basic就好,主要Features如下。

1.Keep YARPP Basic for Standard Features
2.Thumbnail or list view of related content.
3.Related posts, pages, and custom post types.
4.Templating: The YARPP templating system gives you advanced control of how your results are displayed.
5.An advanced and versatile algorithm: Using a customizable algorithm considering post titles, content, tags, categories, and custom 6.taxonomies, YARPP finds related content from across your site. Learn More.
7.Related posts in feeds: Display related posts in RSS feeds with custom display options.

安裝完該YARPP Plugin之後,你可以設定很多功能,主要如下。

螢幕擷圖存為 2014-07-10 19:40:09

其中的顯示設定不建議點選Automatically display,而是在你要的位置加入related_post()這個函式。這樣才可以顯示在自己想要的位置。

(閱讀:WordPress七天速成班:打造吸睛的風格化網站與部落格