Mô tả
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.
Cài đặt
- Upload the plugin folder
restaurant-course-managerto the/wp-content/plugins/directory, or install it from the WordPress Plugins screen. - Activate the plugin through the “Plugins” screen in WordPress.
- Open the “Courses” admin page (menu slug:
restcoma-courses) to create your first course. - Insert the shortcode
[restcoma_courses]into a page to display the course list. - Optionally adjust CSS loading in Settings Restaurant Course Manager.
Hỏi đáp
-
Can I disable the plugin’s styles?
-
Yes. In Settings Restaurant Course Manager, you can disable any CSS bundle.
-
How do I show only recommended or seasonal courses?
-
Use the shortcode attributes:
recommended="1"and/orseasonal="1". -
How can I change the price display?
-
Use the “Display price text” field (e.g. “$49 per person (incl. tax)”). For numeric price, the plugin outputs a formatted value.
-
Does it create custom post types?
-
No, courses are stored in a dedicated database table managed by the plugin’s admin screen.
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“Restaurant Course Manager” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Restaurant Course Manager” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.1.0
- Admin: コース一覧でドラッグ&ドロップによる並び替えに対応(Ajax保存、nonce検証、キャッシュクリアを含む)
- Admin: 一覧UIにドラッグハンドルと表示順の即時更新を追加
- Assets: jQuery UI Sortable を読み込み
1.0.0
- Initial release.