function __construct() { $widget_ops = array('description' => __('Displays Featured image in place of title in any RSS or Atom feed.')); $control_ops = array('width' => 400, 'height' => 200); parent::__construct('genesis-club-feed', __('Genesis Club Feed'), $widget_ops, $control_ops); }
function wpmp_theme_widget_rss($args, $widget_args = 1) { ob_start(); if (function_exists('wp_widget_rss')) { wp_widget_rss($args, $widget_args); } else { $widget = new WP_Widget_RSS(); $widget->display_callback($args, $widget_args); } $html = ob_get_contents(); ob_end_clean(); print preg_replace("/\\<img.*\\>/Usi", "", $html); }
function __construct() { $widget_ops = array('description' => __('Displays Featured image in place of title in any RSS or Atom feed.')); $control_ops = array('width' => 400, 'height' => 200); parent::__construct('footer-putter-feed', __('Footer Putter Feed'), $widget_ops, $control_ops); }