وضاحت
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.
انسٽاليشن
- 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.
FAQ
-
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.
جائزا
ھن پلگ ان لاءِ ڪي به رايا ناھن.
تعاون ڪندڙ & ڊولپرز
“Restaurant Course Manager” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.
تعاون ڪندڙترجمو ڪريو “Restaurant Course Manager” توهان جي ٻولي ۾.
ڊولپمينٽ ۾ دلچسپي؟
ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.
لاگ تبدیل ڪريو
1.1.0
- Admin: コース一覧でドラッグ&ドロップによる並び替えに対応(Ajax保存、nonce検証、キャッシュクリアを含む)
- Admin: 一覧UIにドラッグハンドルと表示順の即時更新を追加
- Assets: jQuery UI Sortable を読み込み
1.0.0
- Initial release.