Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/s0985514623/r2-calendar/releases/download/r2-calendar-v1.0/r2-calemdar-release.zipUpdates itself. It ships its own updater (Plugin Update Checker), so new versions appear under Dashboard → Updates.
⚡一句話說明⚡:使用React 與 Custom Post Type建立一個行事曆系統(日記),用戶可以自行發文以及設定狀態公開與私人
-
如何使用
使用短碼[r2_calendar_shortcode]即可在頁面上顯示行事曆 -
單擊日期開啟編輯畫面
時間會自動取得你點擊的日期,也可以再自行點開更改日期,狀態預設有私人及公開兩種狀態 -
查看使用者日記
只能查看自己與公開的日記,私人日記為紅色標記,公開日記為綠色標記 -
更新日記
再次點擊日記即可展開彈窗進行編輯,只能編輯自己的日記,其他使用者的日記只能查看
如果有安裝WordFence 會有無法取得日記的問題,請依下方步驟執行
- 前往WordFence>Firewall 設定頁面
- 找到Brute Force Protection頁籤並展開
- 找到Additional Options裡面的Prevent discovery of usernames through '/?author=N' scans, the oEmbed API, the WordPress REST API, and WordPress XML Sitemaps關閉
Reference
- Inspired by Vite for WP
- Inspired by J7
- API design Inspired by Refine
- WordPress REST API Handbook
Releases
1 release. Each count is every asset in that release; expand a row for the breakdown.
Tag
Published
Assets
Downloads