Photo credit: Books by Abee5 on Flickr.

Type: Book Topic: Food Safety

A book published by FLAG in a topic area of interest and need to family farmers and their advocates.



Publications
Farmers’ Guide to the Minnesota Cottage Food Law 2017 (9/1/2017)

Debug Report

/web/virtual/004/flaginc.org/htdocs/wp-content/themes/flag/functions.php

adding infinite scroll support [functions.php>flag_infinite_scroll_init>50]

/web/virtual/004/flaginc.org/htdocs/wp-content/themes/flag/taxonomy-pubtype.php

/web/virtual/004/flaginc.org/htdocs/wp-content/themes/flag/taxonomy-topic.php

/web/virtual/004/flaginc.org/htdocs/wp-content/themes/flag/header.php

/web/virtual/004/flaginc.org/htdocs/wp-content/themes/flag/heroimage.php

image 1253 ID

TAX:

WP_Taxonomy Object
(
    [name] => pubtype
    [label] => Publication Types
    [labels] => stdClass Object
        (
            [name] => Publication Types
            [singular_name] => Type
            [search_items] => Search Publication Types
            [popular_items] => Popular Publication Types
            [all_items] => All Publication Types
            [parent_item] => Parent Type
            [parent_item_colon] => Parent Type:
            [name_field_description] => The name is how it appears on your site.
            [slug_field_description] => The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.
            [parent_field_description] => 
            [desc_field_description] => The description is not prominent by default; however, some themes may show it.
            [edit_item] => Edit Type
            [view_item] => View Tag
            [update_item] => Update Type
            [add_new_item] => Add New Type
            [new_item_name] => New Type Name
            [separate_items_with_commas] => Separate Publication Types with commas
            [add_or_remove_items] => Add or remove Publication Types
            [choose_from_most_used] => Choose from the most used Publication Types
            [not_found] => No tags found.
            [no_terms] => No tags
            [filter_by_item] => 
            [items_list_navigation] => Tags list navigation
            [items_list] => Tags list
            [most_used] => Most Used
            [back_to_items] => ← Go to Tags
            [item_link] => Tag Link
            [item_link_description] => A link to a tag.
            [menu_name] => Publication Types
            [name_admin_bar] => Type
            [archives] => All Publication Types
            [template_name] => Type Archives
        )

    [description] => These publication types describe the format or purpose of publications.
    [public] => 1
    [publicly_queryable] => 1
    [hierarchical] => 
    [show_ui] => 1
    [show_in_menu] => 1
    [show_in_nav_menus] => 1
    [show_tagcloud] => 1
    [show_in_quick_edit] => 1
    [show_admin_column] => 
    [meta_box_cb] => post_tags_meta_box
    [meta_box_sanitize_cb] => taxonomy_meta_box_sanitize_cb_input
    [object_type] => Array
        (
            [0] => publication
        )

    [cap] => stdClass Object
        (
            [manage_terms] => manage_categories
            [edit_terms] => manage_categories
            [delete_terms] => manage_categories
            [assign_terms] => edit_posts
        )

    [rewrite] => Array
        (
            [with_front] => 1
            [hierarchical] => 1
            [ep_mask] => 0
            [enabled] => 1
            [slug] => pubtype
        )

    [query_var] => pubtype
    [update_count_callback] => 
    [show_in_rest] => 
    [rest_base] => 
    [rest_namespace] => 
    [rest_controller_class] => 
    [rest_controller] => 
    [default_term] => 
    [sort] => 
    [args] => 
    [_builtin] => 
    [wpcf-tax] => pubtype
    [slug] => pubtype
    [supports] => Array
        (
            [publication] => 1
        )

    [query_var_enabled] => 1
)

TAX:

WP_Taxonomy Object
(
    [name] => topic
    [label] => Topics
    [labels] => stdClass Object
        (
            [name] => Topics
            [singular_name] => Topic
            [search_items] => Search Topics
            [popular_items] => Popular Topics
            [all_items] => All Topics
            [parent_item] => Parent Topic
            [parent_item_colon] => Parent Topic:
            [name_field_description] => The name is how it appears on your site.
            [slug_field_description] => The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.
            [parent_field_description] => 
            [desc_field_description] => The description is not prominent by default; however, some themes may show it.
            [edit_item] => Edit Topic
            [view_item] => View Tag
            [update_item] => Update Topic
            [add_new_item] => Add New Topic
            [new_item_name] => New Topic Name
            [separate_items_with_commas] => Separate Topics with commas
            [add_or_remove_items] => Add or remove Topics
            [choose_from_most_used] => Choose from the most used Topics
            [not_found] => No tags found.
            [no_terms] => No tags
            [filter_by_item] => 
            [items_list_navigation] => Tags list navigation
            [items_list] => Tags list
            [most_used] => Most Used
            [back_to_items] => ← Go to Tags
            [item_link] => Tag Link
            [item_link_description] => A link to a tag.
            [menu_name] => Topics
            [name_admin_bar] => Topic
            [archives] => All Topics
            [template_name] => Topic Archives
        )

    [description] => These are the informational topics associated with publications.
    [public] => 1
    [publicly_queryable] => 1
    [hierarchical] => 
    [show_ui] => 1
    [show_in_menu] => 1
    [show_in_nav_menus] => 1
    [show_tagcloud] => 1
    [show_in_quick_edit] => 1
    [show_admin_column] => 
    [meta_box_cb] => post_tags_meta_box
    [meta_box_sanitize_cb] => taxonomy_meta_box_sanitize_cb_input
    [object_type] => Array
        (
            [0] => publication
        )

    [cap] => stdClass Object
        (
            [manage_terms] => manage_categories
            [edit_terms] => manage_categories
            [delete_terms] => manage_categories
            [assign_terms] => edit_posts
        )

    [rewrite] => Array
        (
            [with_front] => 1
            [hierarchical] => 1
            [ep_mask] => 0
            [enabled] => 1
            [slug] => topic
        )

    [query_var] => topic
    [update_count_callback] => 
    [show_in_rest] => 
    [rest_base] => 
    [rest_namespace] => 
    [rest_controller_class] => 
    [rest_controller] => 
    [default_term] => 
    [sort] => 
    [args] => 
    [_builtin] => 
    [wpcf-tax] => topic
    [slug] => topic
    [supports] => Array
        (
            [publication] => 1
        )

    [query_var_enabled] => 1
)

term:

WP_Term Object
(
    [term_id] => 39
    [name] => Book
    [slug] => book
    [term_group] => 0
    [term_taxonomy_id] => 42
    [taxonomy] => pubtype
    [description] => A book published by FLAG in a topic area of interest and need to family farmers and their advocates.
    [parent] => 0
    [count] => 10
    [filter] => raw
)

featuring:

/web/virtual/004/flaginc.org/htdocs/wp-content/themes/flag/content-publication.php

/web/virtual/004/flaginc.org/htdocs/wp-content/themes/flag/footer.php

/web/virtual/004/flaginc.org/htdocs/wp-content/themes/flag/loginlink.php

/web/virtual/004/flaginc.org/htdocs/wp-content/themes/flag/google.php

$wp_query

WP_Query Object
(
    [query] => Array
        (
            [pubtype] => book
            [topic] => food-safety
        )

    [query_vars] => Array
        (
            [pubtype] => book
            [topic] => food-safety
            [error] => 
            [m] => 
            [p] => 0
            [post_parent] => 
            [subpost] => 
            [subpost_id] => 
            [attachment] => 
            [attachment_id] => 0
            [name] => 
            [pagename] => 
            [page_id] => 0
            [second] => 
            [minute] => 
            [hour] => 
            [day] => 0
            [monthnum] => 0
            [year] => 0
            [w] => 0
            [category_name] => 
            [tag] => 
            [cat] => 
            [tag_id] => 
            [author] => 
            [author_name] => 
            [feed] => 
            [tb] => 
            [paged] => 0
            [meta_key] => 
            [meta_value] => 
            [preview] => 
            [s] => 
            [sentence] => 
            [title] => 
            [fields] => 
            [menu_order] => 
            [embed] => 
            [category__in] => Array
                (
                )

            [category__not_in] => Array
                (
                )

            [category__and] => Array
                (
                )

            [post__in] => Array
                (
                )

            [post__not_in] => Array
                (
                )

            [post_name__in] => Array
                (
                )

            [tag__in] => Array
                (
                )

            [tag__not_in] => Array
                (
                )

            [tag__and] => Array
                (
                )

            [tag_slug__in] => Array
                (
                )

            [tag_slug__and] => Array
                (
                )

            [post_parent__in] => Array
                (
                )

            [post_parent__not_in] => Array
                (
                )

            [author__in] => Array
                (
                )

            [author__not_in] => Array
                (
                )

            [search_columns] => Array
                (
                )

            [ignore_sticky_posts] => 
            [suppress_filters] => 
            [cache_results] => 1
            [update_post_term_cache] => 1
            [update_menu_item_cache] => 
            [lazy_load_term_meta] => 1
            [update_post_meta_cache] => 1
            [post_type] => 
            [posts_per_page] => 10
            [nopaging] => 
            [comments_per_page] => 50
            [no_found_rows] => 
            [taxonomy] => pubtype
            [term] => book
            [order] => DESC
        )

    [tax_query] => WP_Tax_Query Object
        (
            [queries] => Array
                (
                    [0] => Array
                        (
                            [taxonomy] => pubtype
                            [terms] => Array
                                (
                                    [0] => book
                                )

                            [field] => slug
                            [operator] => IN
                            [include_children] => 1
                        )

                    [1] => Array
                        (
                            [taxonomy] => topic
                            [terms] => Array
                                (
                                    [0] => food-safety
                                )

                            [field] => slug
                            [operator] => IN
                            [include_children] => 1
                        )

                )

            [relation] => AND
            [table_aliases:protected] => Array
                (
                    [0] => wpowc_term_relationships
                    [1] => tt1
                )

            [queried_terms] => Array
                (
                    [pubtype] => Array
                        (
                            [terms] => Array
                                (
                                    [0] => book
                                )

                            [field] => slug
                        )

                    [topic] => Array
                        (
                            [terms] => Array
                                (
                                    [0] => food-safety
                                )

                            [field] => slug
                        )

                )

            [primary_table] => wpowc_posts
            [primary_id_column] => ID
        )

    [meta_query] => WP_Meta_Query Object
        (
            [queries] => Array
                (
                )

            [relation] => 
            [meta_table] => 
            [meta_id_column] => 
            [primary_table] => 
            [primary_id_column] => 
            [table_aliases:protected] => Array
                (
                )

            [clauses:protected] => Array
                (
                )

            [has_or_relation:protected] => 
        )

    [date_query] => 
    [queried_object] => WP_Term Object
        (
            [term_id] => 39
            [name] => Book
            [slug] => book
            [term_group] => 0
            [term_taxonomy_id] => 42
            [taxonomy] => pubtype
            [description] => A book published by FLAG in a topic area of interest and need to family farmers and their advocates.
            [parent] => 0
            [count] => 10
            [filter] => raw
        )

    [queried_object_id] => 39
    [request] => SELECT SQL_CALC_FOUND_ROWS  wpowc_posts.ID
					 FROM wpowc_posts  LEFT JOIN wpowc_term_relationships ON (wpowc_posts.ID = wpowc_term_relationships.object_id)  LEFT JOIN wpowc_term_relationships AS tt1 ON (wpowc_posts.ID = tt1.object_id)
					 WHERE 1=1  AND ( 
  wpowc_term_relationships.term_taxonomy_id IN (42) 
  AND 
  tt1.term_taxonomy_id IN (47)
) AND ((wpowc_posts.post_type = 'publication' AND (wpowc_posts.post_status = 'publish' OR wpowc_posts.post_status = 'acf-disabled')))
					 GROUP BY wpowc_posts.ID
					 ORDER BY wpowc_posts.post_date DESC
					 LIMIT 0, 10
    [posts] => Array
        (
            [0] => WP_Post Object
                (
                    [ID] => 2844
                    [post_author] => 7
                    [post_date] => 2017-09-01 14:35:38
                    [post_date_gmt] => 2017-09-01 19:35:38
                    [post_content] => We are pleased to announce a new publication from FLAG,

<strong>Farmers’ Guide to the Minnesota Cottage Food Law</strong>

This user-friendly guide explains how the Minnesota Cottage Food Law affects farmers and others that sell food. This work was made possible with the generous support of Minnesota State Supreme Court, Legal Services Advisory Committee.

<strong>Available for download here:</strong>

<a href="http://www.flaginc.org/wp-content/uploads/2017/09/Farmers’-Guide-to-the-Minnesota-Cottage-Food-Law-2017.pdf" target="_blank" rel="noopener">Farmers’ Guide to the Minnesota Cottage Food Law 2017.pdf</a>
                    [post_title] => Farmers’ Guide to the Minnesota Cottage Food Law 2017
                    [post_excerpt] => 
                    [post_status] => publish
                    [comment_status] => closed
                    [ping_status] => closed
                    [post_password] => 
                    [post_name] => farmers-guide-minnesota-cottage-food-law-2017
                    [to_ping] => 
                    [pinged] => 
                    [post_modified] => 2019-03-06 15:19:30
                    [post_modified_gmt] => 2019-03-06 21:19:30
                    [post_content_filtered] => 
                    [post_parent] => 0
                    [guid] => http://www.flaginc.org/?post_type=publication&#038;p=2844
                    [menu_order] => 0
                    [post_type] => publication
                    [post_mime_type] => 
                    [comment_count] => 0
                    [filter] => raw
                )

        )

    [post_count] => 1
    [current_post] => -1
    [before_loop] => 
    [in_the_loop] => 
    [post] => WP_Post Object
        (
            [ID] => 2844
            [post_author] => 7
            [post_date] => 2017-09-01 14:35:38
            [post_date_gmt] => 2017-09-01 19:35:38
            [post_content] => We are pleased to announce a new publication from FLAG,

<strong>Farmers’ Guide to the Minnesota Cottage Food Law</strong>

This user-friendly guide explains how the Minnesota Cottage Food Law affects farmers and others that sell food. This work was made possible with the generous support of Minnesota State Supreme Court, Legal Services Advisory Committee.

<strong>Available for download here:</strong>

<a href="http://www.flaginc.org/wp-content/uploads/2017/09/Farmers’-Guide-to-the-Minnesota-Cottage-Food-Law-2017.pdf" target="_blank" rel="noopener">Farmers’ Guide to the Minnesota Cottage Food Law 2017.pdf</a>
            [post_title] => Farmers’ Guide to the Minnesota Cottage Food Law 2017
            [post_excerpt] => 
            [post_status] => publish
            [comment_status] => closed
            [ping_status] => closed
            [post_password] => 
            [post_name] => farmers-guide-minnesota-cottage-food-law-2017
            [to_ping] => 
            [pinged] => 
            [post_modified] => 2019-03-06 15:19:30
            [post_modified_gmt] => 2019-03-06 21:19:30
            [post_content_filtered] => 
            [post_parent] => 0
            [guid] => http://www.flaginc.org/?post_type=publication&#038;p=2844
            [menu_order] => 0
            [post_type] => publication
            [post_mime_type] => 
            [comment_count] => 0
            [filter] => raw
        )

    [comment_count] => 0
    [current_comment] => -1
    [found_posts] => 1
    [max_num_pages] => 1
    [max_num_comment_pages] => 0
    [is_single] => 
    [is_preview] => 
    [is_page] => 
    [is_archive] => 1
    [is_date] => 
    [is_year] => 
    [is_month] => 
    [is_day] => 
    [is_time] => 
    [is_author] => 
    [is_category] => 
    [is_tag] => 
    [is_tax] => 1
    [is_search] => 
    [is_feed] => 
    [is_comment_feed] => 
    [is_trackback] => 
    [is_home] => 
    [is_privacy_policy] => 
    [is_404] => 
    [is_embed] => 
    [is_paged] => 
    [is_admin] => 
    [is_attachment] => 
    [is_singular] => 
    [is_robots] => 
    [is_favicon] => 
    [is_posts_page] => 
    [is_post_type_archive] => 
    [query_vars_hash:WP_Query:private] => e35bf9809780ada386bbc298814bc055
    [query_vars_changed:WP_Query:private] => 
    [thumbnails_cached] => 
    [allow_query_attachment_by_filename:protected] => 
    [stopwords:WP_Query:private] => 
    [compat_fields:WP_Query:private] => Array
        (
            [0] => query_vars_hash
            [1] => query_vars_changed
        )

    [compat_methods:WP_Query:private] => Array
        (
            [0] => init_query_flags
            [1] => parse_tax_query
        )

)

$_ENV

Array
(
    [PATH] => /sbin:/bin:/usr/sbin:/usr/bin
    [REDIRECT_STATUS] => 200
    [PHP_FCGI_MAX_REQUESTS] => 10100
    [PWD] => /web/cluster/common/cgi-bin
    [HTTP_CONNECTION] => close
    [SCRIPT_NAME] => /index.php
    [REQUEST_URI] => /?pubtype=book&topic=food-safety
    [QUERY_STRING] => pubtype=book&topic=food-safety
    [REQUEST_METHOD] => GET
    [SERVER_PROTOCOL] => HTTP/1.1
    [GATEWAY_INTERFACE] => CGI/1.1
    [REMOTE_PORT] => 37668
    [SCRIPT_FILENAME] => /web/virtual/004/flaginc.org/htdocs/index.php
    [SERVER_ADMIN] => webmaster@flaginc.org
    [CONTEXT_DOCUMENT_ROOT] => /web/virtual/004/flaginc.org/htdocs
    [CONTEXT_PREFIX] => 
    [REQUEST_SCHEME] => http
    [DOCUMENT_ROOT] => /web/virtual/004/flaginc.org/htdocs
    [REMOTE_ADDR] => 18.190.24.245
    [REMOTE_HOST] => ec2-18-190-24-245.us-east-2.compute.amazonaws.com
    [SERVER_PORT] => 80
    [SERVER_ADDR] => 2602:ff3a:7::62
    [SERVER_NAME] => www.flaginc.org
    [SERVER_SOFTWARE] => Apache
    [SERVER_SIGNATURE] => 
    [LD_LIBRARY_PATH] => /usr/local/lib:/usr/local/lib
    [HTTP_X_FORWARDED_FOR] => 18.190.24.245
    [HTTP_ACCEPT_ENCODING] => gzip, deflate
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
    [HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
    [HTTP_UPGRADE_INSECURE_REQUESTS] => 1
    [HTTP_CACHE_CONTROL] => no-cache
    [HTTP_PRAGMA] => no-cache
    [HTTP_HOST] => www.flaginc.org
    [db_quota] => 1000
    [db_user] => flaginc_org_5s5m
    [db_host] => 10.10.94.182
    [database] => flaginc_org_5s5m
    [HTTP_AUTHORIZATION] => 
    [UNIQUE_ID] => Z-5Fu_tgNHCUEQpC12i0iAAAAAw
    [FCGI_ROLE] => RESPONDER
)