內容簡介
總結:Restaurant Course Manager 是一個外掛,可以讓你在不使用自訂文章類型的情況下創建、管理和展示餐廳菜單,提供了專用的管理頁面、前端簡碼以及從設置中切換的可選 CSS 捆綁功能。
1. 這個外掛讓你如何操作和展示餐廳菜單?
- 提供了自訂管理頁面來新增/編輯/刪除菜單
- 使用簡單過濾器的簡碼 [restcoma_courses]
- 可選的“推薦”和“季節期間”標誌
2. 如何使用簡碼在頁面或文章中展示菜單?
- 在任何頁面或文章中使用簡碼 [restcoma_courses]
- 屬性:
- recommended="1":僅顯示推薦的菜單
- seasonal="1":僅顯示季節性的菜單
- limit="3":限制顯示的項目數量
- 範例:
- [restcoma_courses recommended="1"]
- [restcoma_courses seasonal="1" limit="5"]
3. 如何在設置中調整外觀?
- 前往設置 → Restaurant Course Manager
- 切換 CSS 捆綁(Base / Layout / Design / Responsive)
4. 如何卸載外掛?
- 刪除外掛後會發生什麼?
- 移除相關選項
- 刪除數據表格
- 如果有,移除舊的鍵
5. 這個外掛如何處理隱私?
- 只存儲菜單數據,不會默認收集個人用戶數據。
外掛標籤
開發者團隊
原文外掛簡介
Restaurant Course Manager lets you create, manage, and display restaurant courses (prix fixe menus) without using a custom post type. It provides a dedicated admin page, a frontend shortcode, and optional CSS bundles you can toggle from settings.
Key points:
– Custom admin screen to add/edit/delete courses
– Shortcode [restcoma_courses] with simple filters
– Optional “Recommended” and “Seasonal period” flags
– Separate CSS bundles (base/layout/design/responsive) you can enable/disable
– Internationalization-ready (text domain: restaurant-course-manager)
– Secure: proper sanitization and escaping, and nonces on admin actions
Data is stored in a dedicated database table created on activation (e.g. wp_rcm_courses).
Shortcode
Use the shortcode on any page or post:
[restcoma_courses]
Attributes:
– recommended="1": show only recommended courses
– seasonal="1": show only seasonal courses
– limit="3": limit the number of items
Examples:
[restcoma_courses recommended=”1″]
[restcoma_courses seasonal=”1″ limit=”5″]
Settings
Go to Settings → Restaurant Course Manager to:
– Toggle CSS bundles (Base / Layout / Design / Responsive)
Localization
Text Domain: restaurant-course-manager
Domain Path: /languages
Uninstalling
When the plugin is deleted from the Plugins screen:
– Drops the database table (e.g. wp_restcoma_courses).
– Removes related options: restcoma_enable_layout_css, restcoma_enable_design_css, restcoma_enable_responsive_css, restcoma_enable_base_css, restcoma_custom_css (and legacy restcoma_enable_default_styles). Backward-compat old keys rcm_* are also removed if present.
Privacy
This plugin stores only course data (title, price info, options, etc.) and does not collect personal user data by default.
