I need to create a system to build menus for a wedding restaurant.
Basically, there must be several post types, let’s say, Cold Plates, Hot Plates, Main Plate, Second Plate, Drinks and Deserts. These post types will contain the various plates of each category.
Then, there must be a main Menu Form where the Menu will be formed by adding the information from the above post types (cold plates, hot plates etc.) through drop-downs.
Languages: English (English )Chinese (Simplified) (简体中文 )
Timezone: Asia/Hong_Kong (GMT+08:00)
Dear israelP,
There isn't such a feature to customize the nav menu within Views plugin.
Could you describe more details for the question:
there must be a main Menu Form where the Menu will be formed by adding the information from the above post types (cold plates, hot plates etc.) through drop-downs.
What kind of menu form do you need?
Languages: English (English )Chinese (Simplified) (简体中文 )
Timezone: Asia/Hong_Kong (GMT+08:00)
I assume you are going to use one CRED form to create posts of multiple post types (Cold Plates, Hot Plates... ), it is not possible within CRED form, one CRED form can only create posts of one post type.
You can also consider that:
1) Setup only one custom post type "plate", create a custom taxonomy "plate types", with terms:
Cold Plates, Hot Plates, Main Plate ...
2) Then you will be able to setup only one CRED form to create the "plate" post, and display the taxonomy "plate types" as a drop-down menu, see our document: https://toolset.com/documentation/user-guides/cred-shortcodes/#cred_field
single_select=’true’ will only allow a single option to be selected (by default multiple options can be selected)
3) Based on the "plate types" field value, you can display different fields of each plate types in the CRED form: https://toolset.com/documentation/user-guides/cred-conditional-display-engine/
Languages: English (English )Chinese (Simplified) (简体中文 )
Timezone: Asia/Hong_Kong (GMT+08:00)
If you are using parent/child relationships, when you edit a parent post, click button "Screen Options", enable option "Post Relationships (Parent / Child)", then you will be able to see the metabox "Post Relationships", there you can setup the child posts.
I have done that, but the existing child post types are not listed in the parent metabox. There you can creata new child, but I don't want that. I want to select several from the various existing child post types. How can I achieve that, please?
Languages: English (English )Chinese (Simplified) (简体中文 )
Timezone: Asia/Hong_Kong (GMT+08:00)
This is expected result, when you edit a parent post, you can create multiple child posts in the "Post Relationships" metabox.
In your case, I suggest you setup many-to-many relation ships between those two post types, for example: CPT1 and CPT2
Then when you edit a CPT1 post, you can select the existing CPT2 posts, see our document:
Creating and Displaying WordPress Many-to-Many Post Relationships https://toolset.com/documentation/user-guides/many-to-many-post-relationship/