Skip to content

Food/Services Menu

Pods Package Code

Copy the following package code and paste it to import the pod setup. 

{"meta":{"version":"2.7.22","build":1597689088},"pods":{"14825":{"id":14825,"name":"food_category","label":"Food Categories","description":"","type":"taxonomy","storage":"meta","object":"","alias":"","fields":[],"show_in_menu":"1","label_singular":"Food Category","public":"1","show_ui":"1","hierarchical":"1","rewrite":"1","rewrite_with_front":"1","rewrite_hierarchical":"1","capability_type":"default","capability_type_custom":"food_category","query_var":"0","sort":"0","built_in_post_types_banners":"0","built_in_post_types_covid_banner":"0","built_in_post_types_custom_css":"0","built_in_post_types_customize_changeset":"0","built_in_post_types_fl-builder-template":"0","built_in_post_types_fl-theme-layout":"0","built_in_post_types_food_menu_item":"1","built_in_post_types_gallery":"0","built_in_post_types_gcols_theme":"0","built_in_post_types_give_forms":"0","built_in_post_types_give_payment":"0","built_in_post_types_global_product_addon":"0","built_in_post_types_listing":"0","built_in_post_types_module":"0","built_in_post_types_oembed_cache":"0","built_in_post_types_page":"0","built_in_post_types_post":"0","built_in_post_types_product":"0","built_in_post_types_product_variation":"0","built_in_post_types_recipe":"0","built_in_post_types_shop_coupon":"0","built_in_post_types_shop_order":"0","built_in_post_types_shop_order_refund":"0","built_in_post_types_team_member":"0","built_in_post_types_testimonial":"0","built_in_post_types_user_request":"0","built_in_post_types_wp_block":"0","built_in_post_types_attachment":"0","menu_location":"default","menu_position":"0","show_in_nav_menus":"1","show_tagcloud":"1","show_tagcloud_in_edit":"1","show_in_quick_edit":"1","show_admin_column":"1","pfat_enable":"0","pfat_run_outside_loop":"0","pfat_append_archive":"append","rest_enable":"1","read_all":"1","write_all":"1"},"14821":{"id":14821,"name":"food_menu_item","label":"Food Menu Items","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":{"item_description":{"id":14822,"name":"item_description","label":"Item Description","description":"","help":"","class":"","type":"wysiwyg","weight":0,"pick_object":"","pick_val":"","sister_id":"","required":"0","wysiwyg_editor":"tinymce","wysiwyg_media_buttons":"1","wysiwyg_oembed":"1","wysiwyg_wptexturize":"1","wysiwyg_convert_chars":"1","wysiwyg_wpautop":"1","wysiwyg_allow_shortcode":"1","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"1","rest_write":"1","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","wysiwyg_repeatable":"0","wysiwyg_editor_height":"","wysiwyg_allowed_html_tags":""},"item_price":{"id":14823,"name":"item_price","label":"Item Price","description":"","help":"","class":"","type":"text","weight":1,"pick_object":"","pick_val":"","sister_id":"","required":"0","text_allow_shortcode":"1","text_allow_html":"1","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","pick_post_status":["publish"],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"rest_read":"1","rest_write":"1","rest_pick_response":"array","rest_pick_depth":"2","unique":"0","text_repeatable":"0","text_placeholder":""}},"show_in_menu":"1","label_singular":"Food Menu Item","public":"1","show_ui":"1","supports_title":"1","supports_editor":"0","publicly_queryable":"1","exclude_from_search":"0","capability_type":"post","capability_type_custom":"food_menu_item","capability_type_extra":"1","has_archive":"1","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_feeds":"0","rewrite_pages":"1","query_var":"1","can_export":"1","default_status":"draft","supports_author":"0","supports_thumbnail":"1","supports_excerpt":"0","supports_trackbacks":"0","supports_custom_fields":"0","supports_comments":"0","supports_revisions":"0","supports_page_attributes":"0","supports_post_formats":"0","built_in_taxonomies_category":"0","built_in_taxonomies_features":"0","built_in_taxonomies_fl-builder-template-category":"0","built_in_taxonomies_fl-builder-template-type":"0","built_in_taxonomies_gc_header_includes":"0","built_in_taxonomies_gc_hero_best_alignment":"0","built_in_taxonomies_gc_hero_cover_media":"0","built_in_taxonomies_gc_navigation_position":"0","built_in_taxonomies_gcols_hero_width":"0","built_in_taxonomies_give_log_type":"0","built_in_taxonomies_header_position":"0","built_in_taxonomies_header_transparency":"0","built_in_taxonomies_ingredient_tag":"0","built_in_taxonomies_link_category":"0","built_in_taxonomies_locations":"0","built_in_taxonomies_module_type":"0","built_in_taxonomies_module_use":"0","built_in_taxonomies_pa_color":"0","built_in_taxonomies_post_tag":"0","built_in_taxonomies_product_cat":"0","built_in_taxonomies_product_shipping_class":"0","built_in_taxonomies_product_tag":"0","built_in_taxonomies_product_type":"0","built_in_taxonomies_product_visibility":"0","built_in_taxonomies_property-types":"0","built_in_taxonomies_recipe_category":"0","built_in_taxonomies_recipe_tag":"0","built_in_taxonomies_site_goal":"0","built_in_taxonomies_specialty":"0","built_in_taxonomies_status":"0","menu_position":"0","menu_icon":"dashicons-food","show_in_nav_menus":"1","show_in_admin_bar":"1","pfat_enable":"0","pfat_run_outside_loop":"0","pfat_append_single":"append","pfat_filter_single":"the_content","pfat_append_archive":"append","pfat_filter_archive":"the_content","rest_enable":"1","read_all":"1","write_all":"1","built_in_taxonomies_food_category":"1","built_in_taxonomies_food_menu_tag":"1"},"14864":{"id":14864,"name":"food_menu_tag","label":"Food Menu Tags","description":"","type":"taxonomy","storage":"meta","object":"","alias":"","fields":[],"show_in_menu":"1","label_singular":"Food Menu Tag","public":"1","show_ui":"1","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_hierarchical":"1","capability_type":"default","capability_type_custom":"food_menu_tag","query_var":"0","sort":"0","built_in_post_types_banners":"0","built_in_post_types_covid_banner":"0","built_in_post_types_custom_css":"0","built_in_post_types_customize_changeset":"0","built_in_post_types_fl-builder-template":"0","built_in_post_types_fl-theme-layout":"0","built_in_post_types_food_menu_item":"1","built_in_post_types_gallery":"0","built_in_post_types_gcols_theme":"0","built_in_post_types_give_forms":"0","built_in_post_types_give_payment":"0","built_in_post_types_global_product_addon":"0","built_in_post_types_listing":"0","built_in_post_types_module":"0","built_in_post_types_oembed_cache":"0","built_in_post_types_page":"0","built_in_post_types_post":"0","built_in_post_types_product":"0","built_in_post_types_product_variation":"0","built_in_post_types_recipe":"0","built_in_post_types_shop_coupon":"0","built_in_post_types_shop_order":"0","built_in_post_types_shop_order_refund":"0","built_in_post_types_team_member":"0","built_in_post_types_testimonial":"0","built_in_post_types_user_request":"0","built_in_post_types_wp_block":"0","built_in_post_types_attachment":"0","menu_location":"default","menu_position":"0","show_in_nav_menus":"1","show_tagcloud":"1","show_tagcloud_in_edit":"1","show_in_quick_edit":"1","show_admin_column":"1","pfat_enable":"0","pfat_run_outside_loop":"0","pfat_append_archive":"append","rest_enable":"1","read_all":"1","write_all":"1"}}}

Themer Layouts

Archive themer layout with posts module set to main query and singular themer layout for the individual pod items.

Posts Template

Archive layout with posts module set to display pod items using custom query, fit for use on any non-themer page.

Package Includes

The following layouts are already built out and included in the themer download package. You can modify them as needed depending on the task. 

Pod Settings

  1. Manage Fields tab:
    • Description:
      • Label: Item Description
      • Name: item_description
      • Field Type: WYSIWYG
      • Additional field options: Enable Media Buttons, Enable oEmbed, Enable wptexturize, Enable convert_chars, Enable wpautop, Allow Shortcodes
      • Rest API: Read via REST API? Yes, Write via REST API? Yes
    • Price
      • Label: Item Price
      • Name: item_price
      • Field Type: plain text field
      • Additional field options: allow shortcodes, allow html
      • Rest API: Read via REST API? Yes, Write via REST API? Yes
  2. Labels tab:
    • Label: Food Menu Items
    • Singular label: Food Menu Item
  3. Admin UI tab:
    • Menu Icon: dashicons-food
  4. Advanced options tab:
    • Enable Archive Page: yes
    • Supports: title, featured image
    • Built-in Taxonomies: food menu tags, food menu categories
  5. Rest API tab:
    • Enable: yes
    • Show All Fields (read-only): yes
    • Allow All Fields To Be Updated: yes

Archive themer layout settings

  • Title: Food Menu Archive
  • Type: themer layout
  • Layout: archive
  • Location: Food Menu Item archive, Food Menu category archive, Food Menu tag archive 
  • Modules:
    • Heading module: field connection set to archive title
    • Text module: field connection set to archive description
    • Standard posts module: content set to main query
      • Layout: columns
      • Post layout: custom
      • Post spacing: 20px

Custom post layout HTML:

[wpbb-if post:featured_image]
<div class="fl-post-image">
	[wpbb post:featured_image size="large" display="tag" linked="no"]
</div>
[/wpbb-if]

<div class="fl-post-text">
    <h2 class="fl-post-title">[wpbb post:link text="title"]</h2>
    <span class="item-desc">[wpbb post:custom_field key='item_description']</span>
</div>

<div class="fl-post-price">
    $[wpbb post:custom_field key='item_price']
</div>

Custom post layout CSS:

.fl-post-grid-post {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.fl-post-image {
    flex: 0 1 100px;
}
.fl-post-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}
.fl-post-text {
    padding: 5px 20px;
    flex: 1 1 280px;
}
.fl-post-title {
    font-size: 20px;
	line-height: 26px;
	margin: 0 0 5px;
	padding: 5px 0 5px;
	border-bottom: 1px dashed #aaaaaa;
}
span.item-desc {
    font-size: 12px;
    font-style: italic;
    color: #777777;
}
.fl-post-price {
    padding: 10px;
    flex: 0 1 auto;
    text-align: right;
    font-weight: 700;
}

Singular themer layout settings

  • Title: Singular Food Item Layout
  • Type: themer layout
  • Layout: singular
  • Location: Food Item – all Food Items 
  • Modules:
    • Hero row with photo background set to featured image
    • Heading module – h1, field connection set to post title
    • Themer post info module – show taxonomy – food menu tags
    • Text modules with the following shortcodes:
1) [wpbb post:pods_display field='item_description']

2) Price: $[wpbb post:pods_display field='item_price']

3) Category: [wpbb post:terms_list taxonomy='food_category' html_list='no' display='name' separator=', ' limit='' linked='yes']

How to use pre-built Pods layouts

How to make changes to pre-built Pods layouts

Scroll To Top