/* Allow Media File Size on Upload */ @ini_set( 'upload_max_size' , '180M' ); @ini_set( 'post_max_size', '180M'); @ini_set( 'max_execution_time', '400' ); /* Allow Post Thumbnails */ add_theme_support('post-thumbnails'); /* Allow SVG Uploading */ function bheku_alow_mime_types($mimes) { $mimes['svg'] = 'image/svg+xml'; return $mimes; }; add_filter('upload_mimes', 'bheku_alow_mime_types'); /* * Image Handling * ! */ function bheku_add_image_sizes() { add_image_size( 'xs', 150, 9999 ); add_image_size( 'xl', 1280, 9999 ); add_image_size( 'xxl', 1440, 9999 ); }; add_action( 'after_setup_theme', 'bheku_add_image_sizes' ); function bheku_add_image_size_names( $sizes ) { return array_merge( $sizes, array( 'xs' => __( 'Extra Small' ), 'xl' => __( 'Extra Large' ), 'xxl' => __( 'Large Format' ), ) ); }; add_filter( 'image_size_names_choose', 'bheku_add_image_size_names' ); function bheku_add_responsive_image_sizes($sizes, $size) { $width = $size[0]; // default to return if condition is not met return '(max-width: ' . $width . 'px) 100vw, ' . $width . 'px'; }; add_filter('wp_calculate_image_sizes', 'bheku_add_responsive_image_sizes', 10 , 2); function bheku_declare_responsive_image_sizes($attr, $attachment, $size) { return $attr; }; add_filter('wp_get_attachment_image_attributes', 'bheku_declare_responsive_image_sizes', 10 , 3);
WP_Query Object
(
[query] => Array
(
[paged] => 5
[post_type] => resource
)
[query_vars] => Array
(
[paged] => 5
[post_type] => resource
[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] =>
[meta_key] =>
[meta_value] =>
[preview] =>
[s] =>
[sentence] =>
[title] =>
[fields] => all
[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
(
)
[orderby] => name
[order] => ASC
[meta_query] => Array
(
[relation] => OR
)
[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
[posts_per_page] => 12
[nopaging] =>
[comments_per_page] => 50
[no_found_rows] =>
)
[tax_query] => WP_Tax_Query Object
(
[queries] => Array
(
)
[relation] => AND
[table_aliases:protected] => Array
(
)
[queried_terms] => Array
(
)
[primary_table] => bheku_dahdaleh_institute_posts
[primary_id_column] => ID
)
[meta_query] => WP_Meta_Query Object
(
[queries] => Array
(
)
[relation] => OR
[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_Post_Type Object
(
[name] => resource
[label] => Resources
[labels] => stdClass Object
(
[name] => Resources
[singular_name] => Resource
[add_new] => Add an Entry
[add_new_item] => New Resource Entry
[edit_item] => Edit Entry
[new_item] => New Post
[view_item] => View Post
[view_items] => View Posts
[search_items] => Search Posts
[not_found] => No posts found.
[not_found_in_trash] => No posts found in Trash.
[parent_item_colon] =>
[all_items] => Resources
[archives] => Resources
[attributes] => Post Attributes
[insert_into_item] => Insert into post
[uploaded_to_this_item] => Uploaded to this post
[featured_image] => Resource Thumbnail
[set_featured_image] => Set Resource Thumbnail
[remove_featured_image] => Remove Resource Thumbnail
[use_featured_image] => Use as Resource Thumbnail
[filter_items_list] => Filter posts list
[filter_by_date] => Filter by date
[items_list_navigation] => Posts list navigation
[items_list] => Posts list
[item_published] => Post published.
[item_published_privately] => Post published privately.
[item_reverted_to_draft] => Post reverted to draft.
[item_trashed] => Post trashed.
[item_scheduled] => Post scheduled.
[item_updated] => Post updated.
[item_link] => Post link
[item_link_description] => A link to a post.
[menu_name] => Resources
[name_admin_bar] => Resource
[template_name] => Single item: Resource
)
[description] =>
[public] => 1
[hierarchical] =>
[exclude_from_search] =>
[publicly_queryable] => 1
[embeddable] => 1
[show_ui] => 1
[show_in_menu] => 1
[show_in_nav_menus] => 1
[show_in_admin_bar] => 1
[menu_position] => 5
[menu_icon] => dashicons-arrow-right-alt
[capability_type] => post
[map_meta_cap] => 1
[register_meta_box_cb] =>
[taxonomies] => Array
(
)
[has_archive] => 1
[query_var] => resource
[can_export] => 1
[delete_with_user] =>
[template] => Array
(
)
[template_lock] =>
[_builtin] =>
[_edit_link] => post.php?post=%d
[cap] => stdClass Object
(
[edit_post] => edit_post
[read_post] => read_post
[delete_post] => delete_post
[edit_posts] => edit_posts
[edit_others_posts] => edit_others_posts
[delete_posts] => delete_posts
[publish_posts] => publish_posts
[read_private_posts] => read_private_posts
[read] => read
[delete_private_posts] => delete_private_posts
[delete_published_posts] => delete_published_posts
[delete_others_posts] => delete_others_posts
[edit_private_posts] => edit_private_posts
[edit_published_posts] => edit_published_posts
[create_posts] => edit_posts
)
[rewrite] => Array
(
[slug] => resources
[with_front] =>
[pages] => 1
[feeds] => 1
[ep_mask] => 1
)
[show_in_rest] => 1
[rest_base] =>
[rest_namespace] => wp/v2
[rest_controller_class] =>
[rest_controller] =>
[revisions_rest_controller_class] =>
[revisions_rest_controller] =>
[autosave_rest_controller_class] =>
[autosave_rest_controller] =>
[late_route_registration] =>
)
[queried_object_id] =>
[request] => SELECT SQL_CALC_FOUND_ROWS bheku_dahdaleh_institute_posts.ID
FROM bheku_dahdaleh_institute_posts
WHERE 1=1 AND ((bheku_dahdaleh_institute_posts.post_type = 'resource' AND (bheku_dahdaleh_institute_posts.post_status = 'publish' OR bheku_dahdaleh_institute_posts.post_status = 'acf-disabled')))
ORDER BY bheku_dahdaleh_institute_posts.post_name ASC
LIMIT 48, 12
[posts] => Array
(
[0] => WP_Post Object
(
[ID] => 2204
[post_author] => 1
[post_date] => 2020-07-16 15:26:23
[post_date_gmt] => 2020-07-16 19:26:23
[post_content] => Information from the Government of Manitoba.
[post_title] => Government of Manitoba: COVID-19 Information
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => government-of-manitoba-covid-19-information
[to_ping] =>
[pinged] =>
[post_modified] => 2020-07-20 13:10:21
[post_modified_gmt] => 2020-07-20 17:10:21
[post_content_filtered] =>
[post_parent] => 0
[guid] => https://covid19.dighr.org/?post_type=resource&p=2204
[menu_order] => 0
[post_type] => resource
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
[1] => WP_Post Object
(
[ID] => 2205
[post_author] => 1
[post_date] => 2020-07-16 15:27:32
[post_date_gmt] => 2020-07-16 19:27:32
[post_content] => Information from the Government of New Brunswick.
[post_title] => Government of New Brunswick: COVID-19 Information
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => government-of-new-brunswick-covid-19-information
[to_ping] =>
[pinged] =>
[post_modified] => 2020-07-20 13:08:47
[post_modified_gmt] => 2020-07-20 17:08:47
[post_content_filtered] =>
[post_parent] => 0
[guid] => https://covid19.dighr.org/?post_type=resource&p=2205
[menu_order] => 0
[post_type] => resource
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
[2] => WP_Post Object
(
[ID] => 2207
[post_author] => 1
[post_date] => 2020-07-16 15:30:18
[post_date_gmt] => 2020-07-16 19:30:18
[post_content] => Information from the Government of Nova Scotia.
[post_title] => Government of Nova Scotia: COVID-19 Information
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => government-of-nova-scotia-covid-19-information
[to_ping] =>
[pinged] =>
[post_modified] => 2020-07-25 20:17:45
[post_modified_gmt] => 2020-07-26 00:17:45
[post_content_filtered] =>
[post_parent] => 0
[guid] => https://covid19.dighr.org/?post_type=resource&p=2207
[menu_order] => 0
[post_type] => resource
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
[3] => WP_Post Object
(
[ID] => 2208
[post_author] => 1
[post_date] => 2020-07-16 15:31:35
[post_date_gmt] => 2020-07-16 19:31:35
[post_content] => Information from the Government of Nunavut.
[post_title] => Government of Nunavut: COVID-19 Information
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => government-of-nunavut-covid-19-information
[to_ping] =>
[pinged] =>
[post_modified] => 2020-07-25 20:17:37
[post_modified_gmt] => 2020-07-26 00:17:37
[post_content_filtered] =>
[post_parent] => 0
[guid] => https://covid19.dighr.org/?post_type=resource&p=2208
[menu_order] => 0
[post_type] => resource
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
[4] => WP_Post Object
(
[ID] => 2210
[post_author] => 1
[post_date] => 2020-07-16 15:34:05
[post_date_gmt] => 2020-07-16 19:34:05
[post_content] => Information from the Government of Québec for professionals whose work relates to COVID-19.
[post_title] => Government of Québec: COVID-19 pour les professionnels
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => government-of-quebec-covid-19-pour-les-professionnels
[to_ping] =>
[pinged] =>
[post_modified] => 2020-07-20 13:32:15
[post_modified_gmt] => 2020-07-20 17:32:15
[post_content_filtered] =>
[post_parent] => 0
[guid] => https://covid19.dighr.org/?post_type=resource&p=2210
[menu_order] => 0
[post_type] => resource
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
[5] => WP_Post Object
(
[ID] => 2212
[post_author] => 1
[post_date] => 2020-07-16 15:36:54
[post_date_gmt] => 2020-07-16 19:36:54
[post_content] => Information from the Government of Saskatchewan.
[post_title] => Government of Saskatchewan: COVID-19 Information
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => government-of-saskatchewan-covid-19-information
[to_ping] =>
[pinged] =>
[post_modified] => 2020-07-20 13:05:14
[post_modified_gmt] => 2020-07-20 17:05:14
[post_content_filtered] =>
[post_parent] => 0
[guid] => https://covid19.dighr.org/?post_type=resource&p=2212
[menu_order] => 0
[post_type] => resource
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
[6] => WP_Post Object
(
[ID] => 2206
[post_author] => 1
[post_date] => 2020-07-16 15:29:01
[post_date_gmt] => 2020-07-16 19:29:01
[post_content] => Information from the Government of the Northwest Territories.
[post_title] => Government of the Northwest Territories: COVID-19 Information
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => government-of-the-northwest-territories-covid-19-information
[to_ping] =>
[pinged] =>
[post_modified] => 2020-07-20 13:08:03
[post_modified_gmt] => 2020-07-20 17:08:03
[post_content_filtered] =>
[post_parent] => 0
[guid] => https://covid19.dighr.org/?post_type=resource&p=2206
[menu_order] => 0
[post_type] => resource
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
[7] => WP_Post Object
(
[ID] => 2213
[post_author] => 1
[post_date] => 2020-07-16 15:37:59
[post_date_gmt] => 2020-07-16 19:37:59
[post_content] => Information from the Government of Yukon.
[post_title] => Government of Yukon: COVID-19 Information
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => government-of-yukon-covid-19-information
[to_ping] =>
[pinged] =>
[post_modified] => 2020-07-20 13:03:13
[post_modified_gmt] => 2020-07-20 17:03:13
[post_content_filtered] =>
[post_parent] => 0
[guid] => https://covid19.dighr.org/?post_type=resource&p=2213
[menu_order] => 0
[post_type] => resource
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
[8] => WP_Post Object
(
[ID] => 2194
[post_author] => 1
[post_date] => 2020-07-16 15:09:12
[post_date_gmt] => 2020-07-16 19:09:12
[post_content] => Updated public resources by the Canadian Ministry of Health.
[post_title] => Health Canada: COVID-19 Information
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => health-canada-covid-19-information
[to_ping] =>
[pinged] =>
[post_modified] => 2020-07-20 13:16:34
[post_modified_gmt] => 2020-07-20 17:16:34
[post_content_filtered] =>
[post_parent] => 0
[guid] => https://covid19.dighr.org/?post_type=resource&p=2194
[menu_order] => 0
[post_type] => resource
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
[9] => WP_Post Object
(
[ID] => 2203
[post_author] => 1
[post_date] => 2020-07-16 15:24:44
[post_date_gmt] => 2020-07-16 19:24:44
[post_content] => Information from HealthLinkBC.
[post_title] => HealthLinkBC: COVID-19 Information
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => healthlinkbc-covid-19-information
[to_ping] =>
[pinged] =>
[post_modified] => 2020-07-20 13:15:18
[post_modified_gmt] => 2020-07-20 17:15:18
[post_content_filtered] =>
[post_parent] => 0
[guid] => https://covid19.dighr.org/?post_type=resource&p=2203
[menu_order] => 0
[post_type] => resource
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
[10] => WP_Post Object
(
[ID] => 2229
[post_author] => 1
[post_date] => 2020-07-17 10:45:21
[post_date_gmt] => 2020-07-17 14:45:21
[post_content] => Information from the Government of Ontario. Learn about coronavirus (COVID-19) cases in Ontario and how the province is keeping people safe.
[post_title] => How Ontario is responding to COVID-19
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => how-ontario-is-responding-to-covid-19
[to_ping] =>
[pinged] =>
[post_modified] => 2020-07-20 12:56:18
[post_modified_gmt] => 2020-07-20 16:56:18
[post_content_filtered] =>
[post_parent] => 0
[guid] => https://covid19.dighr.org/?post_type=resource&p=2229
[menu_order] => 0
[post_type] => resource
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
[11] => WP_Post Object
(
[ID] => 2153
[post_author] => 1
[post_date] => 2020-07-16 14:31:44
[post_date_gmt] => 2020-07-16 18:31:44
[post_content] => Use of cloth face coverings to help slow the spread of COVID-19.
[post_title] => How to Wear a Cloth Face Covering & Homemade Cloth Face Coverings
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => how-to-wear-a-cloth-face-covering-homemade-cloth-face-coverings
[to_ping] =>
[pinged] =>
[post_modified] => 2020-07-16 14:32:03
[post_modified_gmt] => 2020-07-16 18:32:03
[post_content_filtered] =>
[post_parent] => 0
[guid] => https://covid19.dighr.org/?post_type=resource&p=2153
[menu_order] => 0
[post_type] => resource
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
)
[post_count] => 12
[current_post] => -1
[before_loop] =>
[in_the_loop] =>
[post] => WP_Post Object
(
[ID] => 2204
[post_author] => 1
[post_date] => 2020-07-16 15:26:23
[post_date_gmt] => 2020-07-16 19:26:23
[post_content] => Information from the Government of Manitoba.
[post_title] => Government of Manitoba: COVID-19 Information
[post_excerpt] =>
[post_status] => publish
[comment_status] => closed
[ping_status] => closed
[post_password] =>
[post_name] => government-of-manitoba-covid-19-information
[to_ping] =>
[pinged] =>
[post_modified] => 2020-07-20 13:10:21
[post_modified_gmt] => 2020-07-20 17:10:21
[post_content_filtered] =>
[post_parent] => 0
[guid] => https://covid19.dighr.org/?post_type=resource&p=2204
[menu_order] => 0
[post_type] => resource
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
[comment_count] => 0
[current_comment] => -1
[found_posts] => 76
[max_num_pages] => 7
[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] =>
[is_search] =>
[is_feed] =>
[is_comment_feed] =>
[is_trackback] =>
[is_home] =>
[is_privacy_policy] =>
[is_404] =>
[is_embed] =>
[is_paged] => 1
[is_admin] =>
[is_attachment] =>
[is_singular] =>
[is_robots] =>
[is_favicon] =>
[is_posts_page] =>
[is_post_type_archive] => 1
[query_vars_hash:WP_Query:private] => 4b0234fafb61b36416f5f3b07a31c2c1
[query_vars_changed:WP_Query:private] => 1
[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
)
[query_cache_key:WP_Query:private] => wp_query:8b6da60390a04623e543d9f00d135ddb
)