
內容簡介
Sortable Posts使用易於使用的拖放UI,允許使用者更新文章和分類詞的排序。Sortable Posts會自動在前端排列您的文章和分類詞,以與後端的順序相同。
在您的佈景主題/外掛程式中使用Sortable Posts
Sortable Posts目前允許使用者透過加入選項面板或自訂篩選器將文章類型和分類詞加入可排序的列表中。如果您要透過篩選器加入,您可以使用 "sortable_post_types "來進行文章,使用"sortable_taxonomies"篩選器進行分類詞。
文檔可以在此找到。
https://github.com/CarlosRios/sortable-posts
外掛標籤
開發者團隊
原文外掛簡介
Sortable Posts uses and easy to use drag and drop ui to allow users to update the order of posts and taxonomy terms. Sortable Posts automatically arranges your posts and taxonomy terms on the frontend to match the order on the backend as well.
Using Sortable Posts In Your Theme / Plugin
Sortable Posts currently allows users to add post types to the list of sortable post types and taxonomies by either adding them in the options panel or by adding them via a custom filter. Should you want to add them via a filter you can use the sortable_post_types for posts and the sortable_taxonomies filter for taxonomies.
Documentation can be found here.
https://github.com/CarlosRios/sortable-posts
