in:
/wp-content/themes/mh-magazine/functions.php
I added:
add_action( 'wp_enqueue_scripts', 'tifd_remove_default_stylesheet',999 );
function tifd_remove_default_stylesheet() {
wp_dequeue_style('feedzy-rss-feeds');
}
function tifd_feedzy_thumb_aspect_ratio( $sizes, $feedURL ) {
$sizes = array(
'width' => $sizes['200'] * (16/9),
'height' => $sizes['50']
);
return $sizes;
}
add_filter( 'feedzy_thumb_sizes', 'tifd_feedzy_thumb_aspect_ratio', 10, 2 );
function bweb_feedzy_add_nofollow_matches( $matches ) {
return '<a href="' . $matches[1] . '" rel="nofollow">' . $matches[2] . '</a>';
}
function bweb_feedzy_add_nofollow( $content, $feedURL ) {
$pattern= '/<a.*href=\"(https?:\/\/.*)\".*>(.*)<\/a>/iU';
$content= preg_replace_callback( $pattern, 'bweb_feedzy_add_nofollow_matches', $content );
return $content;
}
add_filter( 'feedzy_global_output', 'bweb_feedzy_add_nofollow', 9, 2 );