Skip to content

Photo Galleries

Pods Package Code

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

{"meta":{"version":"2.7.20","build":1590620134},"pods":{"13852":{"id":13852,"name":"gallery","label":"Galleries","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":{"photo_gallery":{"id":13853,"name":"photo_gallery","label":"Photo Gallery","description":"","help":"","class":"","type":"file","weight":0,"pick_object":"custom-simple","pick_val":"","sister_id":"","required":"0","file_format_type":"multi","file_uploader":"attachment","file_attachment_tab":"upload","file_edit_title":"1","file_show_edit_link":"1","file_linked":"0","file_limit":"0","file_restrict_filesize":"10MB","file_type":"images","file_field_template":"tiles","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","file_allowed_extensions":""}},"show_in_menu":"1","label_singular":"Gallery","public":"1","show_ui":"1","supports_title":"1","supports_editor":"1","publicly_queryable":"1","exclude_from_search":"0","capability_type":"post","capability_type_custom":"gallery","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_job_listing_type":"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","built_in_taxonomies_tribe_events_cat":"0","menu_position":"0","menu_icon":"dashicons-images-alt2","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"}}}

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. 

Pods Settings

  1. Manage Fields tab:
    • Photo Gallery:
      • Label: Photo Gallery
      • Name: photo_gallery
      • Field Type: file/image/video
      • Additional field options: multiple files, show edit link, list style-tiles
      • Rest API: Read via REST API? Yes, Write via REST API? Yes
  2. Labels tab:
    • Label: Galleries
    • Singular label: Gallery
  3. Admin UI tab:
    • Menu Icon: dashicons-images-alt2
  4. Advanced options tab:
    • Enable Archive Page: yes
    • Supports: title, editor, featured image
  5. Rest API tab:
    • Enable: yes
    • Show All Fields (read-only): yes
    • Allow All Fields To Be Updated: yes

Archive themer layout settings

  • Title: Gallery Archive
  • Type: themer layout
  • Layout: archive
  • Location: Gallery 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

Singular themer layout settings

  • Title: Singular Gallery
  • Type: themer layout
  • Layout: singular
  • Location: Gallery – all Galleries 
  • Modules:
    • Heading module – h1, field connection set to post title, margin-bottom: 0
    • Standard slideshow module – field connection set to pods image field
    • Themer post navigation module
    • Text module with the following shortcode:
[wpbb post:content]

How to use pre-built Pods layouts

How to make changes to pre-built Pods layouts

Scroll To Top