=== Restaurant Course Manager === Contributors: shoutarou975 Donate link: Tags: restaurant, menu, course, reservation, shortcode Requires at least: 5.8 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 1.1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Manage and display restaurant courses with a simple admin UI, shortcodes, and flexible styles. == Description == 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) == Installation == 1. Upload the plugin folder `restaurant-course-manager` to the `/wp-content/plugins/` directory, or install it from the WordPress Plugins screen. 2. Activate the plugin through the “Plugins” screen in WordPress. 3. Open the “Courses” admin page (menu slug: `restcoma-courses`) to create your first course. 4. Insert the shortcode `[restcoma_courses]` into a page to display the course list. 5. Optionally adjust CSS loading in Settings → Restaurant Course Manager. == Frequently Asked Questions == = 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/or `seasonal="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. == Screenshots == 1. Courses list in the WordPress admin 2. Course edit screen 3. Course list on the frontend == Changelog == = 1.1.0 = * Admin: コース一覧でドラッグ&ドロップによる並び替えに対応(Ajax保存、nonce検証、キャッシュクリアを含む) * Admin: 一覧UIにドラッグハンドルと表示順の即時更新を追加 * Assets: jQuery UI Sortable を読み込み = 1.0.0 = * Initial release. == Upgrade Notice == = 1.1.0 = 管理画面の「すべてのコース」でドラッグ&ドロップ並び替えが可能になりました。更新後は一覧で順序を掴んで移動し、ドロップすると自動保存されます。 = 1.0.0 = Initial release. == 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.