
內容簡介
在你的 AMP 內容中添加最近的文章。透過選項頁面擴充 AMP 外掛 (Automattic),通過在外掛模板中添加的短碼與所有其他 AMP 外掛一起運行。短碼允許自定義鏈接的端點(以適應你正在使用的 AMP 外掛)、添加標題並設置總鏈接數的限制。
2.0 版本新增功能
如果你使用 Automattic 非常受歡迎的 AMP 外掛 ,現在你可以使用新的選項頁面了!該插件使用 AMP footer hook 將最近的文章添加到你的 AMP 內容中,並帶有一系列新功能:
支援文章類型:返回文章、頁面或任何自定義文章類型
顯示特色圖像
顯示日期
排除帖子按 ID
更改 hook 的優先級
同時預設選項包括設置自定義端點、標題和帖子最大數量。
在2.0更新中,我們完全重寫了插件(更好的查詢、更好的兼容性、錯誤修正),並考慮了您的需求。盡管我們進行了全面測試,但仍有可能漏訴,如果您發現任何不一致之處,請告知我們,感謝!
該插件是積極維護,但不提供支持。然而,我會在插件網站的評論區回答任何問題並在存儲庫中創建常見問題解答。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Adds recent posts to your AMP content. Extends the AMP plugin (Automattic) via options page, works alongside all other AMP plugins by use of shortcode added to the plugins template. Shortcode allows to customize the endpoint of the links (to fit the AMP plugin you are using), add a title, and set a limit to the total amount of links.
NEW IN 2.0
If you make use of the popular AMP plugin by Automattic you can now use of the new options page! The plugin uses the AMP footer hook to add Recent Posts to your AMP content and comes with a series of new functions:
Post type support: return posts, pages or any other including custom post type
Display featured images
Display the date
Exclude posts by ID
Change the priority of the hook
As well the default options of setting a custom endpoint, heading and max number of posts.
With the 2.0 update we completely rewritten the plugin (better queries, better compatibility, bug fixes) with you in mind. Although we’ve tested
extensively something might have slipped through, kindly let us know if you find any
inconsistencies, thank you!
This plugin is actively maintained but will not be supported. I will however try to answer any questions in the comment section of the plugin website and create a FAQ here in the repository.
