Skip to content

Recipes

Pods Package Code

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

{"meta":{"version":"2.7.20","build":1590602942},"pods":{"13814":{"id":13814,"name":"ingredient_tag","label":"Ingredient Tags","description":"","type":"taxonomy","storage":"meta","object":"","alias":"","fields":[],"show_in_menu":"1","label_singular":"Ingredient Tag","public":"1","show_ui":"1","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_hierarchical":"1","capability_type":"default","capability_type_custom":"ingredient_tag","query_var":"0","sort":"0","built_in_post_types_custom_css":"0","built_in_post_types_customize_changeset":"0","built_in_post_types_deleted_event":"0","built_in_post_types_fl-builder-template":"0","built_in_post_types_fl-theme-layout":"0","built_in_post_types_oembed_cache":"0","built_in_post_types_page":"0","built_in_post_types_post":"0","built_in_post_types_recipe":"1","built_in_post_types_tribe-ea-record":"0","built_in_post_types_tribe_events":"0","built_in_post_types_tribe_organizer":"0","built_in_post_types_tribe_venue":"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","built_in_post_types_covid_banner":"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_job_listing":"0","built_in_post_types_listing":"0","built_in_post_types_module":"0","built_in_post_types_product":"0","built_in_post_types_product_variation":"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"},"13815":{"id":13815,"name":"recipe_category","label":"Recipe Categories","description":"","type":"taxonomy","storage":"meta","object":"","alias":"","fields":{"featured_image":{"id":13816,"name":"featured_image","label":"Featured Image","description":"","help":"","class":"","type":"file","weight":0,"pick_object":"custom-simple","pick_val":"","sister_id":"","required":"0","file_format_type":"single","file_uploader":"attachment","file_attachment_tab":"upload","file_edit_title":"1","file_show_edit_link":"0","file_linked":"0","file_limit":"0","file_restrict_filesize":"10MB","file_type":"images","file_field_template":"rows","file_add_button":"Add File","file_modal_title":"Attach a file","file_modal_add_button":"Add File","file_wp_gallery_output":"0","file_wp_gallery_link":"post","file_wp_gallery_columns":"1","file_wp_gallery_random_sort":"0","file_wp_gallery_size":"thumbnail","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","file_allowed_extensions":""}},"show_in_menu":"1","label_singular":"Recipe Category","public":"1","show_ui":"1","hierarchical":"1","rewrite":"1","rewrite_with_front":"1","rewrite_hierarchical":"1","capability_type":"default","capability_type_custom":"recipe_category","query_var":"0","sort":"0","built_in_post_types_custom_css":"0","built_in_post_types_customize_changeset":"0","built_in_post_types_deleted_event":"0","built_in_post_types_fl-builder-template":"0","built_in_post_types_fl-theme-layout":"0","built_in_post_types_oembed_cache":"0","built_in_post_types_page":"0","built_in_post_types_post":"0","built_in_post_types_recipe":"1","built_in_post_types_tribe-ea-record":"0","built_in_post_types_tribe_events":"0","built_in_post_types_tribe_organizer":"0","built_in_post_types_tribe_venue":"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","built_in_post_types_covid_banner":"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_job_listing":"0","built_in_post_types_listing":"0","built_in_post_types_module":"0","built_in_post_types_product":"0","built_in_post_types_product_variation":"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"},"13817":{"id":13817,"name":"recipe_tag","label":"Recipe Tags","description":"","type":"taxonomy","storage":"meta","object":"","alias":"","fields":[],"show_in_menu":"1","label_singular":"Recipe Tag","public":"1","show_ui":"1","hierarchical":"0","built_in_post_types_recipe":"1","rewrite":"1","rewrite_with_front":"1","rewrite_hierarchical":"1","capability_type":"default","capability_type_custom":"recipe_tag","query_var":"0","sort":"0","built_in_post_types_custom_css":"0","built_in_post_types_customize_changeset":"0","built_in_post_types_deleted_event":"0","built_in_post_types_fl-builder-template":"0","built_in_post_types_fl-theme-layout":"0","built_in_post_types_oembed_cache":"0","built_in_post_types_page":"0","built_in_post_types_post":"0","built_in_post_types_tribe-ea-record":"0","built_in_post_types_tribe_events":"0","built_in_post_types_tribe_organizer":"0","built_in_post_types_tribe_venue":"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","built_in_post_types_covid_banner":"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_job_listing":"0","built_in_post_types_listing":"0","built_in_post_types_module":"0","built_in_post_types_product":"0","built_in_post_types_product_variation":"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"},"13818":{"id":13818,"name":"recipe","label":"Recipes","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":{"servings":{"id":13819,"name":"servings","label":"Servings","description":"","help":"","class":"","type":"text","weight":0,"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":""},"time":{"id":13820,"name":"time","label":"Time","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":""},"ingredients":{"id":13821,"name":"ingredients","label":"Ingredients","description":"","help":"","class":"","type":"wysiwyg","weight":2,"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_allowed_html_tags":""},"directions":{"id":13822,"name":"directions","label":"Directions","description":"","help":"","class":"","type":"wysiwyg","weight":3,"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_allowed_html_tags":""}},"show_in_menu":"1","label_singular":"Recipe","public":"1","show_ui":"1","supports_title":"1","supports_editor":"1","publicly_queryable":"1","exclude_from_search":"0","capability_type":"post","capability_type_custom":"recipe","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":"1","supports_thumbnail":"1","supports_excerpt":"0","supports_trackbacks":"0","supports_custom_fields":"0","supports_comments":"1","supports_revisions":"0","supports_page_attributes":"0","supports_post_formats":"0","built_in_taxonomies_category":"0","built_in_taxonomies_fl-builder-template-category":"0","built_in_taxonomies_fl-builder-template-type":"0","built_in_taxonomies_link_category":"0","built_in_taxonomies_post_tag":"0","built_in_taxonomies_tribe_events_cat":"0","menu_position":"0","menu_icon":"dashicons-carrot","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_recipe_tag":"1","built_in_taxonomies_recipe_category":"1","built_in_taxonomies_ingredient_tag":"1","built_in_taxonomies_features":"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_job_listing_type":"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_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_site_goal":"0","built_in_taxonomies_specialty":"0","built_in_taxonomies_status":"0"}}}

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:
    • Servings:
      • Label: Servings
      • Name: servings
      • Field Type: plain text field
      • Additional field options: allow shortcodes, allow html
      • Rest API: Read via REST API? Yes, Write via REST API? Yes
    • Time:
      • Label: Time
      • Name: time
      • Field Type: plain text field
      • Additional field options: allow shortcodes, allow html
      • Rest API: Read via REST API? Yes, Write via REST API? Yes
    • Ingredients:
      • Label: Ingredients
      • Name: ingredients
      • 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
    • Directions:
      • Label: Directions
      • Name: directions
      • 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
  2. Labels tab:
    • Label: Recipes
    • Singular label: Recipe
  3. Admin UI tab:
    • Menu Icon: dashicons-carrot
  4. Advanced options tab:
    • Enable Archive Page: yes
    • Supports: title, editor, author, featured image, comments
    • Built-in Taxonomies: ingredient tags, recipe tags, recipe 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: Recipe Archive
  • Type: themer layout
  • Layout: archive
  • Location: Recipe archive, Recipe category archive, Recipe tag archive, Recipe ingredient tag archive 
  • Modules:
    • Heading module: field connection set to archive title
    • 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="yes"]
</div>
[/wpbb-if]

<div class="fl-post-text">
    <h3 class="fl-post-title">[wpbb post:link text="title"]</h3>
    <div class="fl-post-meta">
    	Serves: [wpbb post:pods_template template='custom' custom_template='{@servings}']
    	<span class="fl-post-meta-sep"> | </span>
    	Prep Time: [wpbb post:pods_template template='custom' custom_template='{@time}']
    </div>
    <div class="fl-post-excerpt">
    	[wpbb post:excerpt length="10" more="..."]
    </div>
    <div class="fl-post-more-link">
        <hr>
    	[wpbb post:terms_list taxonomy='recipe_category' html_list='no' separator=', ' limit='' linked='yes']
    </div>
</div>

Custom post layout CSS:

.fl-post-grid-post {
    font-size: 14px;
}
.fl-post-text {
    padding: 20px;
}
.fl-post-title {
    font-size: 20px;
    margin: 0;
    padding: 0 0 10px;
}
.fl-post-meta {
    padding: 0 0 15px;
}

Singular themer layout settings

  • Title: Singular Recipe Layout
  • Type: themer layout
  • Layout: singular
  • Location: Recipe – all Recipes 
  • Modules:
    • Hero row with photo background set to featured image
    • Heading module – h1, field connection set to post title, margin-bottom: 0
    • Themer post content module
    • Tag cloud widget – taxonomy set to recipe tags with count display enabled
    • Themer post info module – show taxonomy – recipe categories
    • Powerpack social share module
    • Button module back to archive page
    • Themer post comments module (optional)
    • Text modules with the following shortcodes:
1) Servings: [wpbb post:pods_display field='servings'] [wpbb-if post:pods_display field='time']| Time: [wpbb post:pods_display field='time'][/wpbb-if]

2) [wpbb-if post:pods_display field='ingredients'][wpbb post:pods_display field='ingredients'][/wpbb-if]

3) [wpbb post:pods_display field='directions']

How to use pre-built Pods layouts

How to make changes to pre-built Pods layouts

Scroll To Top