/* 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);
Encouraging Results from Moderna Stage 3 Clinical Trials at Dadhaleh Institute
if ( get_post_type() == 'digest' ) $is_digest = true;
if ( get_post_type() == 'development' ) $is_development = true;
if ( get_post_type() == 'resource' ) $is_resource = true;
if ( get_post_type() == 'topic' ) $is_topic = true;
?>
Dahdaleh Institute
COVID -19 Information Portal
development
The researchers behind Moderna’s COVID-19 vaccine candidate (MRNA1273) published a new paper in the New England Journal of Medicine with preliminary results from its Stage 3 Human Trials. Based on 40 participants over the age of 56 that were recruited for the study, the authors conclude that the at-risk cohort has reacted very well to the vaccine candidate when given two doses of the vaccine four weeks apart. After the second immunization, the researchers noted that neutralizing antibody responses were recorded in all participants using several different methods, while binding and antibody responses were similar to those reported in those aged between 18 and 55 years old. Side effects were also reported to be “mild or moderate” in severity with common symptoms including fatigue, chills, headache, myalgia and injection site pain.
global $bheku_post_types_formatted_taxonomies;
$tax_group = [ 'relation' => '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 ' ';
?>
© 2026 - Dahdaleh Institute: Covid-19 Portal