__( '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); Despite highest case numbers in Africa, South Africa praised for proactive response at Dadhaleh Institute
State of the Pandemic, South Africa
development

Period. 13 – 19 April 2020

Despite reporting the highest number of cases on the continent, South Africa (2,506) has been praised for its proactive response. After a drastic drop in the rate of new daily reported cases from 42% (150-200 new cases per day) three weeks ago to an estimated 4% (20-80 new cases per day) following the government’s early and strong control and testing, the last four days have seen a slight uptick in case reports (90-140 new cases per day). The South African government, meanwhile, has proposed a comprehensive action plan to assist African countries with COVID-19 response.


This development is part of the digest;

'OR' ]; foreach ( $bheku_post_types_formatted_taxonomies as $tax ) { if ( $tax == 'topic' || $tax == 'organisation' ) continue; if ( '' !== bheku_entry_terms(get_the_ID(), $tax, false, 'list') ) { $tax_group[] = [ 'taxonomy' => $tax, 'field' => 'name', 'terms' => explode( ',', bheku_entry_terms(get_the_ID(), $tax, false, 'list') ), 'compare' => 'LIKE', ]; } } if ( $tax_group == [ 'relation' => 'OR' ] ) $tax_group = []; $tax_query = new WP_Tax_Query( $tax_group ); // echo '
';
            // print_r($tax_group);
            // echo '
'; $meta_group = [ 'relation' => 'OR' ]; foreach ( $bheku_post_types_formatted_taxonomies as $tax ) { if ( ( $tax == 'topic' || $tax == 'organisation' ) && bheku_entry_terms(get_the_ID(), $tax, false, 'list') !== '' ) { $terms = explode( ',', bheku_entry_terms(get_the_ID(), $tax, false, 'id') ); foreach ($terms as $key => $term) { $meta_group[] = [ 'key' => $tax.'_id', 'value' => $term, 'compare' => 'LIKE', ]; } } } if ( $meta_group == [ 'relation' => 'OR' ] ) $meta_group = []; $meta_query = new WP_Meta_Query( $meta_group ); // echo '
';
            // print_r($meta_query);
            // echo '
'; $arg_similar_posts = array( 'numberposts' => -1, 'post_type' => get_post_type(), 'fields' => 'ids', 'exclude' => get_the_ID(), 'order_by' => 'post_date', 'order' => 'asc', 'meta_query' => $meta_group, 'tax_query' => $tax_group, ); $similar_posts = get_posts( $arg_similar_posts ); // echo '
';
            // print_r($arg_development);
            // print_r($similar_posts);
            // echo '
'; ?>